MrMCox Posted July 7, 2010 Posted July 7, 2010 Hi All, I am trying to script the running of an msi file. I have done it many times with exe but I am getting stuck on loads of errors when trying the suggested ways of running an MSI file. Please can someone post an example of a msi file being run with runas command from a nework share eg. \\servername\folder\file.msi thanks
LarryDalooza Posted July 7, 2010 Posted July 7, 2010 (edited) msiexec /i "\\server\share\path to\product.msi" don't forget silent options if needed... /qn or /qb! msiexec /i "\\server\share\path to\product.msi" /qn Lar. oopes... forgot RunAs stuff. but, just drive by posting... someone will catch me. Edited July 7, 2010 by LarryDalooza AutoIt has helped make me wealthy
sleepydvdr Posted July 7, 2010 Posted July 7, 2010 (edited) RunAs ("administrator", "WORKGROUP", "password", 2, "msiexec /i \\server\sharefolder\myprogram.msi /qb") Edited July 7, 2010 by sleepydvdr #include <ByteMe.au3>
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