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.
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.
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.
FOLLOW US
Get the latest news in Application Packaging