Sign in to follow this  
Followers 0
Zaum

Help with code

6 posts in this topic

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 ?

Share this post


Link to post
Share on other sites



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?

Share this post


Link to post
Share on other sites

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)


NEWHeader1.png

Share this post


Link to post
Share on other sites

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)

How do i do that?

Share this post


Link to post
Share on other sites

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.

 

Share this post


Link to post
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
Sign in to follow this  
Followers 0