修改CostFinalize操作 [英] Modify CostFinalize Action

查看:141
本文介绍了修改CostFinalize操作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个执行MSI的代码。我需要从安装中限制一些文件,具体取决于从调用MSI的控制台应用程序传递的参数。它可以在CostFinalize Action中完成。



任何想法,如何将CostFinalize Action添加到我的项目中?



右键单击deploymentproject并选择视图选项后是否可见。

如果是,我无法看到。我如何获得该选项?

I have a code to execute MSI. I need to restrict some of the files from installation depending on the parameter passed from console application that invokes the MSI. It can be done in CostFinalize Action.

Any idea, How do I add CostFinalize Action to my project?

Is that visible after the right click on the deploymentproject and select the view option.
If yes, I am not able to see that. How can I get that option?

推荐答案

如果使用InstallExecuteSequence表在CostFinalize之前或之后安排自定义操作,可以通过自己的操作实现。
That's possible by own action if to schedule custom action before or straight after CostFinalize, using InstallExecuteSequence table.


这篇关于修改CostFinalize操作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆