Sign in to follow this  
Followers 0
evansullivan

Trying to run silent MSI

3 posts in this topic

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?

Share this post


Link to post
Share on other sites



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.

Share this post


Link to post
Share on other sites

Figured it out.  Needed #RequireAdmin

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0