Old 30th August 2002, 21:10   #1
Fiffi
Junior Member
 
Join Date: Jul 2002
Location: Germany
Posts: 45
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
Fiffi is offline   Reply With Quote
Old 30th August 2002, 21:17   #2
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
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.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 30th August 2002, 21:24   #3
Fiffi
Junior Member
 
Join Date: Jul 2002
Location: Germany
Posts: 45
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
Fiffi is offline   Reply With Quote
Old 30th August 2002, 21:35   #4
Joost Verburg
NSIS MUI Dev
 
Join Date: Nov 2001
Posts: 3,717
Why would you use a DLL? If you want to get the output of Makensis, use the same system as the window wrapper.
Joost Verburg is offline   Reply With Quote
Old 30th August 2002, 22:01   #5
Fiffi
Junior Member
 
Join Date: Jul 2002
Location: Germany
Posts: 45
Hello Joost,

Quote:
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
Fiffi is offline   Reply With Quote
Old 30th August 2002, 22:17   #6
rainwater
Senior Member
 
Join Date: Aug 2000
Posts: 397
Send a message via ICQ to 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.
rainwater is offline   Reply With Quote
Old 30th August 2002, 22:24   #7
Joost Verburg
NSIS MUI Dev
 
Join Date: Nov 2001
Posts: 3,717
Quote:
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.
Joost Verburg is offline   Reply With Quote
Old 30th August 2002, 23:00   #8
Fiffi
Junior Member
 
Join Date: Jul 2002
Location: Germany
Posts: 45
Hello rainwater,

Quote:
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
Fiffi is offline   Reply With Quote
Old 30th August 2002, 23:09   #9
Joost Verburg
NSIS MUI Dev
 
Join Date: Nov 2001
Posts: 3,717
Just integrate the MakeNSISW code in your IDE to capture the output.
Joost Verburg is offline   Reply With Quote
Old 30th August 2002, 23:24   #10
rainwater
Senior Member
 
Join Date: Aug 2000
Posts: 397
Send a message via ICQ to rainwater
Quote:
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.
rainwater is offline   Reply With Quote
Old 31st August 2002, 01:27   #11
Fiffi
Junior Member
 
Join Date: Jul 2002
Location: Germany
Posts: 45
Hello rainwater,

Quote:
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.

Quote:
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
Fiffi is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump