Jump to content

Vista script compatibility


kiman
 Share

Recommended Posts

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

  • Developers

This was looked at and Jon added ShellExecute and ShellExecuteWait function for use with Vista. :lmao:

There is also a new section in the helpfile: AutoIt on Windows Vista

Edited 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

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

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...