I'm trying to publish a .NET 4.0 application to a web server using Visual Studio 2010 ClickOnce deployment. The actual application is published successfully, but if I start the installation from a machine without .NET 4.0 already installed, setup fails: When I click the download link, I'm getting the following error message:
An error occurred downloading the following resource: http://server/app/DotNetFX40/dotNetFx40_Full_x86_x64.exe
A look at the published folder shows that Visual Studio created three folders there, next to setup.exe: Application Files, dotnetfx40 and windowsinstaller3_1.
If I change the actual directory name from dotnetfx40 to DotNetFX40, it works.
My "Publishing Folder Location" is a file path (\\\server\c$\... etc.), the "Installation Folder URL" is http://server/app.
I was surprised that I didn't find anything on this online; am I missing something obvious?
dotnetfx404is a typo? - ChrisF