Hui Posted January 23, 2006 Posted January 23, 2006 I tried to install an application's patch using autoit script, I use the following Run command: Run ("\\teimage\apps\Engineering\Frick-CoolWare\CoolWare_v6_20_Patch_3.msp") then I get an error "Unable execute the external program". I check the Run command syntax, it seems only can run .exe, .com, .bat, .pif, so I was wondering if there is a way to run .msp file. If any one can help, I would greatly appreciated.
Stumpii Posted January 23, 2006 Posted January 23, 2006 You can use the ShellExecute function shown at the bottom of this link.i.e. like:_ShellExecuteDllCall("\\teimage\apps\Engineering\Frick-CoolWare\CoolWare_v6_20_Patch_3.msp") Give a man a script; you have helped him for today. Teach a man to script; and you will not have to hear him whine for help.AutoIt4UE - Custom AutoIt toolbar and wordfile for UltraEdit/UEStudio users.AutoIt Graphical Debugger - A graphical debugger for AutoIt.SimMetrics COM Wrapper - Calculate string similarity.
MHz Posted January 23, 2006 Posted January 23, 2006 Msiexec runs msp files: RunWait('msiexec /update \\teimage\apps\Engineering\Frick-CoolWare\CoolWare_v6_20_Patch_3.msp')
Hui Posted January 25, 2006 Author Posted January 25, 2006 Msiexec runs msp files: RunWait('msiexec /update \\teimage\apps\Engineering\Frick-CoolWare\CoolWare_v6_20_Patch_3.msp') Thank you very much MHZ, this method works.
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