且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Visual Studio安装项目中的自定义操作执行

更新时间:2022-01-28 00:39:05

您必须在Orca等工具中打开构建的msi,并检查自定义操作条件。最有可能的是,它们设置为在升级期间不运行。



参考此链接 - > [ ^ ]有关如何记录安装的信息。



-Alpesh
You will have to open up the built msi in tools such as Orca, and check the custom action conditions. Most probably, they are set such a way that they do not run during upgrades.

Refer to this link --> [^] for information on how to log the install.

-Alpesh


在网上搜索更多内容后,我发现Visual Studio中存在一个错误,它将运行以前版本的CA而不是新版本。您必须更改新CA的名称才能运行。



重命名CA项目后,它开始运行。
After searching more on the web, I found that there is a bug in Visual Studio that will run the previous version of the CA not the new one. You must change the name of the new CA for it to run.

Once I renamed the CA project it started running.