kulisncc
asked on
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
Which of the 2 msiexec commands is stalling?
ASKER
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
msiexec.exe /x "\\mylocation\old.msi" /qn
ive tried
start /wait msiexec.exe /x "\\mylocation\old.msi" /qn
and it still does nothing
ASKER
it works great if i run it manually but Desktop Authority does not like it
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?
ASKER
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.
ASKER
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!!
ASKER
okay so apparently no one can help me on here
ASKER
i figured it out
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Glad you got it working :)
ASKER
Yeah, the problem seems to be from how the msi package was constructed and not from DA.
ASKER
msiexec was not being processed for syntax reasons