开发者

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

开发者 https://www.devze.com 2023-03-17 12:48 出处:网络
im creating a VS setup installer for my C# project. I need the client\'s machine to first install Adobe 开发者_如何学PythonAcrobat Reader X before proceeding to the actual installation.

im creating a VS setup installer for my C# project. I need the client's machine to first install Adobe 开发者_如何学PythonAcrobat 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.

0

精彩评论

暂无评论...
验证码 换一张
取 消