Skip to content
⌘ NSIS Forum Archive

Screensaver

6 posts

blub19#

Screensaver

Hi,

How can I install/put a " .svr " (Screensaver) File in the $WINDIR\SYSTEM32 Folder and all the other Files in the Folder $PROGRAMFILES\ ?

Thanks for your help...
Afrow UK#edited
SetOutPath "$SYSDIR"
File "path\to\file.scr"

SetOutPath "$PROGRAMFILES"
File "path\to\otherfile"
-Stu
Davion#
You have to define the Outpath for the .svr File as Sys32 and for the other files as Programfiles

so for all OS' with NSIS:

SetOutPath $SYSDIR
File xxx.svr

SetOutPath $PROGRAMFILES
;other files...

so the SVR File will be installed in the SystemDir and the other Files in the Programfilesfolder

hope this Helps

greetz Dave

EDIT: AFROW UK is too fast for me 😢
deguix#
Ahhnn, not exactly:

SetOutPath "$SYSDIR"
File "path\to\file.scr"

SetOutPath "$PROGRAMFILES"
File "path\to\otherfile"