[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2505
  • Last Modified:

ScriptLogic Desktop Authority will not run MSI package from UNC

I am trying to get Desktop Authority to run a batch file that I created to uninstall an older application and then install a newer one using its .msi file. I do not have it hidden to run at logon so i can see what it is doing but every time it tries to run the msiexec command it stalls and exits. Here is the code:
REG QUERY HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\FFD0D1F8C889BA64A87750A079B96B05\InstallProperties /v DisplayVersion | Find "DisplayVersion      REG_SZ  7.5.087"

If %ErrorLevel%==0 goto Exist

If %ErrorLevel%==1 goto Not_Exist

:Exist

msiexec.exe /x "\\mylocation\old.msi" /qn
 
msiexec.exe /i "\\mylocation\Snew.msi" /qn /norestart


:Not_Exist

Exit

Open in new window

0
kulisncc
Asked:
kulisncc
  • 9
  • 3
1 Solution
 
Gerwin Jansen, EE MVETopic Advisor Commented:
Which of the 2 msiexec commands is stalling?
0
 
kulisnccAuthor Commented:
the first one

msiexec.exe /x "\\mylocation\old.msi" /qn

ive tried

start /wait msiexec.exe /x "\\mylocation\old.msi" /qn

and it still does nothing
0
 
kulisnccAuthor Commented:
it works great if i run it manually but Desktop Authority does not like it
0
NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

 
Gerwin Jansen, EE MVETopic Advisor Commented:
I'm afraid I don't understand. Desktop Authority is meant to manage your desktops, right? Is DA giving any errors in it's logging or in the Windows event log?
0
 
kulisnccAuthor Commented:
No, Desktop Authority is a product by a company called ScriptLogic. They create great products (supposedly) to help administrators leverage desktop environments like patch deployment, application deployments, drive mappings etc, kind of like a one stop console that works like SCCM combined with Group Policy management, remote management functionality and so on. I am trying to get my script to run using their Application Launcher with administrator rights but it is not working - it's very irritating.
0
 
kulisnccAuthor Commented:
oops, I think you did know what DA was, my bad, I misunderstood your question and presumed you misunderstood mine LOL. I have looked at the event viewer as well as sltrace.html and it says it ran successfully but it does NOT!!
0
 
kulisnccAuthor Commented:
okay so apparently no one can help me on here
0
 
kulisnccAuthor Commented:
i figured it out
0
 
kulisnccAuthor Commented:
i figured it out
0
 
Gerwin Jansen, EE MVETopic Advisor Commented:
Glad you got it working :)
0
 
kulisnccAuthor Commented:
Yeah, the problem seems to be from how the msi package was constructed and not from DA.
0
 
kulisnccAuthor Commented:
msiexec was not being processed for syntax reasons
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 9
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now