Question

How does Chromeframe install without admin privileges?

If I wanted to create a BHO in C#, would it be possible to follow the same process?

If I understand correctly, I need to save the DLL on the client, I then also have to add a registry key to register the DLL as a BHO. How does chrome-frame do this in a restricted environment?

Was it helpful?

Solution

Chrome Frame is writing to the current user (HKCU) registry hive (HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Extensions), not the local machine (HKLM). You do not need administrative permissions to write to the current user hive.

Secondly, Google puts the DLL somewhere in %APPDATA% (like the Chrome Browser itself), not Program Files, which also does not require Administrative permissions.

The sum it up, Chrome Frame is just being installed into places that do not require elevated permissions to access, and yes, you can do it too.

As Serge pointed out in the comment below, this also means that the BHO must be installed for every user that wants to use it, which to me, is a good thing.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top