Archive: Different install releases


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


Use !include to include section scripts.


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.


with #ifdef ?

Thanks,
ACEMCP


!ifdef not #ifdef. See http://nsis.sourceforge.net/Docs/Chapter5.html#5.3