I found the similar discussion and it helped me to solve this.

The solution for this problem is the following:

I added the component writing the registry values to a separate feature,
RegistryFeature. And then I added the following code:

--
<CustomAction Id="SetREINSTALL" Property="REINSTALL" Value="RegistryFeature"
/>

<InstallUISequence>
        <Custom Action="SetREINSTALL"
Before="CostInitialize"><![CDATA[Installed AND NOT (REMOVE ~= "ALL") AND NOT
REINSTALL]]></Custom>
</InstallExecuteSequence>
--

Best regards,
Natalia Gladkova 


------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to