Problems with Desktop Elements

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello everybody,

I'm having problems setting up dynamic desktop elements in WinXP SP2 / IE
6.0.2900.
I'm having an install script copy the desktop elements' sourcefiles to my
C-Drive and afterwards adding the necessary keys to the registry
("HKCU\Software\Microsoft\Internet Explorer\Desktop\Components" Keys 1 and 2)

DWORD CurrentState = Decimal 1073741825
is my problem.
The scripts sets the key as it should be, but as soon as I reboot, Windows
changes it to BINARY hex 01000040. A manual klick on the synchonize button in
des "Customize Desktop" - Dialog of Windows Display Options resolves the
issue, but as I need a fully automated install, this is not an acceptable
solution.

Any help would be greatly appreciated.

Patrick
--------------------
NSIS Script that sets the values for the desktop elements:


WriteRegDWORD HKCU "Software\Microsoft\Internet
Explorer\Desktop\Components\1" "Flags" 8194
WriteRegStr HKCU "Software\Microsoft\Internet
Explorer\Desktop\Components\1" "FriendlyName" ""
WriteRegStr HKCU "Software\Microsoft\Internet
Explorer\Desktop\Components\1" "Source" "$INSTDIR\spmon2.htm"
WriteRegStr HKCU "Software\Microsoft\Internet
Explorer\Desktop\Components\1" "SubscribedURL" "$INSTDIR\spmon2.htm"
WriteRegDWORD HKCU "Software\Microsoft\Internet
Explorer\Desktop\Components\1" "CurrentState" 1073741825
WriteRegBin HKCU "Software\Microsoft\Internet
Explorer\Desktop\Components\1" "OriginalStateInfo"
"18000000FBFFFFFF0A00000097010000BB01000001000040"
WriteRegBin HKCU "Software\Microsoft\Internet
Explorer\Desktop\Components\1" "Position"
"2C000000FBFFFFFF0A00000097010000BB010000EA0300000100000001000000010000000000000000000000"
WriteRegBin HKCU "Software\Microsoft\Internet
Explorer\Desktop\Components\1" "RestoredStateInfo"
"ECE00700BF6FDD77B4DD0700E8DD0700FEE1907C28DD0700"


WriteRegDWORD HKCU "Software\Microsoft\Internet
Explorer\Desktop\Components\2" "Flags" 8194
WriteRegStr HKCU "Software\Microsoft\Internet
Explorer\Desktop\Components\2" "FriendlyName" ""
WriteRegStr HKCU "Software\Microsoft\Internet
Explorer\Desktop\Components\2" "Source" "$INSTDIR\PJIRC\NormalApplet.html"
WriteRegStr HKCU "Software\Microsoft\Internet
Explorer\Desktop\Components\2" "SubscribedURL"
"$INSTDIR\PJIRC\NormalApplet.html"
WriteRegDWORD HKCU "Software\Microsoft\Internet
Explorer\Desktop\Components\2" "CurrentState" 1073741825
WriteRegBin HKCU "Software\Microsoft\Internet
Explorer\Desktop\Components\2" "OriginalStateInfo"
"18000000FBFFFFFFBC010000F30200002B01000001000040"
WriteRegBin HKCU "Software\Microsoft\Internet
Explorer\Desktop\Components\2" "Position"
"2C000000FBFFFFFFBC010000F30200002B010000EC0300000100000001000000100000000000000000000000"
WriteRegBin HKCU "Software\Microsoft\Internet
Explorer\Desktop\Components\2" "RestoredStateInfo"
"340000C000000000ECE00700BF6FDD77B4DD0700E8DD0700"

WriteRegDWORD HKCU "Software\Microsoft\Internet
Explorer\Desktop\Components" "GeneralFlags" 2
 
Back
Top