How to Know ClickOnce's Registry Uninstall Key before installing it -
How to Know ClickOnce's Registry Uninstall Key before installing it -
i want check if clickonce app installed or not ...
the easiest way check:
hkey_current_user\software\microsoft\windows\currentversion\uninstall*uninstallid*
but have no clue retrieve (via ".manifest" etc.) uninstallid clickonce app repository.
any ideas?
you can programmatically read through keys in hkcu\software\microsoft\windows\currentversion\uninstall , check displayname on each key. match product name of clickonce application. if find match, it's installed.
if can have multiple versions of same application installed, can check displayversion, and/or search uninstall string matching public key token.
registry clickonce
Comments
Post a Comment