Zaum Posted October 10, 2005 Share Posted October 10, 2005 I'm going to make an autoit3 script that will install some patch that i have for the computer themes. I will give them a download for the patch. When i write the code for it to open the patch, i will not know where they will save it to. My question is: How do i write the autoit script for it to open the patch file from wherever they save ? Link to comment Share on other sites More sharing options...
GaryFrost Posted October 10, 2005 Share Posted October 10, 2005 why not include it in the install using the fileinstall? SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
Zaum Posted October 10, 2005 Author Share Posted October 10, 2005 why not include it in the install using the fileinstall?I'm just beginning to learn autoit3 so could you possible help me with how to code it to do that?What i'm saying is to install it, i nee dto know where they have the install file. So if in the file it say sto run it in off their desktop but they save it in their documents, hwo do i get it to automaticaly detect that its documents? Link to comment Share on other sites More sharing options...
Valuater Posted October 10, 2005 Share Posted October 10, 2005 do you have the patch?? if you do... you can FileInstall() that patch into your Autoit program and they wont need to download anything 8) Link to comment Share on other sites More sharing options...
Zaum Posted October 10, 2005 Author Share Posted October 10, 2005 do you have the patch??if you do... you can FileInstall() that patch into your Autoit program and they wont need to download anything8)How do i do that? Link to comment Share on other sites More sharing options...
GaryFrost Posted October 10, 2005 Share Posted October 10, 2005 example: FileInstall( "c:\projects\test.exe", @ScriptDir & "\text.exe") RunWait(@ScriptDir & "\text.exe") FileDelete(@ScriptDir & "\text.exe") SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. 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