Install other apps with our setup - vs2010 Desktop App Deployment

后端 未结 2 1812
执笔经年
执笔经年 2021-01-24 00:27

I need to embed powerpoint viewer with my setup in vs 2010. When user run setup created by me, powerpoint viewer setup get automatically launch during installation. thanks

2条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-01-24 00:48

    Usually existing packages are added as prerequisites. Visual Studio setup projects do not support custom prerequisite creation. However, this can be done by manually generating the required manifests.

    You can find the manifests structure here: http://msdn.microsoft.com/en-us/library/ms229223(VS.80).aspx

    These manifests can be generated automatically with the Bootstrapper Manifest Generator tool.

    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 in your setup project properties page.

提交回复
热议问题