I am wondering if anybody can tell me where currently installed gadget information is stored in registry.
For example there are total 10 gadget in my gadget folder under program files but when system reboot. It shows only 3 gadgets which are installed out of 7.
So where is this information stored.
Thanks in advance.
There is no need to read registry here is answer
I got the answer myself..
Go to C:\Users\paul\AppData\Local\Microsoft\Windows Sidebar
there is file called setting.ini
edit this file with your new settings in following ways:
add next entry under every root tags
Section1="2" (This is new one )
C:\Users\paul\AppData\Local\Microsoft\Windows Sidebar\Gadgets\my.Gadget="%7B811E5D33-9E7C-7100-8DC6-434544D70EA9%7D" (811E5D33-9E7C-7100-8DC6-434544D70EA) randomly generated by code.
PrivateSetting_GadgetName="C:%5CProgram%20Files%5CWindows%20Sidebar%5CGadgets%5CClock.Gadget" (This is your gadget path)
Work flow :
1. Close the sidebar by killing sidebar.exe process
2. Append gadget code
3. Start again sidebar.exe