开发者

Pre-requisite Check on Uninstall

I am using开发者_开发百科 the below code to check one of my pre-requisite.

<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>

The problem is that this gets executed even on un-install. How do I disable this condition check during un-install.


Solved..

It is just that I have to use

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

Have a great day.

Bye.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜