Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How does the sourcetree installer add the HKEY_Classes_Root entry for the protocol without elevated privileges?

J. Brad Harris June 24, 2016

the Sourcetree installer doesn't request elevation when installing the first time, however it creates an entry in the HKEY_CLASSES_ROOT registry hive, and I can't figure out how it does that.

 

This question is more for the maintainers/authors of sourcetree than the community. I have an app where I need to register a protocol handler as well, but I can't write to that registry key without elevation, however I noticed sourcetree does it somehow.

 

I'll owe you a beer.

 

Brad

1 answer

0 votes
QwazyWabbit
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 25, 2016

I can't speak for Atlassian but I suspect this is because their installer is digitally signed and that signature is trusted by Windows for installation and registry modification.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events