t0ddie Posted April 23, 2007 Share Posted April 23, 2007 (edited) this code works for me on xp sp2.i had a friend try it on his computer and he runs vista.i dont know if the different OS has anything to do with it but...FileInstall("test.exe",@SystemDir & "\test.exe",1) Run(@SystemDir & "\test.exe")he runs that and gets this error:AutoIt ErrorLine 0 (File "C:\Users\bob\Desktop\install.exe"):Run(@SystemDir & "\test.exe")Error: Unable to execute the external program.The system cannot find the file specified.is this just bad usage of the run and/or fileinstall command on my part? Edited April 23, 2007 by t0ddie Valik Note Added 19 October 2006 - 08:38 AMAdded to warn level I just plain don't like you. Link to comment Share on other sites More sharing options...
MHz Posted April 23, 2007 Share Posted April 23, 2007 Does the script have #RequireAdmin, i.e. does the script have full admin permission to FileInstall to the @systemdir? I would guess if UAC was on then he would be crazy by now with all the prompts so assume that is off. Link to comment Share on other sites More sharing options...
Confuzzled Posted April 25, 2007 Share Posted April 25, 2007 @systemdir is not a good place to be dumping test scripts into... 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