kiman Posted October 13, 2006 Share Posted October 13, 2006 Hello, I have several installer programs and scripts that have worked under XP without any problems. I've been testing Windows Vista for awhile now, and have been in the process of trying to test for compatibility issues, and update our software. When I run the installers I've made on Vista, I get the following error: Line 0 (File "examplefilename...."): RunWait(Quote($TempInstall)) Error: Unable to execute the external program The requested operation requires elevation. I'm able to run the installer in safe mode without any errors, so I didn't know if this is due to the user account protection restricting access or what. When using $TempInstall, does it extract the contents of the executable to a set path, or to a temporary folder that varies depending on the system? Since the user accounts in Vista are now stored in the Users folder, instead of Documents and Settings, I didn't know if that would cause problems depending on how the $TempInstall would extract to the hard drive. I didn't know if anyone had any ideas to try, or if any Vista compatibility was in the works. I've compiled the scripts with version 3.2.1.7beta. I'm definately not an expert with autoit, so if anyone is able to help, I greatly appreciate it. Thanks! kiman Link to comment Share on other sites More sharing options...
this-is-me Posted October 13, 2006 Share Posted October 13, 2006 The requested operation requires elevation.There will be a new #directive in upcoming betas that will allow a script like yours to require admin access in Vista. This should help to eliminate issues of this kind. Who else would I be? Link to comment Share on other sites More sharing options...
Developers Jos Posted October 13, 2006 Developers Share Posted October 13, 2006 (edited) This was looked at and Jon added ShellExecute and ShellExecuteWait function for use with Vista. There is also a new section in the helpfile: AutoIt on Windows Vista Edited October 13, 2006 by JdeB SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Valik Posted October 13, 2006 Share Posted October 13, 2006 There will be a new #directive in upcoming betas that will allow a script like yours to require admin access in Vista. This should help to eliminate issues of this kind.Errr, it's already in there. The "#RequireAdmin" directive has been there for a few releases now. There's also a page on Vista compatibility somewhere. Searching the help file for "Vista" should give you information to help you. Link to comment Share on other sites More sharing options...
kiman Posted October 13, 2006 Author Share Posted October 13, 2006 Thanks, guys! 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