|
|
#1 |
|
Junior Member
Join Date: Jun 2008
Posts: 11
|
Macro to miss sections if no Files exist
Hi
I'm try to build a generic installer and as part of it I have a number of lines that Extract files such as: File Common\*.* File Test\*.* Installer "a" may have files in folder "Test" but instaler "b" may not! so when compiling the installer for setup "b" the install needs to discard the line: File Test\*.* I tried IfFileExist but this doesn't work at the time of building the setup So i assume it would be Macro function of some kind!? |
|
|
|
|
|
#2 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,337
|
Use the /nonfatal flag for File.
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Jun 2008
Posts: 11
|
that did it thanks
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|