Installing a screensaver

From ISXKB

(Redirected from Screensaver)
Jump to: navigation, search

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.

;
; 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: