Installing a screensaver

From ISXKB

(Difference between revisions)
Jump to: navigation, search

Vincenzo (Talk | contribs)
(Install a screensaver)
Newer edit →

Revision as of 16:52, 14 January 2007

These few lines will install the screensaver and open screensaver property dialog with new screensaver selected.

Details on installing a screensaver can be found on [http://msdn.microsoft.com/library/default.asp?url=/library/en-us/regentry/34635.asp MSDN.

;
; Details on installing a screensaver can be found at:
; http://msdn.microsoft.com/library/default.asp?url=/library/en-us/regentry/34635.asp
;

[Files]
; Install new screensaver into system/system32
Source: "Screensaver.scr"; DestDir: "{sys}"; CopyMode: alwaysoverwrite

[Run]
; Open screensaver property dialog with new screensaver selected
Filename: "{sys}\rundll32.exe"; Parameters: "desk.cpl,InstallScreenSaver {sys}\Screensaver.scr"

Code provided by Schwarz Heiko.

Personal tools
Ads: