phainge
Posts: 13
Joined: Fri May 29, 2009 9:53 am

Chained MSI not being uninstalled

I have an MSI package that incorporates a chained MSI that is installed via a custom action, there is another custom action which ensures that the chained MSI is uninstalled with the main MSI package - this all works fine. My problem comes after I install an upgrade to the main MSI package - if the main MSI package is then uninstalled, the chained MSI is not uninstalled and is left behind, and it cannot then be removed manually using Add/Remove Programs as it displays the message "This action is only valid for products that are currently installed". To get the chained MSI to uninstall I have to reiunstall and then remove the original (pre-upgrade) MSI package.

Does anyone know why this is happening? Can a chained MSI be removed only by the original MSI package and not one that has been upgraded, i.e. is the chained MSI linked to the package code of the original non-upgraded MSI package? If so how can I overcome this?

Peter
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Chained MSI not being uninstalled

Hi Peter,

What you are doing is not a chained msi. Chained MSIs are a separate feature of Windows Installer 4.5 and above. Please note that two .MSI installers can not run at the same time.
Please send us your .aip project file to support at advancedinstaller dot com so we can investigate the issue.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”