user2413829
user2413829

Reputation: 111

How merge the exe and msi file in single setup?

I'm creating a setup using visual studio setup project , it will create two files one is msi and second one is exe. but i want to Create single file using that.

Upvotes: 7

Views: 5155

Answers (2)

tomasat
tomasat

Reputation: 598

I would check out IExpress. This is a built in tool in many versions of Windows which you can use to create a self extracting directive file. You simply add the msi and setup.exe and choose to run the setup.exe.

This tool creates an SED file which you could run in a post build event so you do not have to do it manually after every build.

You could follow the directions in this tutorial: http://www.youtube.com/watch?v=k976yEXX11k

http://en.wikipedia.org/wiki/IExpress

Upvotes: 1

Damien_The_Unbeliever
Damien_The_Unbeliever

Reputation: 239664

You just need to uncheck Create setup program to install prerequisite components in the Deployment Project Properties - but think through, carefully, the meaning of that option.

If you don't create the setup.exe, then your program can't be installed on machines which are missing some or all of your pre-requisites.

Also, be aware that setup projects are no longer supported in VS2012 - so it may be worth the time now to start investigating other setup authoring options such as WiX.

Upvotes: 0

Related Questions