Skip to content
⌘ NSIS Forum Archive

New NSIS Front End

40 posts

mkeeley#

New NSIS Front End

Hello all,

Started coding a front end for NSIS this week end and have attached a zip containing a couple of screen shots for some feedback (hopefully positive!). Some of its features are: function picker and help, syntax highlighting, code completion (for example f + Ctrl J expands to Files "" and places the cursor within the quotes), new project wizard and a code snippet libary.

The editor is pretty fully features with optional line numbering, drag and drop etc, etc Also, as you can see from the screen shots, it's Windows XP aware.

Rather than simply shelling out to the script compiler, the compilers output is captured and displayed within the front end for easy reference.

Haven't decided if I like the three panes or whether they should be dockable/closeable windows.

Anyway it's probably about 2/3 complete, haven't spent any time thinking of a decent name for it, currently FNSIS (boring).

Let me know what you think, good, bas or indifferent.

Marc Keeley
mkeeley#
zip

The zip file didn't attach.
Kreft#
cool

i like the looks of this, only question is why are you with the blue color scheme on XP?? silver is soo much sexier 😎 seriously though i like the code highlighting cant wait to play with it.
DuaneJeffers#
If you ask me, it looks ok on XP even though XP doesn't have DOS. But what will it look like on a 98(se)-ran box??? But it kinda looks like a HTML editor. I would like to have something that is friendly to use and customizable, and this looks like it. But I don't know if this will be used quite as much (this is possibly for those running XP) as Slate Blue (Which would not run well on XP ... At least I think). But it does look good.

-Duane
mkeeley#
Was running the toothpaste colour scheme (from TGSoft) for a couple of days, but went back to the blue, not keen on the silver or olive themes. All in all I think I preferred the flat Whistler beta scheme that they dropped.

On a Windows NT/2000/9x box it looks just like a standard app, boring grey! It only uses the XP style controls if you're running XP.

At the moment I'm limiting the code highlighting to comments and section/function begin and ends. I can colour code pretty much everything, keywords, strings, number... but it ends up looking a mess.

One thing I've been adding tonight (next morning!) is parameter completion, for example is you type SetOverwrite and then "." you get a pop-up allowing you to pick the parameter, in this case on/off/try/ifnewer, again saves your fingers and prevents typos. At the moment this only works with functions with a fixed set of parameters but I'll hope to enhance it at a later date to cope with variable parameters such as file names.

Depends on work as to how much time I can time I can spend on it but I'll let you know as soon as it's ready to play with.
prodangle#
lookin' damn nice

I'd feel more at home if compiler output was done the emacs way in a lil' box at the bottom tho 😁
mkeeley#
I've changed it so that the help and compiler output are in tabs at the bottom of the screen.
runik#
Looks like this will be a very popular app. I know I will use it.

Do you have any estimated release date?

runik
mkeeley#
Hope so, that's the idea!

Not sure, work is keeping me busy (the paid type) and I keep thinking of bits and pieces I'd like to add. I might be able to get an initial release out by the end of the weekend but it might be later, unless anyone wants me to make a work-in-progress preview available in which case immediately (well tommorrow - Tue).
mkeeley#
I've uploaded a preview to my web site for anyone who'd interested to have a play with. There's a short readme explaining what's left to be done, things I'm thinking about implementing and explaining a few of its features.

The URL is:

DuaneJeffers#
We have an error. It says:


Exception EDBISAMEngineError in module FNDIS.EXE at 001603D2.
DBISAM Engine Error # 11010 Invalid path or file name for table 'c:\techmarc\fnsis\Functions.DAT'.
-Duane
mkeeley#
Sorry, your're right, I hard coded it last night whilst I was testing, also just noticed I'd built the project to FNDIS.exe rather than FNSIS.exe

Either put everything in c:\techmarc\fnsis or download the new copy, same link. The status bar and menu enabling/disabling code is finished in the new version.
Gonzotek#
Very nice. Very, very nice.

First program to actually make me *want* XP. I'll try to break it now 🙂

Keep it up and take care,
-=Gonzotek=-
mkeeley#
Glad you like it. No need to try too hard to break it at this point as it isn't finished, but when the "official" release is ready try all you like!
Kreft#
idea

how about you read the NSIS inst dir key in the registry and have it be the default open directory as that is where many users keep their scripts
mkeeley#
Personally I keep my install scripts with my projects, \project\setup. Under Win2K and XP it remembers where you last opened a file so if you opened one in the NSIS folder next time you do an open that folder will again be displayed.

Might create a option for it though, for you poor people still struggling along with Windows 9x!
Kreft#
cool / not cool

glad to hear that is how it is set up, i would have figured it out myself but when i tried compiling there was a batch file missing so i never ran it twice...
liquidmotion#
sooo nice, gives me some ideas for slate blue :P
what language is it written in?

super sweet ass goddamn nice work!
mkeeley#
It's coded in Delphi, there's a much wider range of components available both free and commercial compared to VB. Plus the language is better IMO and you don't have to worry about ActiveX distribution, version conflicts and the like.

I'm planning on adding additional function "helpers" but need to finish the wizard and test the thing first. Might try and get them working both ways i.e. when you add a function it lets you choose the parameters and then double clicking on the function in the script editor lets you edit the parameters (like the Wise InstallMaster script editor), but one step at a time.

Basically what I think you should end up with is a wizard that takes care of all aspects of a standard install so you really only need to use the script editor for one off fiddly bits. So the wizard will, in addition to the obvious things, needs to be able to write to the registry/ini files, search for existing installs of the app either from the registry, ini file or by performing a file search and let you do full/custom and minimum installs. But probably not in version 1, next week perhaps 😉
liquidmotion#
perhaps you would like to release FNSIS under the morphedmedia.com "label"? would increase exposure, free hosting, etc. let me know. i like helping fellow developers 🙂

that goes out to any of the devs. in the forums: have a cool app?

dan green
mkeeley#
I have a web site, but it makes sense to centralise stuff, so thanks I'll probably take you up on that offer. Not particularly looking for exposure just liked the idea of the project and hoped others would find it useful.

I think I read that you're developing your application for a school/college project, I suggest that you download some eval version of commercial installation tools and examine how they go about things, unless you have already.

For example Indigo Rose do Setup Factory which is completely gui based, no script window at all. Wise and Installshield provide both depending on the version (they're large downloads so you might just want to browse through the on-line tours unless you have cable/adsl)
Lion King#
your frontend looks very good

i currently don't have to make any installer though, i'll have an eye on it and test it later
mkeeley#
I agree, I used to mainly code in VB but after Delphi came along and I tried it I never had the slightest desire to switch back. Although I still also code in VB at work but when I do I realise what the VB people are missing! Personally can't see why anyone with the choice would pick VB, Delphi is slightly more difficult to get to grips with, but not by much, but I think it's advantages are so numerous.
liquidmotion#
perhaps i should make the switch from vb to delphi then eh? i have 5.0 enterprise, never really used it tho.

but, im thinking that if i learn a new language it should be vc++.

what do you think?
spanky#
VB is an interpreted language. It can't ever be as powerful as C.
If you're willing to teach yourself a new language go with C. It's far more powerful.