Sign in to follow this  
Followers 0
Micknet

Newbie Question - Creating one EXE file from 3 files.

4 posts in this topic

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.

Share this post


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]

Share this post


Link to post
Share on other sites

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).


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

You can use this command: (click for help)

FileInstall
Edited by yones7x

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