Archive: Data input at compile time


Data input at compile time
Is there a way to popup a message box during compile and allow the compiler to enter data, that will be used as a !define to copy files.

Here is my code

I change the "commonname" variable every time I make an installer specific to each of my users files.

Thanks,


You can pass defines via command-line to MakeNSIS.exe rather than hard-coding them!

Use the /D switch. Oh, and read the manual :D

(If you really need an input box, write a simple program for that purpose that you call before MakeNSIS. Then forward the input to MakeNSIS)