gpt4 book ai didi

wix - 卸载的先决条件检查

转载 作者:行者123 更新时间:2023-12-04 07:01:01 25 4
gpt4 key购买 nike

我正在使用下面的代码来检查我的先决条件之一。

<Property Id="PRE_INSTALLATION">
<RegistrySearch Id="RegistrySearch" Root="HKLM" Type="raw" Name="Current Resource" Key="SOFTWARE\ABC\BCD"/>
</Property>
<Condition Message="[ProductName] requires ABC.">PRE_INSTALLATION</Condition>

问题是即使在卸载时也会执行。如何在卸载过程中禁用此条件检查。

最佳答案

解决了..

只是我必须使用

<Condition Message="[ProductName] requires ABC."><![CDATA[Installed OR PRE_INSTALLATION]]>

祝你有美好的一天。

再见。

关于wix - 卸载的先决条件检查,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1846372/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com