Marko
Marko

Reputation:

Making installation files

I need to make installation file (.exe), but is that possible with batch script and how? I made installation with some software (Deployment...) but I need to do that with script. I have all necessary files for my installation.

Is that possible?

Marko

Upvotes: 0

Views: 127

Answers (3)

Mike Chaliy
Mike Chaliy

Reputation: 26658

Virtually every tool for building installation packages provides ability to include arbitrary sripts to the installation process. Just inspect your tool for this capability...

Here, we often include sripts in our WIX installations. Of course, user expirience is better when you building installation package nativelly, but in some cases this is acceptable practice (mostly when there is no non-tech users planned).

Upvotes: 1

anon
anon

Reputation:

You can't make an .exe using nothing but a batch script. You can however use a batch script to create the installation specification file(s) and then run that file through an installer creator program like the ones mentioned in the other answers here. Perhaps you could be a bit clearer about what you actually need to do?

Upvotes: 0

Alan Haggai Alavi
Alan Haggai Alavi

Reputation: 74222

With a batch script, you will not be able to make a .exe (unless you call a .exe creator from within the batch script!). Why not try Inno Setup or NSIS? ISTool helps in creating Inno Setup scripts with ease and speed.

Upvotes: 0

Related Questions