I am packaging a toolbar for Internet Explorer on Windows XP.

I need to set the toolbar to be selected (active), and the only way to do this is to change the HKCU\Software\Microsoft\Internet Explorer\Toolbar\Web Browser [ITBarLayout] value in the registry. This registry key is a VERY long binary number which holds all of the user settings.

The only way I can get this to work is if I overwrite the number that is already there, which would overwrite the user settings.

The only other way I can think of is to use a SendKeys script, but we have that menu locked down by group policy, so no dice there.

I considered attempting to isolate the bits that need to be set in the {ITBarLayout} value, and somehow using logical operators to set those bits, but I don't have any tools for doing something like that.

Any ideas?
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
I'm assuming that the binary number is going to be unique on each machine.

That key holds the data as to the positions on the different toolbars. After testing for a little bit I found I could isolate the google toolbar data when I moved the toolbar from one level to another.

I think you might be able to do the same thing with your tool bar and poke the binary data into the key.

Create a Wisescript to capture the data that is currently in use and poke your data into it.

Good luck.
Answered 02/18/2005 by: MSIMaker
Second Degree Black Belt

Please log in to comment
0
Poke?
Answered 02/18/2005 by: thepuma66
Senior Yellow Belt

Please log in to comment
0
Poke is an old DOS term....sorry.

Perhaps "Insert" is more correct.
Answered 02/18/2005 by: MSIMaker
Second Degree Black Belt

Please log in to comment
Answer this question or Comment on this question for clarity