Archive: Dynamic Section


Dynamic Section
Hello (Sorry, I do not speak quite English)

I have several .MSI and a NSI file to launch these programs.
All that is in a Directory.

I would like that:

- if I add a .MSI in the directory, it is added automatically in the nsi file. (in the EXE file..)

I think that it is necessary to do that with a loop.
But I do not know how to make. Can an command line do that?

HELP ME PLEASE.

thanks


You can create an application that inserts a macro for every MSI file. Another option is to include all *.msi files and search for the files on run-time.


Can you explain me the second solution please ?
I am newbie and I all does not understand yet...
Or then simply to give me the code, or the line of order to be used...

Thank you


The second option includes usage of FindFirst, FindNext and FindClose. You can find plenty of examples that use those in the Archive.