evansullivan Posted August 15, 2016 Share Posted August 15, 2016 I am trying to install a program in my script. It's an MSI and when I run RunWait("MsiExec.exe /i ""<pathtomsi>""") It runs in the MSI like I opened the file. When I run RunWait("MsiExec.exe /i ""<pathtomsi>"" /qn") To run it silently, it does not run. Not sure what I am doing wrong? Link to comment Share on other sites More sharing options...
evansullivan Posted August 15, 2016 Author Share Posted August 15, 2016 I have also tried this: ShellExecuteWait('msiexec', '/i "\\techfs01\tt\software_source\Adobe\Shockwave\Shockwave.msi" /qn') ShellExecuteWait('msiexec', '/i "\\techfs01\tt\software_source\Adobe\Shockwave\Shockwave.msi" /qn') Again, running this does nothing. However if I remove the /qn it will run like I opened it normal. Link to comment Share on other sites More sharing options...
evansullivan Posted August 15, 2016 Author Share Posted August 15, 2016 Figured it out. Needed #RequireAdmin Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now