I'll try narrowing the scope of my question a bit.  Suppose I have the
following code in my bundle.wxs :

  <Fragment>
    &lt;!-- check if "B" installed, for uninstallation --&gt;
    <util:RegistrySearch
        Id="B_InstallCheck"
        Root="HKLM"
        Key="SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{some guid
here}"
        Value="Publisher"
        Variable="B_Installed" 
        Win64="yes"/>

    <bal:Condition Message="B is installed. Please remove it
first.">B_Installed</bal:Condition>
  </Fragment>

What should I add to the <bal:Condition> to make it effective only on
uninstallation ?  Is this possible ?

Thanks !
-Rob Y.



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Burn-and-uninstall-condition-for-optional-product-tp7588933p7588962.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to