开发者

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 开发者_如何学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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜