VS2008 setup projects provide the option to halt installation if a newer version is detected by setting "DetectNewerInstalledVersion". Is there a way to remove a newer version if it exists ie similar to "RemovePreviousVersions" options?
Asked
Active
Viewed 1,166 times
1
1 Answers
2
I personally have wished for this too, but only in the context of triaging inconsistincies between versions and testing installers as I write them!
Not meaning to be smart, but how would this help the user - it merely exposes them to risk of undoing a good installation.
See also .NET Install Package Sometimes Not Completely Removing Previous Versions
As 2008 doesnt do a naive uninstall + install, the install step would need to be able to handle both upgrade and downgrade scenarios.
So 1) beause 2008 doesnt work that way, 2) because its not a normal use case

Community
- 1
- 1

Ruben Bartelink
- 59,778
- 26
- 187
- 249