简体   繁体   中英

how to detect Adobe Acrobat Reader installation in computer (not just browser) during Setup?

im creating a VS setup installer for my C# project. I need the client's machine to first install Adobe Acrobat Reader X before proceeding to the actual installation.

How do i do this? Thanks!

First you need to create a custom prerequisite for Acrobat Reader X. For this you can use the bootstrapper manifest generator .

To detect it you can search for this registry entry:

HKEY_LOCAL_MACHINE\Software\Adobe\Adobe Acrobat\10.0\InstallPath

After generating the package manifests, you can add all these files (including the package) in a separate folder in the Visual Studio prerequisites folder, for example:

C:\Program Files\Microsoft SDKs\Windows\v7.0A\Bootstrapper\Packages

You can then select the prerequisite by clicking Properties on your setup project in Solution Explorer.

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