Chained Packages uninstall order - 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!

Arthur
Posts: 69
Joined: Wed May 19, 2010 9:53 am

Chained Packages uninstall order

Hi,

I have an installer with some chained packages in it. During uninstall, the packages seem to be removed in the same order as that in which they were installed. Can this be changed? I think someone asked about this a while ago and was a feature you were hoping to implement.

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

Re: Chained Packages uninstall order

Hi Arthur,

This is not exactly standard behavior. Can you please underline an example scenario when you would need this?

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Arthur
Posts: 69
Joined: Wed May 19, 2010 9:53 am

Re: Chained Packages uninstall order

Hi Mihai, I have five packages that I wish to install. Packages 2 to 5 depend upon package 1 being installed. I have added packages 2 to 5 to package 1 as chained packages. The install works, as package 1 is installed first. Uninstall doesn't work, because package 1 can't be uninstalled before packages 2 to 5. I know this isn't standard behaviour, but this has been asked about before and you have implied that you might be able to do something in the reply shown below:

Re: Chained Package Uninstall Order

Postby cosmin » Wed Sep 10, 2008 8:31 am
Hi Jorge,

I'm afraid that the uninstall order is the the same as the install order (this cannot be controlled). However, I have added on our TODO list an improvement which will make the packages uninstall in a reverse order (last package first). Thank you for your suggestion.

Regards,
Cosmin

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

Re: Chained Packages uninstall order

Hi Arthur,

The behavior my colleague Cosmin mentioned is already implemented by default. This means if you have chained packages 1, 2, 3 then the install order will be 1, 2, 3 and the uninstall order will be 3, 2, 1. Apart from this default, the order cannot be customized.

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

Return to “Common Problems”