Hello,
thanks for looking at this question.
I have the following problem: how can I pass some custom properties to the MSI of a version of a product that is being upgraded?
Normally the values are obtained via user entering them in a custom dialog.
On the upgrade, they can be passed on the msiexec's command line, especially if running in the no-UI mode.
The problem is that with the UI mode, the prompt to enter the value is presented twice - first for the new version of the product, then for the old version - when it is being automatically removed. With the passive mode, the values from the command line are not passed to the old version and it fails to uninstall, because it has no required properties.
I've searched far and wide and so far, was unable to find a way to pass the properties from the new to the old. Is there any? Without this functionality simple automated upgrading of the product will not be possible, and the product may be installed on many thousands of desktops within organizations. Doing the uninstall of the old and then install of the new will result in the loss of configuration data (during upgrade we migrate the data).
Thanks!