DaRKNeSS666NL Posted May 3, 2005 Share Posted May 3, 2005 Finaly I have made my first script. And if I dont compile it to an .exe it is working fine.But if I am compiling it to an .exe, to run silently from my UA dvd, it's going into a loop.My taskbalk is overrun with only auto it icon's and eveything is freezing.Can somebody help this AutoIt newbie to get his script running?Or is it a smart idee to install the whole program and than run only the script itself?But how to run the script itself, I mean what switches to use.D@RKNeSS Link to comment Share on other sites More sharing options...
MHz Posted May 3, 2005 Share Posted May 3, 2005 At a guess, with little info that you supplied.Perhaps when you compile your script, it has a name similar to the executable that you are launching ? It could be executing itself, over and over ?To prevent this, if I have an installer called "setup program.exe", I will call the compiled au3 "_setup program.exe". The underscore is unique, to the filename read. Using underscores, instead of spaces, can assist with spaces in filenames that maybe the root cause of this issue. Link to comment Share on other sites More sharing options...
DaRKNeSS666NL Posted May 3, 2005 Author Share Posted May 3, 2005 Thanks I gues this is indeed my problem. Stupid me I could have figered it out my self. Going to try that.D@RKNeSS Link to comment Share on other sites More sharing options...
DaRKNeSS666NL Posted May 3, 2005 Author Share Posted May 3, 2005 Okee that indeed fixed the main problem of the script going nuts.But now I have an problem installing the script. Iam using this code in run onceREG ADD %KEY%\999 /V 3 /D "%systemdrive%\Program Files\Alcohol Soft\Alcohol 120\_setup.exe" /fBut I am getting the error mesage Cant find C:\Program ??????Is something wrong with my code???D@RKNeSS Link to comment Share on other sites More sharing options...
DaRKNeSS666NL Posted May 3, 2005 Author Share Posted May 3, 2005 Found already my own solution the code needed an extra "so now its REG ADD %KEY%\999 /V 3 /D "\"%systemdrive%\Program Files\Alcohol Soft\Alcohol 120\_setup.exe\" /fD@RKNeSS 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