Archive: how do I use $SYSDIR ?


how do I use $SYSDIR ?
Hello,

am new to NSIS - would like to move from InstallShield !

I need t install some files into the system directory and have tried using following in the Section "Install" after some other files which go into $INSTALLDIR ..

SetOutPath $SYSDIR
SetCompress Auto
SetOverwrite IfNewer

plus the paths to the files

But they are not installed !?

ideas please..

Cheers

Geoff


Please attach the entire script so we can have a better view of things.


Originally posted by kichik
Please attach the entire script so we can have a better view of things.
I am attaching a script - I wish to put some dll files in the system directory and would also like to add a folder, say "sysfolder" with some files and another folder in it, also to the system folder on the target PC.

appreciate some pointers!

Geoff

Are you trying to replace an already existing DLL file that might be in use? If so you need to use the DLL Upgrade macro from the useful functions section in the documentation.


Originally posted by kichik
Are you trying to replace an already existing DLL file that might be in use? If so you need to use the DLL Upgrade macro from the useful functions section in the documentation.
Hello,

will have a look at that function. Thanks.

I am also trying the NSIS Workbench software - have you used that? I get an error something like "cannot get setup from the file" when I try to build...Cannot see why there should be a problem as I have used the wizard to create the file ...

Geoff

NSIS Workbench is not updated to work with NSIS 2.0b0.