Could someone point me in the direction of some documentation that explains how to configure Advanced Installer to retain the current feature settings during an upgrade.
This would be a version upgrade from 1.0.1 to 1.0.2.
Thanks.
Please see:Could someone point me in the direction of some documentation that explains how to configure Advanced Installer to retain the current feature settings during an upgrade.
This can be done with patches. A patch is the difference between two msi packages and when you apply it the target msi need to be installed.So, back to my original question, How do I ensure that the features chosen during the initial install are automatically selected (or not selected) during an upgrade?
I'm not sure if this can be done. Maybe with a custom action but this is not a easy task and need to know C++ coding.I want them to have the complete interface, which allows them to see their current feature configuration, and to alter it if they wish.
This is usually done on maintenances when user click on the modify button.which allows them to see their current feature configuration
It's a fair comment Gigi. The problem I have is that my customers are very stupid. They can't remember what the features were when the upgrade started.Also I don't understand for what you need that because on upgrade ("ProductCode" changed) the old package is uninstalled completely before new one gets installed.
To read a feature state in a VBS custom action you can use this code:What I'm trying to do is use a Custom Action to generate the registry entries based on the feature selections. I'm using a VBScript Custom Action, but I can't figure out how to read the feature states from the database using VBScript.
Code: Select all
Session.Property("MY_PROP") = cstr(Session.FeatureRequestState("MainFeature"))
FOLLOW US
Get the latest news in Application Packaging