Windows Vista Tips

Windows Vista Tips > Newsgroups > Internet Explorer > Per-User BHO

Reply
 
 
Yannick
Guest
Posts: n/a

 
      12-24-2009
Hi,

I would like to know if it is possible to install a BHO not at the machine
level but just for the current user? Just want to avoid the UAC alert during
the registration...

Thanks
 
Reply With Quote
 
 
 
 
rob^_^
Guest
Posts: n/a

 
      12-25-2009
Hi,

Yes. Just register your BHO to
HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Explorer\Browser
Helper Objects
(see the Foxmarks Bookmarks manager Addon)

Change your BHO's OLESelfregister entries to write to the HKCU or remove the
BHO registration (not the DLL registration entries for HKCR) from the BHO
DLL and place it in your Window's Installer. What installation package
building software are you using? It is usual though to only allow COM Addon
installation for powerusers and above. You installer package may have
options to specify which User Profile (Admin or Guest) may install your BHO.
If you are writing elsewhere in the HKLM hive then your will HAVE TO install
with Administrator rights.

You can obtain technical help with IE Addon development at the IE Addons
Development Forum -
http://social.msdn.microsoft.com/For...opment/threads

Regards.

"Yannick" <> wrote in message
news:3F9C3992-1B3D-447B-A688-...
> Hi,
>
> I would like to know if it is possible to install a BHO not at the machine
> level but just for the current user? Just want to avoid the UAC alert
> during
> the registration...
>
> Thanks
>

 
Reply With Quote
 
Yannick
Guest
Posts: n/a

 
      12-27-2009
Hi,

I followed this tutorial to create my BHO:
http://msdn.microsoft.com/en-us/libr...89(VS.85).aspx

I currently register my BHO with regsvr32 and I do not plan to use an
installation package.

I tried to edit the rgs files to use
HKCU\Software\Microsoft\Windows\CurrentVersion\Exp lorer\Browser Helper Objects
and HKCU\Software\Classes, I also asked the Typelib to not be automatically
registered / unregistered and used instead RegisterTypeLibForUser /
UnRegisterTypeLibForUser. I get no error during the registration but the BHO
does not appear in the IE add-ons list.

Is there a different way to proceed?

Thank you,
Yannick

"rob^_^" wrote:

> Hi,
>
> Yes. Just register your BHO to
> HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Explorer\Browser
> Helper Objects
> (see the Foxmarks Bookmarks manager Addon)
>
> Change your BHO's OLESelfregister entries to write to the HKCU or remove the
> BHO registration (not the DLL registration entries for HKCR) from the BHO
> DLL and place it in your Window's Installer. What installation package
> building software are you using? It is usual though to only allow COM Addon
> installation for powerusers and above. You installer package may have
> options to specify which User Profile (Admin or Guest) may install your BHO.
> If you are writing elsewhere in the HKLM hive then your will HAVE TO install
> with Administrator rights.
>
> You can obtain technical help with IE Addon development at the IE Addons
> Development Forum -
> http://social.msdn.microsoft.com/For...opment/threads
>
> Regards.
>
> "Yannick" <> wrote in message
> news:3F9C3992-1B3D-447B-A688-...
> > Hi,
> >
> > I would like to know if it is possible to install a BHO not at the machine
> > level but just for the current user? Just want to avoid the UAC alert
> > during
> > the registration...
> >
> > Thanks
> >

 
Reply With Quote
 
rob^_^
Guest
Posts: n/a

 
      12-27-2009
Hi Yannick,

You should only have to change this

HKLM {
NoRemove SOFTWARE {
NoRemove Microsoft {
NoRemove Windows {
NoRemove CurrentVersion {
NoRemove Explorer {
NoRemove 'Browser Helper Objects' {
ForceRemove '{D2F7E1E3-C9DC-4349-B72C-D5A708D6DD77}' = s
'HelloWorldBHO' {
val 'NoExplorer' = d '1'
}
}
}
}
}
}
}
}

to

HKCU {
NoRemove SOFTWARE {
NoRemove Microsoft {
NoRemove Windows {
NoRemove CurrentVersion {
NoRemove Explorer {
NoRemove 'Browser Helper Objects' {
ForceRemove '{D2F7E1E3-C9DC-4349-B72C-D5A708D6DD77}' = s
'HelloWorldBHO' {
val 'NoExplorer' = d '1'
}
}
}
}
}
}
}
}

Note also the NoExplorer Flag value.

If you have any further problems can you please start a new thread in the IE
Extensions Development forum here -

http://social.msdn.microsoft.com/For...opment/threads

This Public NG is more for Bob and Betty users and they may find these
technical topics confusing and look elsewhere for the right answer.

Regards.

"Yannick" <> wrote in message
news:C0C307ED-5100-4DB0-8F5D-...
> Hi,
>
> I followed this tutorial to create my BHO:
> http://msdn.microsoft.com/en-us/libr...89(VS.85).aspx
>
> I currently register my BHO with regsvr32 and I do not plan to use an
> installation package.
>
> I tried to edit the rgs files to use
> HKCU\Software\Microsoft\Windows\CurrentVersion\Exp lorer\Browser Helper
> Objects
> and HKCU\Software\Classes, I also asked the Typelib to not be
> automatically
> registered / unregistered and used instead RegisterTypeLibForUser /
> UnRegisterTypeLibForUser. I get no error during the registration but the
> BHO
> does not appear in the IE add-ons list.
>
> Is there a different way to proceed?
>
> Thank you,
> Yannick
>
> "rob^_^" wrote:
>
>> Hi,
>>
>> Yes. Just register your BHO to
>> HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Explorer\Browser
>> Helper Objects
>> (see the Foxmarks Bookmarks manager Addon)
>>
>> Change your BHO's OLESelfregister entries to write to the HKCU or remove
>> the
>> BHO registration (not the DLL registration entries for HKCR) from the BHO
>> DLL and place it in your Window's Installer. What installation package
>> building software are you using? It is usual though to only allow COM
>> Addon
>> installation for powerusers and above. You installer package may have
>> options to specify which User Profile (Admin or Guest) may install your
>> BHO.
>> If you are writing elsewhere in the HKLM hive then your will HAVE TO
>> install
>> with Administrator rights.
>>
>> You can obtain technical help with IE Addon development at the IE Addons
>> Development Forum -
>> http://social.msdn.microsoft.com/For...opment/threads
>>
>> Regards.
>>
>> "Yannick" <> wrote in message
>> news:3F9C3992-1B3D-447B-A688-...
>> > Hi,
>> >
>> > I would like to know if it is possible to install a BHO not at the
>> > machine
>> > level but just for the current user? Just want to avoid the UAC alert
>> > during
>> > the registration...
>> >
>> > Thanks
>> >

 
Reply With Quote
 
Yannick
Guest
Posts: n/a

 
      12-28-2009
Hi,

OK, I'm gonna start a thread on the IE Extension Development forum. Is there
a NG dedicated to this area? I'm used to post on newsgroups, I'm not really a
discussion boards user.

Thank you,
Yannick

"rob^_^" wrote:

> Hi Yannick,
>
> You should only have to change this
>
> HKLM {
> NoRemove SOFTWARE {
> NoRemove Microsoft {
> NoRemove Windows {
> NoRemove CurrentVersion {
> NoRemove Explorer {
> NoRemove 'Browser Helper Objects' {
> ForceRemove '{D2F7E1E3-C9DC-4349-B72C-D5A708D6DD77}' = s
> 'HelloWorldBHO' {
> val 'NoExplorer' = d '1'
> }
> }
> }
> }
> }
> }
> }
> }
>
> to
>
> HKCU {
> NoRemove SOFTWARE {
> NoRemove Microsoft {
> NoRemove Windows {
> NoRemove CurrentVersion {
> NoRemove Explorer {
> NoRemove 'Browser Helper Objects' {
> ForceRemove '{D2F7E1E3-C9DC-4349-B72C-D5A708D6DD77}' = s
> 'HelloWorldBHO' {
> val 'NoExplorer' = d '1'
> }
> }
> }
> }
> }
> }
> }
> }
>
> Note also the NoExplorer Flag value.
>
> If you have any further problems can you please start a new thread in the IE
> Extensions Development forum here -
>
> http://social.msdn.microsoft.com/For...opment/threads
>
> This Public NG is more for Bob and Betty users and they may find these
> technical topics confusing and look elsewhere for the right answer.
>
> Regards.
>
> "Yannick" <> wrote in message
> news:C0C307ED-5100-4DB0-8F5D-...
> > Hi,
> >
> > I followed this tutorial to create my BHO:
> > http://msdn.microsoft.com/en-us/libr...89(VS.85).aspx
> >
> > I currently register my BHO with regsvr32 and I do not plan to use an
> > installation package.
> >
> > I tried to edit the rgs files to use
> > HKCU\Software\Microsoft\Windows\CurrentVersion\Exp lorer\Browser Helper
> > Objects
> > and HKCU\Software\Classes, I also asked the Typelib to not be
> > automatically
> > registered / unregistered and used instead RegisterTypeLibForUser /
> > UnRegisterTypeLibForUser. I get no error during the registration but the
> > BHO
> > does not appear in the IE add-ons list.
> >
> > Is there a different way to proceed?
> >
> > Thank you,
> > Yannick
> >
> > "rob^_^" wrote:
> >
> >> Hi,
> >>
> >> Yes. Just register your BHO to
> >> HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Explorer\Browser
> >> Helper Objects
> >> (see the Foxmarks Bookmarks manager Addon)
> >>
> >> Change your BHO's OLESelfregister entries to write to the HKCU or remove
> >> the
> >> BHO registration (not the DLL registration entries for HKCR) from the BHO
> >> DLL and place it in your Window's Installer. What installation package
> >> building software are you using? It is usual though to only allow COM
> >> Addon
> >> installation for powerusers and above. You installer package may have
> >> options to specify which User Profile (Admin or Guest) may install your
> >> BHO.
> >> If you are writing elsewhere in the HKLM hive then your will HAVE TO
> >> install
> >> with Administrator rights.
> >>
> >> You can obtain technical help with IE Addon development at the IE Addons
> >> Development Forum -
> >> http://social.msdn.microsoft.com/For...opment/threads
> >>
> >> Regards.
> >>
> >> "Yannick" <> wrote in message
> >> news:3F9C3992-1B3D-447B-A688-...
> >> > Hi,
> >> >
> >> > I would like to know if it is possible to install a BHO not at the
> >> > machine
> >> > level but just for the current user? Just want to avoid the UAC alert
> >> > during
> >> > the registration...
> >> >
> >> > Thanks
> >> >

 
Reply With Quote
 
rob^_^
Guest
Posts: n/a

 
      12-28-2009
No. There is only the web interface available from the MSDN portals. It’s a
pretty good interface though... full copy and paste support of code
snippets.

Regards.



"Yannick" <> wrote in message
news:018C19C3-FA1D-4022-9833-...
> Hi,
>
> OK, I'm gonna start a thread on the IE Extension Development forum. Is
> there
> a NG dedicated to this area? I'm used to post on newsgroups, I'm not
> really a
> discussion boards user.
>
> Thank you,
> Yannick
>
> "rob^_^" wrote:
>
>> Hi Yannick,
>>
>> You should only have to change this
>>
>> HKLM {
>> NoRemove SOFTWARE {
>> NoRemove Microsoft {
>> NoRemove Windows {
>> NoRemove CurrentVersion {
>> NoRemove Explorer {
>> NoRemove 'Browser Helper Objects' {
>> ForceRemove '{D2F7E1E3-C9DC-4349-B72C-D5A708D6DD77}' = s
>> 'HelloWorldBHO' {
>> val 'NoExplorer' = d '1'
>> }
>> }
>> }
>> }
>> }
>> }
>> }
>> }
>>
>> to
>>
>> HKCU {
>> NoRemove SOFTWARE {
>> NoRemove Microsoft {
>> NoRemove Windows {
>> NoRemove CurrentVersion {
>> NoRemove Explorer {
>> NoRemove 'Browser Helper Objects' {
>> ForceRemove '{D2F7E1E3-C9DC-4349-B72C-D5A708D6DD77}' = s
>> 'HelloWorldBHO' {
>> val 'NoExplorer' = d '1'
>> }
>> }
>> }
>> }
>> }
>> }
>> }
>> }
>>
>> Note also the NoExplorer Flag value.
>>
>> If you have any further problems can you please start a new thread in the
>> IE
>> Extensions Development forum here -
>>
>> http://social.msdn.microsoft.com/For...opment/threads
>>
>> This Public NG is more for Bob and Betty users and they may find these
>> technical topics confusing and look elsewhere for the right answer.
>>
>> Regards.
>>
>> "Yannick" <> wrote in message
>> news:C0C307ED-5100-4DB0-8F5D-...
>> > Hi,
>> >
>> > I followed this tutorial to create my BHO:
>> > http://msdn.microsoft.com/en-us/libr...89(VS.85).aspx
>> >
>> > I currently register my BHO with regsvr32 and I do not plan to use an
>> > installation package.
>> >
>> > I tried to edit the rgs files to use
>> > HKCU\Software\Microsoft\Windows\CurrentVersion\Exp lorer\Browser Helper
>> > Objects
>> > and HKCU\Software\Classes, I also asked the Typelib to not be
>> > automatically
>> > registered / unregistered and used instead RegisterTypeLibForUser /
>> > UnRegisterTypeLibForUser. I get no error during the registration but
>> > the
>> > BHO
>> > does not appear in the IE add-ons list.
>> >
>> > Is there a different way to proceed?
>> >
>> > Thank you,
>> > Yannick
>> >
>> > "rob^_^" wrote:
>> >
>> >> Hi,
>> >>
>> >> Yes. Just register your BHO to
>> >> HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Explorer\Browser
>> >> Helper Objects
>> >> (see the Foxmarks Bookmarks manager Addon)
>> >>
>> >> Change your BHO's OLESelfregister entries to write to the HKCU or
>> >> remove
>> >> the
>> >> BHO registration (not the DLL registration entries for HKCR) from the
>> >> BHO
>> >> DLL and place it in your Window's Installer. What installation package
>> >> building software are you using? It is usual though to only allow COM
>> >> Addon
>> >> installation for powerusers and above. You installer package may have
>> >> options to specify which User Profile (Admin or Guest) may install
>> >> your
>> >> BHO.
>> >> If you are writing elsewhere in the HKLM hive then your will HAVE TO
>> >> install
>> >> with Administrator rights.
>> >>
>> >> You can obtain technical help with IE Addon development at the IE
>> >> Addons
>> >> Development Forum -
>> >> http://social.msdn.microsoft.com/For...opment/threads
>> >>
>> >> Regards.
>> >>
>> >> "Yannick" <> wrote in message
>> >> news:3F9C3992-1B3D-447B-A688-...
>> >> > Hi,
>> >> >
>> >> > I would like to know if it is possible to install a BHO not at the
>> >> > machine
>> >> > level but just for the current user? Just want to avoid the UAC
>> >> > alert
>> >> > during
>> >> > the registration...
>> >> >
>> >> > Thanks
>> >> >

>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Move \Users folder once for all Peter Meinl Windows Vista Installation 25 03-03-2010 01:37 AM
KDC Event ID 7 and Wins startup errors. GihanZ Windows Small Business Server 4 11-23-2009 01:43 AM
Security Failures after Password Change Zachary Server Security 14 10-30-2009 06:02 PM
User Accounts can't be set to Administrator Steve A. Windows Vista Administration 10 03-09-2008 06:35 AM
Vista Upgrade fails at "Gathering Files" when two users share the same user profile (ProfileImagePath). Message: "the upgrade was cancelled". Carl Farrington Windows Vista Installation 4 10-24-2007 07:26 AM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59