MSFN Forum: AutoIt script going nuts - MSFN Forum

Jump to content



Unattended CD/DVD Guide Homepage · MSFN Forum Rules

Welcome to the Applications Installs forum. Make sure you read the forum rules before you start posting.

Links/Requests to warez and/or any illegal material (porn, cracks, serials, etc..) will not be tolerated. Discussion of circumventing WGA/activation/timebombs/keygens or any other illegal activity will also not be tolerated.

We try our best to keep this forum clean of illegal content. If you see any illegal activity use the "report" button you find in every post to report the specific post to the moderators. If you ignore any of the rules you will be banned without notice.

Read Forum Rules
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

AutoIt script going nuts Is going into a loop Rate Topic: -----

#1 User is offline   DaRKNeSS666NL 

  • Junior
  • Pip
  • Group: Members
  • Posts: 64
  • Joined: 20-April 04

Posted 03 May 2005 - 08:35 AM

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


#2 User is offline   MHz 

  • SendToA3X v1.7
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,634
  • Joined: 02-August 04

Posted 03 May 2005 - 10:45 AM

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.

#3 User is offline   DaRKNeSS666NL 

  • Junior
  • Pip
  • Group: Members
  • Posts: 64
  • Joined: 20-April 04

Posted 03 May 2005 - 12:35 PM

Thanks I gues this is indeed my problem. Stupid me I could have figered it out my self. Going to try that.

D@RKNeSS

#4 User is offline   DaRKNeSS666NL 

  • Junior
  • Pip
  • Group: Members
  • Posts: 64
  • Joined: 20-April 04

Posted 03 May 2005 - 02:44 PM

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 once
REG ADD %KEY%\999 /V 3 /D "%systemdrive%\Program Files\Alcohol Soft\Alcohol 120\_setup.exe" /f

But I am getting the error mesage

Cant find C:\Program ??????

Is something wrong with my code???

D@RKNeSS

#5 User is offline   DaRKNeSS666NL 

  • Junior
  • Pip
  • Group: Members
  • Posts: 64
  • Joined: 20-April 04

Posted 03 May 2005 - 03:19 PM

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\" /f


D@RKNeSS

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy