Web Setup project

Creating a Web Setup Project for asp.net Application Using Visual Studio - including building in variations for test, dev, and production all in the same installer.



You pull a legacy project from version control, open it, and you’re treated to:
Error: The application for .wdproj is not installed
Because, once again, you forgot that you have to install this on every dev machine, and this, your 6th VM of the year is no exception....


You must install Visual Studio’s Web Deployment Projects (for your VS version) to get this to work.


WebDeploymentSetup.msi (VS2005)
Using Web Deployment Projects with Visual Studio 2005
Microsoft Visual Studio® 2008 Web Deployment Projects - RTW


[How Do I:] Use a Visual Studio 2008 Web Deployment Project (video)


Scott Gu: VS 2008 Web Deployment Project Support Released





Could not open key: Software\Microsoft\ASP.NET\4.0.30319.0. Verify that you have sufficient access to that key, or contact your support personnel.



http://blog.tutorem.com/post/2010/08/17/Web-Site-Installation-Error-Could-not-open-key-software5cmicrosoft5caspnet5c40303190.aspx eventually says:


If anyone is interested, it appears that the .net 4.0 download I was redirected to when first attempting the install was only the ‘client’ package. I unistalled this and installed the full redistributable package and the install went fine.



In the installer project for .NET runtime, I specifically selected .NET Framework 4 NOT the client profile version.


NOTE: even though I did that, the URL does not change, and continues to point to the client framework.
I had to add a manual URL.
Not sure how to get the **** installer to use the right framework, here....



See Also