Hello,
Recently, we noticed multiple instances of our application in control panel when we upgrade our application from earlier versions ie., 1.30 to 1.31 (or) 1.20 to 1.31. App v1.31 is prepared using the AI14.1.1, whereas 1.20 and 1.30 Apps are prepared using earlier versions of AI. On checking the MSI logs, we observed a problem with the "RemoveExistingProducts" Action returning value 1 (Case 3) and the lines are highlighted for easy comparison. Could you please help us with this?
Sample Product codes:
App-Version --> Product Code
1.20 --> 11111111-1111-1111-1111-111111111111
1.30 --> 22222222-2222-2222-2222-222222222222
1.31 --> 33333333-3333-3333-3333-333333333333
Case1: [WORKING AS EXPECTED]
1.20 (Fresh/Full Installation):
APPCOMPAT: looking for appcompat database entry with ProductCode '{11111111-1111-1111-1111-111111111111}'.
MSI (s) (64:4C) [15:50:27:587]: Doing action: RemoveExistingProducts
Action start 15:50:27: RemoveExistingProducts.
MSI (s) (64:68) [15:50:27:587]: Resetting cached policy values
MSI (s) (64:68) [15:50:27:587]: Machine policy value 'Debug' is 0
MSI (s) (64:68) [15:50:27:587]: ******* RunEngine:
******* Product: ""
******* Action:
******* CommandLine: **********
MSI (s) (64:68) [15:50:27:587]: MSI_DBG: Provided descriptor less than minimum size
CustomAction returned actual error code 1605 but will be translated to success due to continue marking
Action ended 15:50:27: RemoveExistingProducts. Return value 1.
MSI (s) (64:4C) [15:50:27:587]: Doing action: InstallInitialize
Case2: [WORKING AS EXPECTED]
1.20-1.30 (Upgrade Installation):
APPCOMPAT: looking for appcompat database entry with ProductCode '{22222222-2222-2222-2222-222222222222}'.
MSI (s) (74:48) [16:12:16:164]: Doing action: RemoveExistingProducts
Action 16:12:16: RemoveExistingProducts. Removing applications
Action start 16:12:16: RemoveExistingProducts.
RemoveExistingProducts: Application: "", Command line: UPGRADINGPRODUCTCODE={22222222-2222-2222-2222-222222222222} CLIENTPROCESSID=2560 CLIENTUILEVEL=0 REMOVE=MainFeature
MSI (s) (74:68) [16:12:16:164]: Resetting cached policy values
MSI (s) (74:68) [16:12:16:164]: Machine policy value 'Debug' is 0
MSI (s) (74:68) [16:12:16:164]: ******* RunEngine:
******* Product: ""
******* Action:
******* CommandLine: **********
MSI (s) (74:68) [16:12:16:164]: MSI_DBG: Provided descriptor less than minimum size
CustomAction returned actual error code 1605 but will be translated to success due to continue marking
RemoveExistingProducts: Application: {11111111-1111-1111-1111-111111111111}, Command line: UPGRADINGPRODUCTCODE={22222222-2222-2222-2222-222222222222} CLIENTPROCESSID=2560 CLIENTUILEVEL=0 REMOVE=MainFeature
MSI (s) (74:4C) [16:12:16:164]: Resetting cached policy values
Case3: [ISSUE CASE]
1.30-1.31 (Upgrade Installation):
APPCOMPAT: looking for appcompat database entry with ProductCode '{33333333-3333-3333-3333-333333333333}'.
Action 11:53:11: RemoveExistingProducts. Removing applications
Action start 11:53:11: RemoveExistingProducts.
RemoveExistingProducts: Application: "", Command line: UPGRADINGPRODUCTCODE={33333333-3333-3333-3333-333333333333} CLIENTPROCESSID=8168 CLIENTUILEVEL=0 REMOVE=MainFeature
MSI (s) (34:A0) [11:53:11:690]: Resetting cached policy values
MSI (s) (34:A0) [11:53:11:690]: Machine policy value 'Debug' is 0
MSI (s) (34:A0) [11:53:11:690]: ******* RunEngine:
******* Product: ""
******* Action:
******* CommandLine: **********
MSI (s) (34:A0) [11:53:11:690]: MSI_DBG: Provided descriptor less than minimum size
CustomAction returned actual error code 1605 but will be translated to success due to continue marking
Action ended 11:53:11: RemoveExistingProducts. Return value 1.
MSI (s) (34:18) [11:53:11:690]: Doing action: InstallInitialize
Regards,
Edward Joe
FOLLOW US
Get the latest news in Application Packaging