|
|
#1 |
|
Junior Member
Join Date: Jun 2006
Posts: 1
|
Load DropList items from file
Hello
is it possible to load the "ListItems" value of a DropList from a file ? I need to load a big list in a droplist, but it seems only possible to modify the .ini file in runtime, and the size of the list seems to be limited to the max size of a string... Thanks for your help. Eric |
|
|
|
|
|
#2 |
|
Major Dude
Join Date: Jan 2005
Location: Oregon Coast
Posts: 737
|
If you want to use runtime commands at compile time, you'll need to create a separate EXE that will read the items from a file and then add them to your installoptions page (ini) file. Once you have that, then call it in your main script using a runtime command such as !system. Here's an example:
http://nsis.sourceforge.net/Invoking...n_compile-time If your listitems string is too long, you may need to use the special large strings build of NSIS. |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|