how does another app check if my app is installed and what version is installed (and then be able to launch my app's exe)
I thought I could have them check HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\{guid} but that isn't written consistently (I tried a Win7 and a Vista machine), plus when it was written it had the ProductCode guid (which changes per version) instead of the fixed UpgradeCode guid
More reliable seems to be HKLM\Software\Microsoft\Windows\CurrentVersion\App Paths\myapp.exe (default value)
which I write during setup.
so I added another Version value to write [ProductVersion]
now my partner's app can check that latter key for both the path and version (and implicitly, by its existence, if my app is even installed)
is that the best way to do it?
Where the heck is the info stored such that my app appears in the Windows Uninstall Programs list (and it does appear there)
thanks,
JT
FOLLOW US
Get the latest news in Application Packaging