Re: [WiX-users] InstallMode Conditions DON'T work!

2007-12-28 Thread Bob Arnson
carlldev wrote: > It would have been better if I could tell what mode the installer is in > whether it be install, uninstall or repair so that this code isn't tied to a > specific feature or component. It's possible to mix and match actions at a feature and component level so there isn't a packa

Re: [WiX-users] InstallMode Conditions DON'T work!

2007-12-28 Thread carlldev
Thanks Bob, I could use This will work because I don't have a change mode or any options to choose any features (there is only 1 feature and 1 component inside it). It is important to note that this code relies on the ROOTFEATURE feature to be there as well as a component called CommonCompone

Re: [WiX-users] InstallMode Conditions DON'T work!

2007-12-26 Thread Bob Arnson
carlldev wrote: > The above works as advertised for installing and uninstalling, but if I > click repair, then the RemoveImported part is run as well, which it > shouldn't do because of the InstallMode = "Repair" condition. > > So I played around with it and found that the InstallMode property is n

[WiX-users] InstallMode Conditions DON'T work!

2007-12-24 Thread carlldev
Using Wix 3.0.2925.0 on Windows 2003. I have an installation that uses custom actions. Let’s forget what the custom actions do for the purpose of this message. They work fine. Here is the code I am using in my product.wxs file: The above works as advertised for installing and uninstalling, b