geoffcox
15th December 2002 20:51 UTC
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
kichik
15th December 2002 20:56 UTC
Please attach the entire script so we can have a better view of things.
geoffcox
15th December 2002 22:28 UTC
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
kichik
16th December 2002 16:01 UTC
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.
geoffcox
16th December 2002 16:38 UTC
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
kichik
16th December 2002 16:40 UTC
NSIS Workbench is not updated to work with NSIS 2.0b0.