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
msiexec.exe /x "\\mylocation\old.msi" /qn
msiexec.exe /i "\\mylocation\Snew.msi" /qn /norestart