stever3901 Posted November 13, 2006 Share Posted November 13, 2006 I am trying to convert a script that is automatically made by Autodesk's deployment wizard into an AutoIT script so I can take advantage of the cool features to run some other stuff after the install. When I use Run or RunWait it keeps poping up with a window showing the MSIEXEC command line options. set shell = CreateObject("WScript.Shell") shell.run "msiexec /qb- /x " + _ """{2F26D2C7-D7CA-4A50-B69B-2A0B858CCDC6}""" + " " + _ "/lie+! ""Autodesk Revit Structure 4 Network Deployment.log""",,true shell.run "msiexec /qb- /i " + _ """\\slicense\autodesk deployments\Revit 4\Autodesk Revit Structure 4 Network Deployment.msi""" + " " + _ "/lie+! ""Autodesk Revit Structure 4 Network Deployment.log""" Any suggestions? Thanks Steve Link to comment Share on other sites More sharing options...
MadBoy Posted November 13, 2006 Share Posted November 13, 2006 (edited) I am trying to convert a script that is automatically made by Autodesk's deployment wizard into an AutoIT script so I can take advantage of the cool features to run some other stuff after the install. When I use Run or RunWait it keeps poping up with a window showing the MSIEXEC command line options. set shell = CreateObject("WScript.Shell")shell.run "msiexec /qb- /x " + _"""{2F26D2C7-D7CA-4A50-B69B-2A0B858CCDC6}""" + " " + _"/lie+! ""Autodesk Revit Structure 4 Network Deployment.log""",,trueshell.run "msiexec /qb- /i " + _"""\\slicense\autodesk deployments\Revit 4\Autodesk Revit Structure 4 Network Deployment.msi""" + " " + _"/lie+! ""Autodesk Revit Structure 4 Network Deployment.log"""Any suggestions?ThanksSteveCheck commands Run, RunWait, ShellExecute,ShellExecuteWait etc RunWait("msiexec /qb- /x '{2F26D2C7-D7CA-4A50-B69B-2A0B858CCDC6}' etc...")RunWait("\\slicense\autodesk deployments\Revit 4\Autodesk Revit Structure 4 Network Deployment.msi /qb- /i")Something like that will do Edited November 13, 2006 by MadBoy My little company: Evotec (PL version: Evotec) Link to comment Share on other sites More sharing options...
ChrisL Posted November 13, 2006 Share Posted November 13, 2006 just a guess... Local $shell = ObjCreate("WScript.Shell") $shell.run "msiexec /qb- /x " & _ """{2F26D2C7-D7CA-4A50-B69B-2A0B858CCDC6}""" & " " & _ "/lie+! ""Autodesk Revit Structure 4 Network Deployment.log""",,true $shell.run "msiexec /qb- /i " & _ """\\slicense\autodesk deployments\Revit 4\Autodesk Revit Structure 4 Network Deployment.msi""" & " " & _ "/lie+! ""Autodesk Revit Structure 4 Network Deployment.log""" [u]Scripts[/u]Minimize gui to systray _ Fail safe source recoveryMsgbox UDF _ _procwatch() Stop your app from being closedLicensed/Trial software system _ Buffering Hotkeys_SQL.au3 ADODB.Connection _ Search 2d Arrays_SplashTextWithGraphicOn() _ Adjust Screen GammaTransparent Controls _ Eventlogs without the crap_GuiCtrlCreateFlash() _ Simple Interscript communication[u]Websites[/u]Curious Campers VW Hightops Lambert Plant Hire 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