sublimnl Posted July 2, 2004 Share Posted July 2, 2004 I'm trying to write a script to automatically uninstall Webshots from computers in our domain, however I keep getting the error "Could not open INSTALL.LOG file" from unwise.exe. Here is the line I am using to uninstall... Run (@ProgramFilesDir & "\Webshots\Unwise.exe /a INSTALL.LOG", ".\") Any ideas? Thanks! Link to comment Share on other sites More sharing options...
Developers Jos Posted July 2, 2004 Developers Share Posted July 2, 2004 I'm trying to write a script to automatically uninstall Webshots from computers in our domain, however I keep getting the error "Could not open INSTALL.LOG file" from unwise.exe. Here is the line I am using to uninstall... Run (@ProgramFilesDir & "\Webshots\Unwise.exe /a INSTALL.LOG", ".\")Any ideas?Thanks!what about when you set the workdir to the program dir ?Run (@ProgramFilesDir & "\Webshots\Unwise.exe /a INSTALL.LOG", @ProgramFilesDir & "\Webshots") 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...
sublimnl Posted July 2, 2004 Author Share Posted July 2, 2004 That worked, thanks...I guess AutoIt sets the current directory to something else since the line I originally posted would not work if I left out the second parameter completely either. Thanks for the help though. Link to comment Share on other sites More sharing options...
tutor2000 Posted July 2, 2004 Share Posted July 2, 2004 That worked, thanks...I guess AutoIt sets the current directory to something else since the line I originally posted would not work if I left out the second parameter completely either. Thanks for the help though. Actually I think it's a dos thingWhen I type command in run in 98 I get the dir explore has open. When I do it in xp I always get the same dir all the timeRick 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