wandelch302 Posted February 1, 2008 Posted February 1, 2008 Hi, so i am trying to make this simple program that runs silent installations of a few programs. I have a dialog box that has a series of check boxes where you can select which programs to install. I can get one to work(adobe flash) but acro reader will not work. When i check the acroreader checkbox and click my install button the command prompt opens but does not insert the command line to run the silent install. here is the code: If GUICtrlRead(10) = 1 Then ;prog7 RunWait("Silent Installs\Adobe Flash Player ActiveX 9\adobeFlashXbat.bat") EndIf now i assure you the batch file does work on its own i.e. when i double click the batch file it runs the silent install.
BillLuvsU Posted February 1, 2008 Posted February 1, 2008 I'm 90% sure that your path is wrong, shouldn't you specify a drive or somthing? [center][/center]Working on the next big thing.Currently Playing: Halo 4, League of LegendsXBL GT: iRememberYhslaw
herewasplato Posted February 1, 2008 Posted February 1, 2008 ...RunWait("Silent Installs\Adobe Flash Player ActiveX 9\adobeFlashXbat.bat")...Batch files require @ComSpec FileOpen("1\2\test.bat", 2) FileWrite("1\2\test.bat", "pause") FileClose("1\2\test.bat") RunWait(@ComSpec & " /c " & "1\2\test.bat")This worked for me. [size="1"][font="Arial"].[u].[/u][/font][/size]
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