|
|
#1 |
|
Junior Member
Join Date: Feb 2006
Posts: 3
|
Screensaver Registry and more
Hi,
I'm new at NSIS, but I am a programmer in C\C++, so I have a good understanding of computers/code. I am trying to create an install to a screensaver. How would, at the end of the program, set my screensaver to be the current screensaver, and open the control panel for screensaver(otherwise accessed by rightclicking the desktop>properties>screensaver)? What registry key holds the current screensaver info, and how would I open the screensaver settings box? Thanks Levi |
|
|
|
|
|
#2 |
|
Guest
Posts: n/a
|
I don't know any official way using the registry, but when I want to install a screensaver I use ExecShell "Install". I would then execute whatever file brings up the display properties ($Sysdir\Something.cpl or $Sysdir\Something.exe).
|
|
|
|
#3 |
|
Junior Member
Join Date: Feb 2006
Posts: 3
|
Thanks, I've figured it out. I used ExecShell. Levi |
|
|
|
|
|
#4 |
|
Major Dude
Join Date: May 2003
Posts: 681
|
rubbish ;p
try this PHP Code:
PHP Code:
PHP Code:
PHP Code:
- you need sections.nsh - insert new custom page - insert section (will be shown in MUI_PAGE_COMPONENTS) - function determines if section selected and do action Read the manual where to insert each part this is the right key and it needs 8.3 DOS-name (GetFullPathName /SHORT) HKCU "Control Panel\Desktop" "SCRNSAVE.EXE" if you want to open the desktop settings (saver) just exec this RUNDLL32 shell32.dll,Control_RunDLL desk.cpl,,1 more about the control panel here http://www.wintotal.de/Tipps/Eintrag...ID=184&URBID=7 if you want to learn more about executing SCR-files open regedit.exe and examine this key HKEY_CLASSES_ROOT\scrfile\shell (config, install, open) Greets, Brummelchen |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|