yash
yash

Reputation: 812

how to make a single setup file for windows form application

I am developing a Windows form application which I want to integrate with my website on server. My problem is that when I created setup for my application then it gave me two files;- one msi file and other setup file. I have to provide a zip folder to the user who downloads this software. I want to give only setup.exe to user. Is it possible? If it is then how? Please help... I created my setup by using this link...

http://www.c-sharpcorner.com/UploadFile/deepak.sharma00/how-to-create-an-installer-for-a-winform-application-using-s/

Thanks in Advance

Upvotes: 0

Views: 3389

Answers (5)

yash
yash

Reputation: 812

i solved it. Convert msi file into exe file. Thats it. There are lot of msi to exe converter on internet. msi works same as setup.exe works.. Thanks for your Response.

Upvotes: 1

Slappy
Slappy

Reputation: 5472

You can use Inno Setup which creates single .exe file.

It can contain files inside and it can detect and install prerequisites and various other stuff (DirectX, SQL servers, ...)

Upvotes: 0

PhilDW
PhilDW

Reputation: 20800

Assuming you actually have prerequisites to install, then you just need to get a tool that can pack your MSI and setup.exe into a single exe file (I think WinZip can do this). Then you get a single exe that will extract your bootstrapper set.exe and MSI file to a location and run that setup.exe. So you just need to pick the tool that will do that.

Whatever you end up doing, don't do anything that ends up downloading your MSI into IE's temp files folder where it will disappear. Put it somewhere it's available for repair.

Also, maybe you don't actually need to download it:

http://msdn.microsoft.com/en-us/library/aa368328(v=vs.85).aspx

Upvotes: 0

Rui
Rui

Reputation: 4896

If you haven't specified any prerequisites you can just share the .msi. Setup.exe is just a bootstrapper that will check for the prerequisites and install them before installing the .msi.

Alternatively you can use the NSIS installer to package the .msi and setup.exe together in an .exe file

Upvotes: 0

Andrew
Andrew

Reputation: 83

You can try using WiX installer: http://en.wikipedia.org/wiki/WiX just as I did for my Windows form application installer. You can choose whether to get .msi or .exe as a result.

Upvotes: 0

Related Questions