|
|
#1 |
|
Junior Member
Join Date: Sep 2003
Posts: 1
|
Skipping the File command
Is it possible to skip File commands? The following code doesn't let me skip it no-matter what I try.
!define StandAlone "false" ; this should be skipped if StandAlone is "false" StrCmp "${StandAlone}" "true" 0 +4 SetOutPath "$RootDirectory" File "blah.dll" File /r "some_folder" i.e. if StandAlone include blah.dll and some_folder, else don't
|
|
|
|
|
|
#2 |
|
Major Dude
Join Date: Mar 2003
Posts: 569
|
Relative jumps do not work with "File". See Section 4.4 (Relative Jumps) in the NSIS User Manual for a list of the cases where you cannot use relative jumps.
The solution to your problem is to use a label. For example: code: |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|