Using VS 2005 Web Setup Project with custom actions

I've used VS 2003 Web Setup Project with custom actions and Installer class. that did some changes.

After moving to VS 2005 I found that it is not possible to invoke custom action for DLL because only content output is available.

The post suggested to use VS 2005 Web Deployment Project .

However in my case compile failed with the very helpful Aspnet_merge.exe Exited With Code 1.   Some posts explain that the error comes from duplicate class names in the project, even if the name comes from different name space. But my code is based on DNN and they use classes with the same name quite extensively.(UPDATE: workaround posted in the post:Use VS 2005 Web Deployment Project with DotNetNuke)

Fortunately a workaround is quite simple.

1. Put Installer class in a separate Class Library(or Windows Executable) Project.

2.Add the installer primary output to the web setup project

3.Specify custom action for the installer primary output.

Update: I've added more comments about Web Setup Project in the post “Using VS 2005 Web Setup Project - not user friendly process.

posted @ Thursday, February 02, 2006 12:02 PM

Print

Comments on this entry:

# re: Using VS 2005 Web Setup Project with custom actions

Left by Ap4r at 7/4/2007 12:53 AM
Gravatar
It's quite simple buddy, Microsoft and it's product line suck, bigtime. I can write all the necessary files from scratch sooner than i'd ever be able to figure out how to do it with allmighty MS Wizards, .NET built-in bs or whatever.

Try JDeveloper and Oracle. Poetry.

# re: Using VS 2005 Web Setup Project with custom actions

Left by Alan at 6/19/2008 3:53 AM
Gravatar
JDeveloper and Oracle will be just footnotes in technology history in a decade... Look where MS started and where it is now. It took the best ideas from Java and made them better. And as Java stagnates, MS leaps ahead.

It's evolution, baby... and you remeber what happened to the dinosuars, right?

Your comment:



 (will not be displayed)


 
 
 
Please add 2 and 5 and type the answer here:
 

Live Comment Preview:

 
«December»
SunMonTueWedThuFriSat
30123456
78910111213
14151617181920
21222324252627
28293031123
45678910