enable 'Download prerequisites from the same location as my application' in the Prerequisites dialog box, you must download file 'vcredist_x64\vcredist_x64.exe' for item 'Visual C++ "14" Runtime Libraries (x64)' to your local machine. For more information, see http://go.microsoft.com/fwlink/?LinkId=616018.
However I have no errors now. The problem is that it does not install the VC redistributable dependency.
I believe that the productcode and other parameters are not correct in the xmls. Also the VCRedistExe link is for VC++2010 but it does not download anything during setup. However do note that I have the vcredist_x64.exe inside the folder structure which is the VC++14 redist.
Please help me as I have tried many other options as well, and this "official" option does not seem to work (I could not find relevant info Visual C++ Redistributable for Visual Studio 2015).
Either option is fine for me (download from website or download from the same location as my app) as long as the prerequisite is installed.
There is an open issue with MS.
https://connect.microsoft.com/VisualStudio/feedback/details/1604832/vcredist-bootstrapper-packages-in-vs-2015-sdk-arent-working
Here is the link to the 2015 redistributable packages.
https://www.microsoft.com/en-us/download/details.aspx?id=48145
For 32 bit Operating system, check this registry key using regedit
HKLM\Software\Microsoft\GenericBootstrapper\
For 64 bit OS,
HKLM\Software\Wow6432Node\Microsoft\GenericBootstrapper
The path value is the location where you need to place your redistributables.
For example, if u want to place your VC++ 64 bit redistributable(vc_redist.x64.exe)..
if the location is "C:\Program Files (x86)\Microsoft SDKs\ClickOnce Bootstrapper\" in the path value,
place the vc_redist.x64.exe file in "C:\Program Files (x86)\Microsoft SDKs\ClickOnce Bootstrapper\Packages\vc_redistx64\".
Rebuild the project, it works fine now
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.