Thanks.
Purpose of moving RemoveExistingProducts below InstallFinali
Posted 28 December 2001 - 01:23
Posted 28 December 2001 - 02:22
If it is placed early in the sequence the whole of the previous product is removed before the new verson is installed. This can involve a lot of file movement and caching, even for components that are completely unchanged.
The optimum position for RemoveExistingProducts is after InstallFinalize. In this case the old install will not remove components that are still in the new version. This clearly results in less file movement and registry activitiy.
It is quite normal for RemoveExistingProducts to be the last action in the install execute sequence. It is unusual to have other actions after InstallFinalize.
Posted 28 December 2001 - 19:35
In your reply you have mentioned, "It is quite normal for RemoveExistingProducts to be the last action in the install execute sequence. It is unusual to have other actions after InstallFinalize. "
So does it make any difference if other actions are placed after InstallFinalize and before RemoveExistingProducts, RemoveExistingPRoducts being the last one in the sequence? Because, in my install project, i have a lot of CAs placed after InstallFinalize and RemoveExistingProducts is the last one.
Thanks.
Posted 29 December 2001 - 03:05
I have read somewhere (not in the documentation) that the values of component, feature and some property values are unsafe after InstallFinalize but I have never seen any evidence of this.