Archive: Screensaver


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...


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

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


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


Ahhnn, not exactly:

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

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

My NSIS is getting rust :/
Thanks, fixed

-Stu


thanks a lot... it works !!!