开发者

Using ClickOnce Deployment need to include: Microsoft Save as PDF or XPS Office 2007 Add-In

All,

We are using ClickO开发者_如何学Pythonnce to deploy our WPF application and have the need to include the 2007 Microsoft Office Add-in: Microsoft Save as PDF or XPS.

Is there a way to include this exe file in the ClickOnce deployment?

Thank you,


You need to get the install package for that. Then you can create a prerequisite package for it and deploy it as a prerequisite to your ClickOnce deployment.

To create the prerequisite package, you can use the Bootstrapper Manifest Generator, which is here.

You then copy this package to the a folder where the VS prerequisites are found. If you are using VS2010, that location is here:

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

If you are using VS2008, it's here:

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

This post can be helpful explaining how to use the BMG. Be sure to add an Error Code of 0 for success, or it will always tell you the install failed.


You could try adding the .exe to the deployment (see here) and run check on program startup if it's installed, and run the process if not.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜