VS2008 Setup Project - Overwrite New Version

VS2008 customization projects provide the ability to stop the installation if a newer version is detected by setting "DetectNewerInstalledVersion". Is there a way to remove the newer version if it exists, similar to the "RemovePreviousVersions" options?

+1


source to share


1 answer


I personally wished for this too, but only in the context of the inconsistency tricks between versions and test installers as I write them!

It doesn't mean to be smart, but how it helps the user - it just exposes them to the risk of ruining a good installation.

See also .NET Install Package Sometimes does not completely uninstall previous versions



Since 2008 does not perform a naive uninstall + install, the install step should be able to handle upgrade and downgrade scenarios.

So 1) because 2008 doesn't work, 2) because this is not a common use case

+2


source







All Articles