Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 16th April 2001, 02:30   #1
PabUK
Major Dude
 
PabUK's Avatar
 
Join Date: Jan 2001
Location: .com/munity
Posts: 1,278
Here are the first screenshots of a little app I am working on for NSIS users. Rather than try the difficult task of a GUI I have chosen to create a text editor designed for working with NSIS scripts.





Let me know if there is any feature you would like to see that is relevant to this app.

In support of aggressive sex with llamas, and freedom from the obligation to explain.
Pawhosting.com | Pawsoft.com | Pawdesign.com | PabUK.com
PabUK is offline   Reply With Quote
Old 17th April 2001, 06:12   #2
rm'
Banned
 
rm''s Avatar
 
Join Date: Jul 2000
Posts: 11,361
Wow. That looks good. My only quibble isn't with your program, in fact. It's with the complete chaos that the community is facing. Obviously, a great many of us think that a GUI for NSIS would be fantastic. But then, why are we building 30 million versions. Sure, we need choice, and diversity, but don't you think we could build a superior product if we put our collective noggins together?

If you want diversity (and with the knowledge that not all programmers speak the same language), why don't we have a VB version, a C++ version, and a Delphi version. That way, we build independant versions in small groups, see what works, see what doesn't, then combine the winning solutions into one kickass product.
rm' is offline   Reply With Quote
Old 17th April 2001, 12:32   #3
PabUK
Major Dude
 
PabUK's Avatar
 
Join Date: Jan 2001
Location: .com/munity
Posts: 1,278
Yes, I agree with what you are saying. That is why I am not making a GUI. This program is purely designed to be like Notepad for NSIS, with the extra features like compiling. It will associate itself with .nsi files to make our lives easier. A GUI on the other hand offers a completely graphical way with which to create executables without ever touching an .nsi script.

Good luck to all those working on a GUI. If you need any programming help I am sure you can find some in this forum. I myself work in Visual Basic.

In support of aggressive sex with llamas, and freedom from the obligation to explain.
Pawhosting.com | Pawsoft.com | Pawdesign.com | PabUK.com
PabUK is offline   Reply With Quote
Old 17th April 2001, 12:41   #4
rapigator
Junior Member
 
Join Date: Apr 2001
Posts: 11
Send a message via Yahoo to rapigator
a "compile in" button where you can browse to the directory where you want to compile the script(so you can store the script elsewhere)
rapigator is offline   Reply With Quote
Old 17th April 2001, 15:26   #5
Deep-Trouble
Junior Member
 
Join Date: Apr 2001
Posts: 49
Hi,
Adding colours to the workpad will be a very good advantage for everybody. I mean hightlighting the keywords and commands for the script..

+ Im making a GUI for NSIS in VB., need more hands to work upon it., planning to launch it as a opensource project via SourceForge.net .., I want as many people as possible to lend a helping hand... Look at thread named Intelligent NSIS Script generator (GUI)... for more details...
Deep-Trouble is offline   Reply With Quote
Old 17th April 2001, 17:25   #6
PabUK
Major Dude
 
PabUK's Avatar
 
Join Date: Jan 2001
Location: .com/munity
Posts: 1,278
I wanted to do colored tags but I cannot find out how to do it. If anyone has some example code (like coloring HTML tags in a RTF control for instance).

The advantage of not having the colored tags is that I won't have to distribute extra controls with the program.

In support of aggressive sex with llamas, and freedom from the obligation to explain.
Pawhosting.com | Pawsoft.com | Pawdesign.com | PabUK.com
PabUK is offline   Reply With Quote
Old 20th April 2001, 08:46   #7
THEMike
Bastificator [Alumni]
 
THEMike's Avatar
 
Join Date: May 2000
Location: #nullsoft
Posts: 1,260
Dudes,

A GUI is a "Nice Idea" for NSIS to get newbies going, and for advanced users to create skeletons.

But a text editor is a "wank-ass idea"

Here is why. There is a bazillion programmers editors that do it better.

Ultraedit is my prefered editor. Here is a word file definintion for NSIS scripts for ultraedit. Add it to your wordfile.txt to syntax highlight NSIS Script.

You can then set up a "tool" in ultraedit to run MakeNSIS on your script. You can set multiple tool definitions for various debug switches if you like.

Why re-invent the wheel?

"Beer?"
THEMike is offline   Reply With Quote
Old 20th April 2001, 11:00   #8
PabUK
Major Dude
 
PabUK's Avatar
 
Join Date: Jan 2001
Location: .com/munity
Posts: 1,278
Sometimes it is good to reinvent the wheel. For a start, that program is shareware, this one is freeware. However good another program is they still won't be designed with NSIS in mind, which this one is. I already have a very good text editor on my system which is free, and I am not going to install another full-featured one just so I can edit NSIS files, that would be reinstalling the wheel (a new expression). You can use whatever text editing program you like for your NSIS needs but that won't stop me finishing this program for myself and others.

In support of aggressive sex with llamas, and freedom from the obligation to explain.
Pawhosting.com | Pawsoft.com | Pawdesign.com | PabUK.com
PabUK is offline   Reply With Quote
Old 20th April 2001, 12:34   #9
s1138
Alumni?
 
s1138's Avatar
 
Join Date: May 2000
Location: joja
Posts: 6,932
Send a message via ICQ to s1138 Send a message via AIM to s1138 Send a message via Yahoo to s1138
sounds cool

s1138 is offline   Reply With Quote
Old 20th April 2001, 14:31   #10
THEMike
Bastificator [Alumni]
 
THEMike's Avatar
 
Join Date: May 2000
Location: #nullsoft
Posts: 1,260
There are plenty of free apps like Ultraedit, that will do the job better than a new one.

PFE for one, it's almost as good as ultraedit, but free. I use ultraedit cos I code in it about 10 hours a day so I have to have what I consider to be the best.

I just set PFE (Programmers File Editor) up for NSIS and found it as good as Ultraedit for NSIS stuff. And, sorry, but better than yours.

Sure continue to develop it if you want, nothing wrong with that, wouldn't put you down for it, but I would say that if you are good enough to write something good enough for the purpose to stop anyone using UE or PFE, then you might as well use the talent on not reinventing the wheel.

Mike,
Bastard to the Stars
THEMike is offline   Reply With Quote
Old 20th April 2001, 18:37   #11
PabUK
Major Dude
 
PabUK's Avatar
 
Join Date: Jan 2001
Location: .com/munity
Posts: 1,278
Just reread my previous post, I have no intention of repeating things like you.

In support of aggressive sex with llamas, and freedom from the obligation to explain.
Pawhosting.com | Pawsoft.com | Pawdesign.com | PabUK.com
PabUK is offline   Reply With Quote
Old 13th May 2002, 18:35   #12
Mike007
Junior Member
 
Join Date: Jan 2002
Posts: 10
UltraEdit/PFE

pabUK, Not to diss you or anything, I have read your posts above but I still don't see why your application will be better than any of the free or shareware versions available. For example, you say that your program is designed with NSIS in mind. Great, but what can it do that PFE or UltraEdit can't? I use UltraEdit, and I get the following:

Associated with NSI files
Syntax Highlighting
Compile from application (and capture output)
Tool config to add command line switches

Yes, UltraEdit is shareware, it's not expensive and I bought it because it works well, very well. PFE can do this as well, and it's free. Can you give me a compelling reason why your application will be better in any way? Right now, I don't see any advantage.

If anyone is interested, attached is my UltraEdit wordfile for NSIS.

Cheers,
Mike
Attached Files
File Type: txt nsis_wf.txt (3.0 KB, 138 views)
Mike007 is offline   Reply With Quote
Old 13th May 2002, 20:24   #13
SQwerl
Junior Member
 
Join Date: Dec 2001
Location: USA
Posts: 41
I am agreeing with some of you here. And while reading, I came up with an idea. If it is good or not, I have no idea.

The idea of a NSI text editor by itself is a bit plain vanilla. The idea of a GUI to build and edit NSI scripts is a good idea.

Now lets jump out of NSI scripts, and look at HTML (bear with me here). You can do webpages with text editors, or you can use WYSIWYG editors, such as Dreamweaver, and Frontpage. Now, Dreamweaver, has a feature, where you can change what views you want. Code, Design, Code and Design.

It would be neat, to have a NSI editor, that did that. GUI + Code views. Just a passing thought that I had. Perhaps you, PabUK, and LiquidMotion could get together. Think he used, VB for SlateBlue.

Anyhow, good job Pab.
SQwerl is offline   Reply With Quote
Old 17th May 2002, 13:27   #14
TheBlueDevil
Junior Member
 
Join Date: May 2002
Posts: 3
Send a message via ICQ to TheBlueDevil
there already is a text editor for .nsi files. it's called venis
and is has got colored text-strings.

found it at the "nullsoft -> nsis -> who uses nsis site"


greets,
marcel
TheBlueDevil is offline   Reply With Quote
Old 17th May 2002, 15:16   #15
sdbarker
Senior Member
 
Join Date: Mar 2002
Posts: 133
Send a message via AIM to sdbarker Send a message via Yahoo to sdbarker
vim: http:/vim.sf.net



-Scott
sdbarker is offline   Reply With Quote
Old 17th May 2002, 19:39   #16
gombok
Junior Member
 
Join Date: Apr 2002
Location: europe
Posts: 4
Syntaks coloring NSIS files

You can even use Scite (www.scintilla.org)
looks ok
Attached Images
File Type: png nsis.png (14.5 KB, 172 views)
gombok is offline   Reply With Quote
Old 17th May 2002, 19:41   #17
gombok
Junior Member
 
Join Date: Apr 2002
Location: europe
Posts: 4
Cool Syntaks coloring NSIS files

If you prefer SciTe (www.scintilla.org) you can use attached properties file to have sytax coloring.
Attached Files
File Type: txt nsis.properties.txt (5.9 KB, 360 views)
gombok is offline   Reply With Quote
Old 18th May 2002, 16:37   #18
Koen van de Sande
Senior Member
 
Join Date: Mar 2001
Location: Holland
Posts: 269
I suggest you search the forum for NSIS WorkBench - which is a NSIS-specific texteditor with syntax-highlighting, integrated help. It's just not updated anymore...

Koen van de Sande
Van de Sande Productions
TibEd.net | VPatch
Koen van de Sande is offline   Reply With Quote
Old 19th May 2002, 05:58   #19
liquidmotion
Smokes Two Joints
Beta Team
 
liquidmotion's Avatar
 
Join Date: Feb 2001
Location: SFBA
Posts: 3,680
Send a message via ICQ to liquidmotion
Quote:
Originally posted by PabUK
I wanted to do colored tags but I cannot find out how to do it. If anyone has some example code (like coloring HTML tags in a RTF control for instance).

The advantage of not having the colored tags is that I won't have to distribute extra controls with the program.
i have the VB code for doing that. simply enter the nsis word list and BAM!

i have tried to organize an "ultimate" gui. it had some really good ideas, but ultimately fizzled because of lack of people wanting to help.

i'm all for writing one as a group.

For a good time: shup | stashbox | my homepage
liquidmotion is offline   Reply With Quote
Old 17th June 2002, 22:33   #20
AMandato
Junior Member
 
Join Date: Mar 2002
Location: Columbus, Ohio
Posts: 18
Smile

Venis uses the wxStyledTextCtrl which is based upon www.scintilla.org's. If I get off my butt, Venis will soon have drag and drop programming characterists similar to Sybase Power++. Just drag the item you want in the code, let go in the code where you want it, and a dialog wizard will walk you though the parameters of the function.
AMandato is offline   Reply With Quote
Old 18th June 2002, 20:37   #21
n0On3
Senior Member
 
n0On3's Avatar
 
Join Date: Jan 2001
Location: Barcelona
Posts: 314
Send a message via ICQ to n0On3
Post ConTEXT

I think there's an editor for programmers called ConTEXT which is freeware and supports NSIS.
n0On3 is offline   Reply With Quote
Old 21st June 2002, 20:57   #22
liquidmotion
Smokes Two Joints
Beta Team
 
liquidmotion's Avatar
 
Join Date: Feb 2001
Location: SFBA
Posts: 3,680
Send a message via ICQ to liquidmotion
Quote:
Originally posted by rm'
Wow. That looks good. My only quibble isn't with your program, in fact. It's with the complete chaos that the community is facing. Obviously, a great many of us think that a GUI for NSIS would be fantastic. But then, why are we building 30 million versions. Sure, we need choice, and diversity, but don't you think we could build a superior product if we put our collective noggins together?

If you want diversity (and with the knowledge that not all programmers speak the same language), why don't we have a VB version, a C++ version, and a Delphi version. That way, we build independant versions in small groups, see what works, see what doesn't, then combine the winning solutions into one kickass product.
i tried to organize this when my gui was at its height of development. it got so far, then no one had interest.

i am all for doing it again tho

For a good time: shup | stashbox | my homepage
liquidmotion is offline   Reply With Quote
Old 21st June 2002, 21:47   #23
AMandato
Junior Member
 
Join Date: Mar 2002
Location: Columbus, Ohio
Posts: 18
I do not see a problem with different versions out there. Honestly, the other 4 NSIS GUI's I have looked at all have their own approach.

I think before we can expect developers to pitch in time in developing a NSIS GUI, we need to get a GUI at a level that can rival the commercial Installers out there. And hey, what is the rush to dominate the install realm?
AMandato is offline   Reply With Quote
Reply
Go Back   Winamp 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