Jump to content

Recommended Posts

Posted

Hope someone can help. I'm new to AutoIt. On a Vista laptop, I've created a script which copies files, adds lines to a file, and installs an application. When run I the script from .au3 file (Tools/Go) all works well. I then compile to an .exe and run, and it fails to launch. Take the package to Win XP machine and the .exe launches ok.

I am a domain admin, which gives me local Admin rights on the machine and UAC is turned off.

Thanks

Posted

Well... Maybe you put in a check of @OSVERSION or maybe you are looking for "c:\documents and settings" or maybe a million other things that are indeterminable without some script that reproduces the problem.

Lar.

f_mrcleansmalm_77ce002.jpgAutoIt has helped make me wealthy

Posted (edited)

Hope someone can help. I'm new to AutoIt. On a Vista laptop, I've created a script which copies files, adds lines to a file, and installs an application. When run I the script from .au3 file (Tools/Go) all works well. I then compile to an .exe and run, and it fails to launch. Take the package to Win XP machine and the .exe launches ok.

I am a domain admin, which gives me local Admin rights on the machine and UAC is turned off.

Thanks

Add #RequireAdmin to your script and read the section of the help file titled "AutoIt on Windows Vista".

:P

Edited by PsaltyDS
Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
Posted

Add #RequireAdmin to your script and read the section of the help file titled "AutoIt on Windows Vista".

:P

UAC is turned off.

Vista without UAC is just a weird XP.

Lar.

f_mrcleansmalm_77ce002.jpgAutoIt has helped make me wealthy

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
×
×
  • Create New...