|
|||||||
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
|
#1 |
|
Junior Member
Join Date: Oct 2008
Posts: 1
|
How to parameterize which files the installer should use
Hi
I would like my script to be able to read a kind of .ini file or something like that at compiletime and use the content of the file when naming the OUTPUTFile and the files to pack in the .exe file. Does anybody know how to do that? |
|
|
|
|
|
#2 |
|
Major Dude
Join Date: Jan 2005
Location: Oregon Coast
Posts: 737
|
You'll need to create a separate EXE that would read the INI and generate a header file with all the FILE commands you need (based on what you find in the INI file).
Then, you include that header file with your main NSI script. This wiki article should get you started: http://nsis.sourceforge.net/Invoking...n_compile-time |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|