RemoveExistingProducts location
In the default location in Package Studio for RemoveExistingProducts - after InstallFinalize - if the removal of the old product fails, it leaves both old and new versions.
The SDK says best to sequence between InstallExecute and InstallFinlize to roll back removal of the old and the install of the new - but it's not working for me, still getting both versions on a failed removal. Any suggestions?
The SDK says best to sequence between InstallExecute and InstallFinlize to roll back removal of the old and the install of the new - but it's not working for me, still getting both versions on a failed removal. Any suggestions?
0 Comments
[ + ] Show comments
Answers (4)
Please log in to answer
Posted by:
zipsantro
15 years ago
Posted by:
anonymous_9363
15 years ago
RemoveExistingProducts is so positioned in order to keep uninstall activity to a minimum. The logic goes that, for the majority of cases, files are generally the same and, if removed before the new version is installed, would simply be replaced. Therefore, leaving this action until the end reduces such pointlessness.
That's the theory, anyway...
http://msdn.microsoft.com/en-us/library/aa371197(VS.85).aspx
That's the theory, anyway...
http://msdn.microsoft.com/en-us/library/aa371197(VS.85).aspx
Posted by:
LouisW
15 years ago
Posted by:
jmcfadyen
15 years ago
more detail on the upgrade process here .
http://johnmcfadyen.spaces.live.com/blog/cns!9DD01136FC094724!249.entry
http://johnmcfadyen.spaces.live.com/blog/cns!9DD01136FC094724!249.entry
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.