Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > ClickOnce deployment installs .NET 3.5 from web instead of .NET 2.0 from deployment site
 

ClickOnce deployment installs .NET 3.5 from web instead of .NET 2.0 from deployment site

In VS2005, I have setup an application to use ClickOnce deployment. .NET 2.0 is a prerequisite and I have the option checked to download prerequisites from same location as the application. dotnetfx.exe for 2.0 is included in the deployment files. In the past, the ClickOnce deployment would successfully install .NET 2.0 if necessary to the client machine.

Recently, however, if the client machine does not have .NET 2.0, ClickOnce only will go to the web and install .NET 3.5 (which is not a prerequisite and not used by this application and not even installed on the development machine).

Has anyone seen this behavior? Why is the ClickOnce installer going to the web and getting .NET 3.5 when it should be getting .NET 2.0 from the deployment location?

thanks.

kcongdon  Tuesday, March 18, 2008 5:09 PM

Maybe it can't find it. What happens if you select "get it from the vendor site" instead of downloading from the same location as the application?

RobinS.

GoldMail.com

RobinDotNet  Saturday, March 22, 2008 4:55 PM

Maybe it can't find it. What happens if you select "get it from the vendor site" instead of downloading from the same location as the application?

RobinS.

GoldMail.com

RobinDotNet  Saturday, March 22, 2008 4:55 PM

You can use google to search for other answers

Custom Search

More Threads

• How can i take folder locations from registry or settings file and then specify these as installation paths?
• Change Install and Update URL after publishing...
• How do I deploy a .Net app on a PC without the framework installed?
• application expiry
• Deploy .net framework 3.5 with ClickOne and Visual Basic Express Edition 2008
• Securing a ClickOnce application?
• Error Publishing my project to localhost
• Passing command-line Using Setup.exe
• How can temp files be removed before the setup program is committing in VS.net 2005 SetUp project
• Conditional Copy