cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
vikramarwade
Level 2

Major upgrade does not uninstall old product

Hi All,

I am trying to do a major upgrade using IS 2008(MSI). In the log I see that FindRelatedProducts has identified that there is another product installed on the system, but RemoveExistingProducts does not remove it.

Action 0:46:17: FindRelatedProducts. Searching for related applications
Action start 0:46:17: FindRelatedProducts.
FindRelatedProducts: Found application: {9DEDCD39-77F4-439E-95BD-5014B1B30C30}
MSI (c) (70:D8) [00:46:17:748]: PROPERTY CHANGE: Adding ISACTIONPROP2 property. Its value is '{9DEDCD39-77F4-439E-95BD-5014B1B30C30}'.
MSI (c) (70:D8) [00:46:17:748]: PROPERTY CHANGE: Adding MIGRATE property. Its value is '{9DEDCD39-77F4-439E-95BD-5014B1B30C30}'.
...
Action ended 0:46:30: InstallValidate. Return value 1.
MSI (s) (3C:9C) [00:46:30:670]: Doing action: RemoveExistingProducts
Action 0:46:30: RemoveExistingProducts. Removing applications
Action start 0:46:30: RemoveExistingProducts.
Action ended 0:46:30: RemoveExistingProducts. Return value 1.

I have RemoveExistingProducts scheduled after InstallValidate and before InstallInitialize.

I verified upgradecode which is same as the old product. I have changed packagecode, productcode and also incremented the second digit in the version number(upgrade from 5.0.25.0 to 5.1.3.0).

Thanks,
--Vikram
Labels (1)
0 Kudos
(1) Reply
vikramarwade
Level 2

My bad. I got it working. For some reason one of my CA was resetting it to NULL based on a property which was set by another CA. The problem was in sequencing where the CA that needs to set the property was being called after the CA that resets the property.
0 Kudos