I am wondering if there is a simple way of retrieving the value of a custom property during an upgrade installation. Let me describe the scenario:
- During first-time installation, we have a custom dialog that gives the user 3 choices; the values are simply 1, 2 and 3. We store the chosen value in a custom property called "APPMODE."
- We have a .NET Installer Action that uses the chosen APPMODE value to set a value in the application's config file.
- During application upgrades, we would like to determine what APPMODE value was previously chosen and default to it, rather than asking the user to pick APPMODE again.
I know that the installer can determine a certain amount of information about the previous version (install directory, installed features, etc). So I wondered if my custom property APPMODE would already be available, and I just need to direct the installer to grab it and use it.
Any thoughts, recommendations, etc. are most welcome.
Thanks,
Chris