Old 25th February 2002, 22:07   #1
PoppaJay
Junior Member
 
Join Date: Feb 2002
Location: NJ
Posts: 1
Send a message via AIM to PoppaJay Send a message via Yahoo to PoppaJay
Question Dumb Newbie question, but....


Hi folks, this may be a dumb question, but all i want to do is extract a few graphics files and set one of them to the background image in a Windows 9x,2K or NT environment. Can this be done through registry entries, and if so, will the machine have to be rebooted to take effect?

Thanks in advance!
PoppaJay is offline   Reply With Quote
Old 25th February 2002, 23:33   #2
SmartyMan
Member
 
Join Date: Jan 2002
Location: Germany
Posts: 79
Re: Dumb Newbie question, but....

Quote:
Originally posted by PoppaJay

Hi folks, this may be a dumb question, but all i want to do is extract a few graphics files and set one of them to the background image in a Windows 9x,2K or NT environment. Can this be done through registry entries
At keast the "old style" backgrounds can be set via registry, I think the registry will also work for the active destkop, but I am not sure at the moment.

Quote:
and if so, will the machine have to be rebooted to take effect?
The background change can be made w/o reboot, but you will need to call a WIN32 function (if using "old style" backgrounds) or communication via COM interface (if using active desktop) for this, both cant be done with NSIS, so you'll need a small app for that.
SmartyMan is offline   Reply With Quote
Old 26th February 2002, 06:33   #3
Smile2Me
Guest
 
Posts: n/a
Hi,

"new style" backgrounds can be set on the ActiveDesktop using a vbs script using AddDesktopComponent. Removal is easy: just delete the regsettings for the installed background from HKCU ... Internet Explorer\Desktop\Components\[number]

I'll post a script later, no time right now...

Good luck, greetz,
Hendri.
  Reply With Quote
Old 26th February 2002, 14:09   #4
Smile2Me
Guest
 
Posts: n/a
Here's the script.

It's actually the script for my program ToDoList.
Take a look on my homepage:
http://home.hetnet.nl/~HendriAdriaens

Good luck, greetz,
Hendri.
Attached Files
File Type: zip tdlsetup.zip (1.7 KB, 112 views)
  Reply With Quote
Old 28th February 2002, 16:58   #5
superrock
Member
 
superrock's Avatar
 
Join Date: Jan 2002
Location: Graz, Austria
Posts: 50
Can't delete

Sorry can't delete it. So it' here....
superrock is offline   Reply With Quote
Old 28th February 2002, 21:00   #6
Smile2Me
Guest
 
Posts: n/a
What is it you can't delete?

The document on the active desktop?

Well take a look at the script. Search the registry HKCU "Software\Microsoft\Internet Explorer\Desktop\Components\$0" where $0 is some value from 1 to ...
Check the "source" in this key. If the source is of your program, just delete the entire map of keys. So delete HKCU "Software\Microsoft\Internet Explorer\Desktop\Components\1" if it's the first active desktop component. Then restarting windows (reboot or restart) will update the active desktop and the document will have disappered.

This answers the question?

Greetz, Hn3.
  Reply With Quote
Old 6th March 2002, 06:53   #7
Smile2Me
Guest
 
Posts: n/a
So did it work out???
  Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

Forum Jump