The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

J. Brad Harris
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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 Champions.
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.

TAGS
AUG Leaders

Atlassian Community Events