Enabling Download prerequisites from the same location as my application
Asked Answered
I

4

7

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.

Insubstantial answered 31/5, 2013 at 19:49 Comment(0)
I
2

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.

Insubstantial answered 31/5, 2013 at 21:53 Comment(1)
Yes - this works. If you are not copying in files that are language dependent then they just go into the root bootstrap package folder.Dru
T
3

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

Towner answered 14/11, 2014 at 12:50 Comment(0)
A
3

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.

Agustinaah answered 21/4, 2016 at 6:39 Comment(0)
I
2

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.

Insubstantial answered 31/5, 2013 at 21:53 Comment(1)
Yes - this works. If you are not copying in files that are language dependent then they just go into the root bootstrap package folder.Dru
F
1

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

Flagship answered 25/4, 2014 at 22:48 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.