Dumraden Posted January 16, 2008 Share Posted January 16, 2008 Greetings!I am having this problem with AutoIT3. I am trying to create a auto installation feature on some programs i install on computers i sell, so that i dont have to be all the time in front of it simpy to press the enter kay. Anyways, here is the problem.I saw a guide on how to make installations of programs slipstreamed into window's CD, and the dude on the vid showed how to make an addon of Foobar. The thing is that i follow his exact instructions, the script runs fine with no problems whatsoever, but when i compile it, it makes an .exe file about 1/4 of the original .exe and whenever i run it i get about 50 processes under the name of the .exe "in my case its winrar330.exe". This is the code from AutoIT3:; This will install Winrar 3.30 Corporate EditionRun ( "Winrar330.exe" ); WelcomeWInWaitActive ( "WinRAR 3.30 Corporate Edition" )Send ( "{enter}" ); Selection of Files to associateWinWaitActive ( "WinRAR Setup" )ControlClick ( "WinRAR Setup" , "" , "Button1" ); Instalaltion CompleteWinWaitActive ( "WinRAR Setup" )ControlClick ( "WinRAR Setup" , "" , "Button1" ); Close Window with shortcutsWinWaitActive ( "WinRAR" )Send ( "!{F4}" )I have absolutely no idea whats going wrong with the script since i am really new to this kind of stuff, so i was hoping you guru's would lighten me up Thanks in advance,Andrew Ferguson Link to comment Share on other sites More sharing options...
BigDod Posted January 16, 2008 Share Posted January 16, 2008 Greetings!I am having this problem with AutoIT3. I am trying to create a auto installation feature on some programs i install on computers i sell, so that i dont have to be all the time in front of it simpy to press the enter kay. Anyways, here is the problem.I saw a guide on how to make installations of programs slipstreamed into window's CD, and the dude on the vid showed how to make an addon of Foobar. The thing is that i follow his exact instructions, the script runs fine with no problems whatsoever, but when i compile it, it makes an .exe file about 1/4 of the original .exe and whenever i run it i get about 50 processes under the name of the .exe "in my case its winrar330.exe". This is the code from AutoIT3:I have absolutely no idea whats going wrong with the script since i am really new to this kind of stuff, so i was hoping you guru's would lighten me up Thanks in advance,Andrew FergusonYou didnt by any chance call the compiled script winrar330.exe ? Time you enjoyed wasting is not wasted time ......T.S. Elliot Suspense is worse than disappointment................Robert Burns God help the man who won't help himself, because no-one else will...........My Grandmother Link to comment Share on other sites More sharing options...
Dumraden Posted January 16, 2008 Author Share Posted January 16, 2008 Whenever i press Compile Script, it automatically "merges" -i supose- the original exe with the one containing the script. What it gives me is a 260KB exe instead of a 1300KB exe(the original one). OK i renamed the compiled .exe and copied the original one into the folder and it works ok. I hope it will work now THanks for all your help! Link to comment Share on other sites More sharing options...
blademonkey Posted January 16, 2008 Share Posted January 16, 2008 I usually prefer to use the builtin silent install mechanism before i resort to macroshttp://www.win-rar.com/index.php?id=24&...b_article_id=45 ---"Educate the Mind, Make Savage the Body" -Mao Tse Tung 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