Adriano Posted October 22, 2008 Share Posted October 22, 2008 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 Link to comment Share on other sites More sharing options...
LarryDalooza Posted October 22, 2008 Share Posted October 22, 2008 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. AutoIt has helped make me wealthy Link to comment Share on other sites More sharing options...
PsaltyDS Posted October 22, 2008 Share Posted October 22, 2008 (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. ThanksAdd #RequireAdmin to your script and read the section of the help file titled "AutoIt on Windows Vista". Edited October 22, 2008 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 Link to comment Share on other sites More sharing options...
LarryDalooza Posted October 22, 2008 Share Posted October 22, 2008 Add #RequireAdmin to your script and read the section of the help file titled "AutoIt on Windows Vista". UAC is turned off.Vista without UAC is just a weird XP.Lar. AutoIt has helped make me wealthy 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