Archive: NSIS compiler dll


NSIS compiler dll
Hello friends,

in the past i saw a NSIS dll, i mean a NSIS-comiler in '*.dll' format.

Where can i get it?
Are the changes in the sourcecode are OpenSource?
Is it possible to make a NSIS 2.0 (a7) compiler dll?


Thank you for your help!


Fiffi


I think if it will be better if you will just use the source of makensisw because you won't have to recompile it for every version of NSIS.


Hello kichik,

Have you saw that NSIS dll (NSIS 1.98) too?

Where i can find it?

>I think if it will be better if you will just use the source of >makensisw because you won't have to recompile it for every version >of NSIS.
Yes, thank you for the good suggestion!

Thank you for your help!


Fiffi


Why would you use a DLL? If you want to get the output of Makensis, use the same system as the window wrapper.


Hello Joost,

Why would you use a DLL? If you want to get the output of Makensis, use the same system as the window wrapper.
i develop an IDE/Editor for NSIS. And for that i basicly would like:

-to call the NSIS compiler without a "console window" and catch his "output...".
-call the NSIS compiler fast (don't create a console window....)


Fiffi

It probably wouldn't be hard to compile nsis as a dll. The main thing would be to update g_output so that its not stdout, but some type of buffer.


Originally posted by Fiffi
Hello Joost,

i develop an IDE/Editor for NSIS. And for that i basicly would like:

-to call the NSIS compiler without a "console window" and catch his "output...".
-call the NSIS compiler fast (don't create a console window....)

Fiffi
The MakeNSIS Window Wrapper (MakeNSISW) does exactly the same thing. Have a look at the source.

Hello rainwater,

It probably wouldn't be hard to compile nsis as a dll. The main thing would be to update g_output so that its not stdout, but some type of buffer.
Do you think, the time reduction to compile a installer is big between a MakeNSIS dll and a MakeNSISW dll?

Thank you for your suggestion/help!

-----------------------------------------------
Hello Joost,

Sorry for the "source of makensisw looks complex....", i looked at the wrong source, i looked at the source of makensis.
Yes, you are right!

-----------------------------------------------

Have none see a finished/downloadable version of so an dll?


Fiffi

Just integrate the MakeNSISW code in your IDE to capture the output.


Originally posted by Fiffi
Hello rainwater,

Do you think, the time reduction to compile a installer is big between a MakeNSIS dll and a MakeNSISW dll?
The slowness in the current makensisw is caused because of makensisw constantly peeking and copying the output to the console. This is being changed for the next version. You shouldn't see much difference in the compile time especially since you would have already loaded the GUI components before you compile. The advantage of copying the output is that users can use new versions of makensis.exe with the editor. In fact, you should just add the option to let the user choose which version of makensis.exe to use.

Hello rainwater,

The slowness in the current makensisw is caused because of makensisw constantly peeking and copying the output to the console. This is being changed for the next version.
OK, i wait for the next version of your makensisw, and create then a makensisw - dll. :)

you should just add the option to let the user choose which version of makensis.exe to use.
Yes, i will add the option to choose several comilers.
Have you any other suggestions additionally, what we should add in N²E?
All suggestions are welcome!

You (and all other people) can conntact the N²E team here in the forum and via e-mail at: nne-team@lists.sourceforge.net


Fiffi