Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I set up the bootstrapper package for Windows Installer 4.5 for a ClickOnce application?

From Prerequisites on the Publish tab, I selected the option to Download prerequisites from the same location as my application.

I got an error while publishing which gave me the following instruction:

To enable 'Download prerequisites from the same location as my application' in the Prerequisites dialog box, you must download file 'WindowsInstaller4_5\Windows6.0-KB958655-v2-x86.MSU' for item 'Windows Installer 4.5' to your local machine. For more information, see http://go.microsoft.com/fwlink/?LinkId=616018

The knowledge base article says to open the Package.xml file in the language folder (en) within WindowsInstaller4_5 and then

Locate the Name element that contains http://go.microsoft.com/fwlink, and copy the URL. Include the LinkID portion

But the package.xml file does not have any entry with http://go.microsoft.com/fwlink! Other bootstrapper folders have this entry in the package.xml file, but not WindowsInstaller4_5

Has anybody else succeeded at adding the Windows Installer 4.5 package? How did you succeed?

I am using VS2015 on Windows 10.

like image 601
Zesty Avatar asked Jan 17 '17 07:01

Zesty


1 Answers

I have same problem with VS2015 in Windows 7. Finally I found the solution downloading the install packages for the Windows Installer 4.5 and copying them into next path: "C:\Program Files (x86)\Microsoft Visual Studio 14.0\SDK\Bootstrapper\Packages\WindowsInstaller4_5". After this, Setup project compiling worked.

It would be necessary to copy all versions of the Windows Installer 4.5 as you can see in the picture:

enter image description here

like image 61
mggSoft Avatar answered Sep 28 '22 09:09

mggSoft