Hello,

I'm trying to check if the same version of my bundle is already installed. I
know that downgrades are already checked by the bundle engine. But, to avoid
duplicate entries of my bundle with same version i'm using this condition:

<Bundle>
...
  <util:RegistrySearch
                Id="APPVERSION"
                Variable="APPVERSION"
                Root="HKLM"
                Key="SOFTWARE\$(var.ManufacturerName)\$(var.AppName)"
                Result="value"
                Value="version"/>
   <bal:Condition Message="Same version!!!">
      
  </bal:Condition>
...
</Bundle>

This works perfectly for me. But, only when i'm installing my aplication.
This condition is checked whenever I start my bundle. This mean that when
I'm trying to uninstall my aplication this condition is evaluated as false
and the bundle is aborted.

How can I make this condition evaluated only in installation process.

Thanks everyone.



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Bundle-Condition-only-in-installation-tp7590033.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&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