lopezbertoni
lopezbertoni

Reputation: 3641

Enabling Download prerequisites from the same location as my application

I currently have a winforms app that is deployed via clickonce deployment. When I try to deploy it from 1 machine it throws the following error:

To enable 'Download prerequisites from the same location as my application' in the Prerequisites dialog box, you must download file 'DotNetFX40\dotNetFx40LP_Full_x86_x64es.exe' for item 'Microsoft .NET Framework 4 (x86 and x64)' to your local machine. For more information, see http://go.microsoft.com/fwlink/?LinkId=239883.

The applicacion I'm trying to deploy has Spanish as its Publish Language, therefore it tries to download the language pack (dotNetFx40LP_Full_x86_x64es.exe)

I did download the files necessary as the link in the error suggest but the problem persists. I added the files as suggested in the error link to the folder %ProgramFiles%\Microsoft SDKs\Windows\v7.0A\Bootstrapper\Packages (for Visual Studio 2010). I also tried to add them to %ProgramFiles%\Microsoft SDKs\Windows\v8.0A\Bootstrapper\Packages (for Visual Studio 2012)

This problem started when I installed Visual Studio 2012 on my machine. I now have Visual Studio 2010 and 2012 installed side by side on Windows 7 Professional (64-bit). It was working fine before. It's also working fine on another machine that doesn't have Visual Studio 2012 installed.

I tried to publish the app with Visual Studio 2010 and 2012 and none work. Also, if I change the language to English, it publishes fine.

Uninstalling Visual Studio 2012 and publishing in English are not valid options.

Any insights are welcome.

Upvotes: 7

Views: 15833

Answers (4)

BCE
BCE

Reputation: 51

Correct paths are these,

C:\Program Files\Microsoft Visual Studio 14.0\SDK\Bootstrapper\Packages on a 32-bit system

C:\Program Files (x86)\Microsoft Visual Studio 14.0\SDK\Bootstrapper\Packages on a 64-bit system.

Other suggested ones didn't work for me.

Upvotes: 3

Sundara Prabu
Sundara Prabu

Reputation: 2729

Vs 2013 targetting Dot net 4.5 64 bit will have here

the path in registry is HKLM\Software\Wow6432Node\Microsoft\GenericBootstrapper\11.0 for Vs 2013 targeting dot net 4.5

value will be Program Files\Microsoft SDKs\Windows\v8.0A\Bootstrapper\Packages

Upvotes: 3

Alfred Severo
Alfred Severo

Reputation: 506

Here an alternative, is in Spanish, but it could well serve as this quite clear.

Upvotes: 1

lopezbertoni
lopezbertoni

Reputation: 3641

After some digging I found this thread in which some similar problem is attacked. It doesn't have anything to do with VS 2010 and 2012 side by side installation. I had to add the language file installer to the appropriate language folder, NOT the root folder as other links suggest.

Upvotes: 2

Related Questions