Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Create an web app installation package, that includes "everything"?

Would it be possible, with the tools in VS2010, to create an msi-package that includes everything needed, and installed "on demand" for a mvc 3 app?

It should include IIS, SQL-Server Express, .NET 4, and the mvc3 assemblies.

That would be very handy to have to give users a single install-file, regardless if they use xp, vista or 7. The package should autmatically dectect what's missing, and install that.

like image 475
kaze Avatar asked Oct 09 '22 18:10

kaze


1 Answers

You can try use a Web Setup Project.

Add a new project to your solution.

In the "Add New Project" dialog, select Other Project Types->Setup and Deployment->Visual Studio Installer.

Then select Web Setup Project.

In the created setup project, add Project Output... (Content Files) to the Web Application Folder (in File System Editor).

The web setup project includes by default check for IIS and .NET framework. It is possible to add checks for other dependencies.

When building the setup project, it is created the msi, along with a setup.exe that includes some pre-install validation.

like image 78
awe Avatar answered Oct 12 '22 10:10

awe