Well, it's been almost a year, so good time to revisit this question
In the log file of a new version when trying to upgrade I see this:
MSI (s) (24:B4) [14:58:00:659]: Doing action: _F79B2DE2_FB27_43A1_83E5_D28BD8CCD97C.SetProperty
Action ended 14:58:00: MsiUnpublishAssemblies. Return value 1.
MSI (s) (24:B4) [14:58:00:659]: Note: 1: 2235 2: 3: ExtendedType 4: SELECT `Action`,`Type`,`Source`,`Target`, NULL, `ExtendedType` FROM `CustomAction` WHERE `Action` = '_F79B2DE2_FB27_43A1_83E5_D28BD8CCD97C.SetProperty'
MSI (s) (24:B4) [14:58:00:659]: PROPERTY CHANGE: Adding _F79B2DE2_FB27_43A1_83E5_D28BD8CCD97C property. Its value is 'ADDRESS="" PROXY="" ACCOUNTNAME="" PASSWORD="" PASSWORDHASH="" KEEPLOCALDATA="" DELETELOGDATA="" INSTALLLOC="C:\Program Files\Windows Event Reporting\Install\WERSource-6.2.4018\" UILEVEL="3" INSTALL_CONFIG="1" ALLOW_SSL=""'.
Action start 14:58:00: _F79B2DE2_FB27_43A1_83E5_D28BD8CCD97C.SetProperty.
MSI (s) (24:B4) [14:58:00:659]: Doing action: _F79B2DE2_FB27_43A1_83E5_D28BD8CCD97C
Action ended 14:58:00: _F79B2DE2_FB27_43A1_83E5_D28BD8CCD97C.SetProperty. Return value 1.
MSI (s) (24:B4) [14:58:00:659]: Note: 1: 2235 2: 3: ExtendedType 4: SELECT `Action`,`Type`,`Source`,`Target`, NULL, `ExtendedType` FROM `CustomAction` WHERE `Action` = '_F79B2DE2_FB27_43A1_83E5_D28BD8CCD97C'
Action start 14:58:00: _F79B2DE2_FB27_43A1_83E5_D28BD8CCD97C.
MSI (s) (24:B4) [14:58:00:659]: Doing action: UnpublishComponents
Later on:
MSI (s) (24:B4) [14:58:00:870]: Executing op: ActionStart(Name=_F79B2DE2_FB27_43A1_83E5_D28BD8CCD97C,,)
MSI (s) (24:B4) [14:58:00:870]: Executing op: CustomActionSchedule(Action=_F79B2DE2_FB27_43A1_83E5_D28BD8CCD97C,ActionType=3089,Source=C:\Program Files\Windows Event Reporting\Install\WERSource-6.2.4018\EventReporting.InstallHelper.dll,Target=Uninstall,CustomActionData=ADDRESS="" PROXY="" ACCOUNTNAME="" PASSWORD="" PASSWORDHASH="" KEEPLOCALDATA="" DELETELOGDATA="" INSTALLLOC="C:\Program Files\Windows Event Reporting\Install\WERSource-6.2.4018\" UILEVEL="3" INSTALL_CONFIG="1" ALLOW_SSL="")
MSI (s) (24:20) [14:58:00:870]: Invoking remote custom action. DLL: SomePath\InstallHelper.dll, Entrypoint: Uninstall
The properties
ACCOUNTNAME=""
PASSWORD="" are what is provided on the command line to the new version of the product. And the new installer knows to pass them on to the old uninstaller!
But for some reason the values of the properties are not passed in.
Here is the part of the command line for the new version:
setup.exe /qb+ ACCOUNTNAME="admin" PASSWORD="pass"
So, does it look like this should work? The properties from the command line of the new version should be passed to the old one?
Thanks!