WiX自定义操作条件是否有更新的真值表?
我正在尝试让一些自定义操作在我的安装上正常工作 用于Wix中的我的逻辑(由ahmd0提供) 问题是它似乎不起作用。以下是我目前的情况:WiX自定义操作条件是否有更新的真值表?,wix,Wix,我正在尝试让一些自定义操作在我的安装上正常工作 用于Wix中的我的逻辑(由ahmd0提供) 问题是它似乎不起作用。以下是我目前的情况: <Custom Action='RemoveService' After='InstallInitialize'>Installed</Custom> <Custom Action='WaitForFileLocks' After='InstallInitialize'>Installed</Custom> &
<Custom Action='RemoveService' After='InstallInitialize'>Installed</Custom>
<Custom Action='WaitForFileLocks' After='InstallInitialize'>Installed</Custom>
<Custom Action='InstallService' Before='InstallFinalize'>NOT REMOVE ~= "ALL" OR UPGRADINGPRODUCTCODE</Custom>
<Custom Action='MergeConfigFiles' Before='InstallFinalize'>NOT REMOVE ~= "ALL" OR UPGRADINGPRODUCTCODE</Custom>
已安装
安装
不删除~=“全部”或升级ProductCode
不删除~=“全部”或升级ProductCode
我期望从中得到的行为:
- 应在卸载和升级时运行RemoveService和WaitForFileLocks
- InstallService和MergeConfigFiles应在安装和升级时运行
- RemoveService和WaitForFileLocks在卸载时运行,但不在升级时运行
- InstallService和MergeConfigFiles正在安装时运行,但未在升级时运行