I am writing a Wix-based installer that should be updated from older, non-msi-based installations. I discovered instances of previously installed components by searching directly in the registry.
To find the uninstaller for a component, I look in
HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\MyProgram
And get the UninstallString
value. This is fine, but I realized that for a 32-bit installation on a 64-bit machine, the record is actually on
HKLM\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\MyProgram
Should I look elsewhere?
source share