简体   繁体   中英

Visual studio installer error with Visual C++ 2017 Runtime Libraries (x64) prerequisite

I've created the installer for my project without a problem, In project's properties, I included Visual C++ 2017 Runtime Libraries (x64) 2010 and 2017.

But during the installation in the client host, I've got a 'The following package files could not be found:' without specifying much more information.

Is when I checked the temp directory that I've discovered that 'vc2017redist_x64' haven't copied.

With the 2010 version, it seems to work rightly. Anyone have experienced the same problem?

I'm using Visual Studio 2017 15.9.17.

Finally I came up with the solution.

The path of the VC++2017 installer in the default bootstraper package was wrong and installation failed. So I had to edit the manifest file in C:\Program Files (x86)\Microsoft SDKs\ClickOnce Bootstrapper\ and set the right path.

Once modified, it worked!

Please notice that you can also find the bootstrapper folder location from the Path value in the following registry key:

HKLM\Software\Microsoft\GenericBootstrapper

On 64-bit systems, use the following registry key:

HKLM\Software\Wow6432Node\Microsoft\GenericBootstrapper

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM