Guest KronicDreamz Posted June 28, 2004 Share Posted June 28, 2004 I've been trying a lot of different options to see if I can get AutoIt to launch a MSI install file. RunWait("C:\Test.msi") It returns the following message: "Unable to execute the external program" This is a valid file and can be launched by double clicking on it. Link to comment Share on other sites More sharing options...
Holger Posted June 28, 2004 Share Posted June 28, 2004 What if you use msiexec.exe with parameters:More information you can find f.i. here:http://support.microsoft.com/default.aspx?...kb;en-us;314881 Old project:GUI/Tray menu with icons and colors Other old stuff:IconFileScanner, TriState/ThreeState GUI TreeView, GUI ContextMenu created out of a TreeView Link to comment Share on other sites More sharing options...
Guest KronicDreamz Posted June 28, 2004 Share Posted June 28, 2004 Thanks for pointing me in the right direction, question now is, what are the correct parameters. I'm trying to install a MSI file that is located C:\Documents and Settings\Administrator... Maybe the spaces are throwing it off? RunWait("msiexec.exe /i C:\Documents and Settings\Administrator.....MSI") Link to comment Share on other sites More sharing options...
pekster Posted June 28, 2004 Share Posted June 28, 2004 Any path that has spaces must have double quotes around them to prevent extra paramaters from being added instead of your directory path. See FAQ #7 to understand more about this. Try RunWait('msiexec.exe /i "C:\Documents and Settings\Administrator.....MSI"') [font="Optima"]"Standing in the rain, twisted and insane, we are holding onto nothing.Feeling every breath, holding no regrets, we're still looking out for something."[/font]Note: my projects are off-line until I can spend more time to make them compatable with syntax changes. Link to comment Share on other sites More sharing options...
CyberSlug Posted June 28, 2004 Share Posted June 28, 2004 See FAQ #6 in the help file. Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig! Link to comment Share on other sites More sharing options...
Guest KronicDreamz Posted June 28, 2004 Share Posted June 28, 2004 Thank you all very much, got it working. 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