I am trying to author an upgrade for my setup (DevStudio9, Basic MSI).
The setup contains a subfeature that is supposed to install a customer speficic
configuration area at initial installation only.
In an upgrade, this feature is supposed to be left alone, i.e. it's install state
may not change, since in that area the customer keeps his customization
and this may not be overwritten. That means, it may not be updated, but also not be removed.
(The user may select/deselect the subfeatures parent at initial install, so it may/may not be installed)
How can I do this???
I have tried to conditionally set the Install Level of the feature to 200 if IS_MAJOR_UPGRADE is set (INSTALLLEVEL is always 100), but the upgrade ignores this. Does the Upgrade use INSTALLLEVEL at all?
I cannot use MsiSetFeatureState, since it can only set to 'Local', 'Remove' or 'Advertise'; none of these are an option, Local would overwrite it, that's exactly what I need to avoid, 'Remove' would remove it that is as wrong as the other, and advertising is not used in our installation.
Please help me, I am slowly going nuts with this upgrade stuff....

Regards,
Jörg