Geeks With Blogs

News My Blog has been MOVED to https://mfreidge.wordpress.com

Michael Freidgeim's OLD Blog My Blog has been MOVED to https://mfreidge.wordpress.com

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 on Thursday, February 2, 2006 12:02 PM DotNetNuke , ASP.NET , .Net Framework | Back to top


Comments on this post: Using VS 2005 Web Setup Project with custom actions

# re: Using VS 2005 Web Setup Project with custom actions
Requesting 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.
Left by Ap4r on Jul 04, 2007 12:53 AM

# re: Using VS 2005 Web Setup Project with custom actions
Requesting 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?

Left by Alan on Jun 19, 2008 3:53 AM

Your comment:
 (will show your gravatar)


Copyright © Michael Freidgeim | Powered by: GeeksWithBlogs.net