Jump to content
Sign in to follow this  
Dumraden

Problem with auto installation

Recommended Posts

Dumraden

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 Edition

Run ( "Winrar330.exe" )

; Welcome

WInWaitActive ( "WinRAR 3.30 Corporate Edition" )

Send ( "{enter}" )

; Selection of Files to associate

WinWaitActive ( "WinRAR Setup" )

ControlClick ( "WinRAR Setup" , "" , "Button1" )

; Instalaltion Complete

WinWaitActive ( "WinRAR Setup" )

ControlClick ( "WinRAR Setup" , "" , "Button1" )

; Close Window with shortcuts

WinWaitActive ( "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 :D

Thanks in advance,

Andrew Ferguson

Share this post


Link to post
Share on other sites
BigDod

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 :D

Thanks in advance,

Andrew Ferguson

You didnt by any chance call the compiled script winrar330.exe ?


Get Beta versions Here Get latest SciTE editor Here AutoIt 1-2-3 by Valuater - A great starting point.

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

Share this post


Link to post
Share on other sites
Dumraden

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 :D

THanks for all your help!

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.