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.
MSI is an installer file which installs your program on the executing system. Setup.exe is an application (executable file) which has msi file(s) as its one of the resources. Executing Setup.exe will in turn execute msi (the installer) which writes your application to the system.
MsiExec.exe is the executable program of the Windows Installer used to interpret installation packages and install products on target systems. After you build your release, you can install your Windows Installer package (. msi) from the command line.
Create Msi from Exe Using Free MSI Wrapper 1. In the Source Folder field, specify the folder with the EXE file that you want to convert to MSI. 2. In the Target Path field, specify the default folder in which the created MSI will be installed.
While an MSI is used only with installers, this is not the case with EXE. Any application requires having at least one EXE file as it is needed to start the processes of the application. Even programs installed with either an EXE or an MSI will have one or more EXE files.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With