I'm installing into a fixed directory, one that doesn't include the version.
Each new version overwrites the old. But in Windows' control panel I have several versions, when I only want one, the latest.
Of course uninstalling "old versions" actually uninstalls the latest (and only one, there are no actual uninstallers for each version), which is going to confuse users.
So the question is as the title says, what do I put in my project to avoid Windows thinking I have several versions installed?
asked 30 Jul '13, 18:38
You could just simply set the below setting:
That will force all the versions to write their keys to the same place.
You could also delete the previous keys using the below code:
answered 31 Jul '13, 07:40
in addition to using a single registry key, and disabling rollback, seems to have fixed the issue. No more phantom installers left behind.
answered 22 Oct '13, 22:30