Wix 仅安装时的自定义操作
我已将自定义操作设置为仅在安装时触发Wix 仅安装时的自定义操作,wix,wix3.5,Wix,Wix3.5,我已将自定义操作设置为仅在安装时触发 <InstallExecuteSequence> <Custom Action="caPopulateDatabase" Before="InstallFiles">NOT INSTALLED AND NOT UPGRADINGPRODUCTCODE</Custom> </InstallExecuteSequence> 未安装且未升级ProductCode 由于某些原因,卸载期间也会触发该自定义操作
<InstallExecuteSequence>
<Custom Action="caPopulateDatabase" Before="InstallFiles">NOT INSTALLED AND NOT UPGRADINGPRODUCTCODE</Custom>
</InstallExecuteSequence>
未安装且未升级ProductCode
由于某些原因,卸载期间也会触发该自定义操作
我做错了什么?请尝试以下安装:
<InstallExecuteSequence>
<Custom Action="caPopulateDatabase" Before="InstallFiles">NOT Installed</Custom>
</InstallExecuteSequence>
未安装
Windows Installer区分大小写。另外,根据您的问题,您不需要在主要升级期间被删除时进行阻止,因此我删除了而不是UPGRADINGPRODUCTCODE