Muhammad Mubashir
Muhammad Mubashir

Reputation: 1657

How to create an MSI installer package for an ASP.Net website?

How do I create an MSI installer package for an ASP.Net website ?

Can anyone help me with a good link?

Mosty of the articles just presents the solution for windows applications.

I get this Error by using Add Deployment Project: when merging assemblies aspnet_merge. in Deploy Project. http://codeissue.com/articles/a04df930da62eb1/create-asp-net-deployment-package-using-web-deployment-and-web-setup-project

ERROR: Error 35 An error occurred when merging assemblies: ILMerge.Merge: ERROR!!: Duplicate type 'SatmapSkillReport' found in assembly 'App_Web_4fgmsrtw'. Project_deploy aspnet_merge 1 1

Upvotes: 2

Views: 12053

Answers (2)

Muhammad Mubashir
Muhammad Mubashir

Reputation: 1657

I found solution my self.!

you can follow link.

[1]: Can't rename MSI afterwards

and for Help:

[2]: https://www.simple-talk.com/dotnet/visual-studio/updates-to-setup-projects/

Upvotes: -1

Andy Refuerzo
Andy Refuerzo

Reputation: 3332

It is actually possible but please note that my experience with this was with Visual Studio 2008. I haven't tried this on Visual Studio 2010 or 2012.

  1. In VS2008, click on File > Add > New Project
  2. In Add New Project dialog, select Other Project Types > Setup and Deployment > Web Setup Project
  3. From there you can right-click on the project in the solution explorer and click View to see the user interfaces, launch conditions, registry settings, etc. or in Properties to set the virtual directory name. You can also include the output files of any project or your main project to be deployed.

If you configure this correctly and build that project, the output is an MSI installer file. When you use this MSI installer file, you can use Add/Remove Programs (win xp) or Programs and Features (win7).

I guess you can setup DNS, permissions, run a database creation script, with the various possible configurations available.

A good guide with a lot of screenshots here

UPDATE

Web deployment project is not available in VS2012

Web deployment project is available in VS2010

Upvotes: 8

Related Questions