We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

sbrown_el
Posts: 20
Joined: Wed Dec 05, 2012 4:07 pm

Update uninstall process for an installed product?

We have a situation where a patch from MS has somehow killed our uninstall process - we're not sure which one, however updating to the latest AI version did not solve the issue, and traces of the process with Process Monitor shows the Main Uninstall UI thread ends up in hung state trying to start a subprocess MSI.

We did find that if we kill the main UI thread, the rest of the uninstall process completes without error. All the steps are therefore valid - but something is now preventing execution in the sequence we intended.

After some trial and error, we've found that reordering some custom actions involving COM, DCOM and COM+ (this is a very old app) allows the uninstall process to occur properly. My personal belief is that the old code was actually in error, and this is not an AI issue... correcting the order of the custom actions was long overdue.

However, the big question now is how to correct for this.

Is there a way to update the main MSI code associated with an installed package without actually updating the installed payload? Ideally, this would be something that could be done on a live system without requiring a reboot.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Update uninstall process for an installed product?

Hello,

In order to achieve this you can recache the MSI on the related target machines. Please take a look on our "How do I remove a broken installation?" article which debates a similar issue.

If you have any question let us know.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”