Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Easy Way To Create Installer For .Net Projects

What is the best/easiest way to create an installer for a .net application that will install the framework if required.

I only have visual studio express if that makes any difference.

like image 663
tjjjohnson Avatar asked Oct 15 '22 15:10

tjjjohnson


2 Answers

Well you probably want to read up about the .Net bootstrappers.

http://msdn.microsoft.com/en-us/magazine/cc163899.aspx

Visual Studio allows you to create installation projects in which you can specify that the framework is a pre-requisite.

One of the slight annoyances of having the Microsoft bootstrapper is that you need to ship an EXE together with your MSI (the EXE takes care of bootstrapping). This may or may not be a ship stopper for you. The bootstrapper is included, for free, in the Windows SDK.

More refined/costly installation frameworks like Wise or Installshield will take care of this for you (and allow you to package everything into a single EXE).

If you go the WiX path: read up on this question.

like image 198
Sam Saffron Avatar answered Oct 23 '22 18:10

Sam Saffron


It may not be the easiest tool to use but WIX will do anything you need it to. It is open source and has strong community support.

like image 1
Kane Avatar answered Oct 23 '22 19:10

Kane