Sign in to follow this  
Followers 0
mark2004

How to run another exe from within autoit exe

6 posts in this topic

#1 ·  Posted (edited)

Let's say I want to write a script to install PDFCreator.exe and do some other things like automatically run through

the install wizard. Is this the only way to do this:

...

...

...

FileInstall("C:\Program Files\Downloaded Programs\PDFCreator.exe","C:\PDFCreator.exe")

Run("C:\PDFCreator.exe")

..

Rest of Script Here

..

I wasn't sure if you had to copy the PDFCreator.exe to the client's hard drive first before running it??

Thanks,

Edited by mark2004

Share this post


Link to post
Share on other sites



Now why ADS that be better than FileInstall()?? Using ADS would just be a pain in the ass, almost none way to actually copy the file and you must have NTFS. Two shortcomings that FileInstall() doesn't have.

Share this post


Link to post
Share on other sites

Now why ADS that be better than FileInstall()?? Using ADS would just be a pain in the ass, almost none way to actually copy the file and you must have NTFS. Two shortcomings that FileInstall() doesn't have.

That's because you haven't read the post in its original form. He was asking (at the begining) how to run something without need to download(copy) the exe to that computer.

By the time I have posted my reply he has edited his post. :P


SNMP_UDF ... for SNMPv1 and v2c so far, GetBulk and a new example script

wannabe "Unbeatable" Tic-Tac-Toe

Paper-Scissor-Rock ... try to beat it anyway :)

Share this post


Link to post
Share on other sites

That's because you haven't read the post in its original form. He was asking (at the begining) how to run something without need to download(copy) the exe to that computer.

By the time I have posted my reply he has edited his post. :P

How would you run a file from ADS without actually having the file on your computer? You just made me more confused.

Share this post


Link to post
Share on other sites

From his post I assumed that: (example)

- the executable "test.exe" was on that computer already

- "test.exe" had to run "second.exe" without downloading (installing) "second.exe" on that computer

Given these I guess my solution was correct. :P

Anyway - my bad - if I had explained this in detail we wouldn't have had any disagreement :unsure:


SNMP_UDF ... for SNMPv1 and v2c so far, GetBulk and a new example script

wannabe "Unbeatable" Tic-Tac-Toe

Paper-Scissor-Rock ... try to beat it anyway :)

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