daniel-lerch / vocup

Vocabulary trainer.
https://www.microsoft.com/p/vocup/9n6w2h3qjqmm
GNU Affero General Public License v3.0
9 stars 3 forks source link

Detect legacy Vocup version #12

Closed daniel-lerch closed 5 years ago

daniel-lerch commented 5 years ago

Many users that are not using Vocup for the first time might have a classic version installed, although they are using the Windows 10 version. If the current user has administrator rights, Vocup should propose uninstalling the old version.

Detecting an old version could be done by checking the following registry keys:

32 bit: HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Vocup_is1
64 bit: HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Vocup_is1