Jump to content

Newbie Question - Creating one EXE file from 3 files.

Recommended Posts

I can't find this in the FAQ.

I have recently come across AutoIT. I was wondering if it is possible to create one EXE file from 3 files using AutoIT for running on Windows XP PCs. The 3 files would be a batch file to be run first and then an MSI file and a Transform file. Thanks in advance for any replies.

Link to post
Share on other sites

My understanding of a transform file is that it is like a pre-configured install. is that right?

I can't see any reason why you couldn't do this using Run(). This will allow you to do pretty much anything that you could do in a command window, so you can run .bat, msiexec /i etc

[font='Comic Sans MS']Eagles may soar high but weasels dont get sucked into jet engines[/font]

Link to post
Share on other sites
  • Moderators

Hi, Micknet, welcome to the forum. You can use FileInstall() to embed all three files into your script, to be deposited on the target system when you want them. Fair warning, though, if it is a large MSI it could greatly slow your script down. As far as the batch file, I would suggest reexamining the need for it at all. Anything you can do in a batch file you can do natively in AutoIt (one less file to worry about).

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

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
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...