Sign in to follow this  
Followers 0
Adriano

Compiled Script won't run in Vista

4 posts in this topic

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

Share this post


Link to post
Share on other sites



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

Share this post


Link to post
Share on other sites

#3 ·  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

Share this post


Link to post
Share on other sites

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

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  
Followers 0