ACEMCP
24th August 2003 17:30 UTC
Different install releases
How can I create a differ installer from the selections of differ sections...
ex:
there are:
section 1
section 2
section 3
section 4
---
installer 1 contains
section 1
section 3
section 4
---
installer 2 contains
section 2
---
installer 3 contains
section 3
section 4
---
installer 4 contains all of four section
Each different installer has unique name NameUniqueVersion
Many thanks,
ACEMCP
Joost Verburg
24th August 2003 19:47 UTC
Use !include to include section scripts.
kichik
24th August 2003 23:29 UTC
I would use defines for this. This way you can keep it all in one script and move the generation job outside to a batch file. Use /D from the command line to define values such as product1, product2, product3 and in your script add the section and change the strings according to the defines used.
ACEMCP
26th August 2003 06:05 UTC
with #ifdef ?
Thanks,
ACEMCP
kichik
26th August 2003 11:55 UTC
!ifdef not #ifdef. See http://nsis.sourceforge.net/Docs/Chapter5.html#5.3