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.
精彩评论