Uninstalling Product after patching - Advanced Installer Community

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!

Maverick
Posts: 54
Joined: Mon Aug 18, 2008 12:11 pm

Uninstalling Product after patching

Hello,

I've created a chained installation master.exe where I install product.msi . After a time I've created a Patch for Product.msi and applied it to the msi.

But now when I want to uninstall master.exe my product.msi is not uninstalled. The Uninstall Parameter is REMOVE="ALL"

Without applying the patch it works fine and like expected.

How can I uninstall that patched product.msi? Or is this an issue in Advanced Installer?

Regards

Gary
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Uninstalling Product after patching

Hi Gary,

The upgraded installation should be uninstalled without issues either via command line, running the package in maintenance mode or from the control panel.
But now when I want to uninstall master.exe my product.msi is not uninstalled. The Uninstall Parameter is REMOVE="ALL"
I'm not sure I fully understand what you mean by this. Can you please describe the uninstall process step by step?

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Uninstalling Product after patching

Hi Gary,

Just to be sure I understood you correctly, is the package "product.msi" added as a chained package in another package, i.e. master.exe?

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Maverick
Posts: 54
Joined: Mon Aug 18, 2008 12:11 pm

Re: Uninstalling Product after patching

Hi Bogdan,

yes you are right. A mastersetup master.exe has many features . Each feature calls a chained installation like product1.msi, product2.msi,.... and so on.
Imagine I have 10 product.msi in my master setup, and after a while I created Patches for product1.msi and product3.msi.

Now after the patches are applied I want to deinstall my mastersetup including all installed product.msi.


That works fine except the product1.msi and product3.msi because that msi's were patched.

The msi's are called with the parameter REMOVE="ALL" in the configurationpage of chained installations during uninstall.

Gary
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Uninstalling Product after patching

Hi Gary,

Please bare with me so I get the steps you are doing straight:
1. Install master package with let's say each child product package in version 1.0
2. Upgrade only two child products to version 1.1 using two individual patches
3. Run the master package again and expect to uninstall even the two upgraded packages?

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Maverick
Posts: 54
Joined: Mon Aug 18, 2008 12:11 pm

Re: Uninstalling Product after patching

Hi Mihai,

Yes you are right. Thats the way I expected.

Gary
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Uninstalling Product after patching

Hi Gary,

Please keep in mind that this is not the intended functionality of the master package, thus you are getting expected behavior.
Generically, a package can install, remove or repair only the application version it was built for. If you upgrade the application on the target machine( using patch, major upgrade, etc. ), then the original version package cannot remove the upgraded application.

Spread this out to chained packages and it implies a chained package installation can only install, remove or repair the applications' versions it includes.

Patching is usually a very delicate process and requires careful settings. We recommend you go through the links from the following post at least once to avoid any future unexpected, unwanted behavior:
http://www.advancedinstaller.com/forums ... 433#p46433

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”