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

Popular posts from this blog

javascript - mongodb won't find my schema method in nested container -

r - url in CRAN extension manual -

asp.net - .NET Control.ID property inconsistency -