I am using condition "NOT PATCH" to change the text in UI to say "Patch" instead of "Repair" when patch is applied. That works just fine.
Now I want to avoid installing one Registry component during patch application but not during the repair. I used the same condition (i.e. NOT PATCH rather than NOT Installed): <Component Id="My_HKCU_Registry" Guid="{SOME_GUID}"> <Condition>NOT PATCH</Condition> <RegistryKey Id="CUVersionKey" Action="createAndRemoveOnUninstall" Key="SOFTWARE\... HKCU ... few more registry keys and values here </Component> This doesn't work?! I can see in the log that Registry key is created and all the default registry values written, this latter being exactly what I want to avoid during the patch. Thanks for any suggestions ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users