Old 11th August 2003, 14:47   #1
dabossuk
Junior Member
 
Join Date: Jan 2003
Location: London
Posts: 43
Send a message via ICQ to dabossuk
Small feature request :-)

Hi

On the makensisw.exe app - could you add under the "File menu item" the last 5 scripts you loaded into the compiler!

I work on a number of scripts and would cool to just select the last one I was working with ;-)

Thanks, and hope you have a good holiday!

DabossUK
dabossuk is offline   Reply With Quote
Old 11th August 2003, 15:30   #2
Joel
Debian user
(Forum King)
 
Joel's Avatar
 
Join Date: Jan 2003
Location: Arch land
Posts: 4,917
A cool feature that will help...
did you add it in the Nsis dev list?


* PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux-i686 with MATE.
* Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Archlinux-x86-64 with MATE.
Joel is offline   Reply With Quote
Old 12th August 2003, 17:51   #3
iceman_k
NSIS Dev
 
iceman_k's Avatar
 
Join Date: Feb 2003
Location: Boston, MA, U.S.A.
Posts: 455
Done.
Please get the latest CVS version for this functionality.

Cheers,
Iceman_K

EclipseNSIS - An NSIS IDE for the Eclipse Platform | My contributions to the wiki
iceman_k is offline   Reply With Quote
Old 13th August 2003, 05:52   #4
rainwater
Senior Member
 
Join Date: Aug 2000
Posts: 397
Send a message via ICQ to rainwater
Quote:
Originally posted by iceman_k
Done.
Please get the latest CVS version for this functionality.
It doesn't work for me. I have a menu item like this:

code:

/X"SetCompressor bzip2" "C:\test files\file.nsi



And it obviously fails when trying to run it. Also, it should only show the filename, not the path. If it's going to show the path, there should be some truncation to the beginning so my menu item isn't longer than the makensisw window itself.

Also, there should be a way to clear the MRU list. And files that no longer exist should be removed if you try to run it (and the file doesn't exist).
rainwater is offline   Reply With Quote
Old 13th August 2003, 13:35   #5
iceman_k
NSIS Dev
 
iceman_k's Avatar
 
Join Date: Feb 2003
Location: Boston, MA, U.S.A.
Posts: 455
Quote:
It doesn't work for me. I have a menu item like this:
code:

/X"SetCompressor bzip2" "C:\test files\file.nsi



And it obviously fails when trying to run it.
This will be fixed.

Quote:
Also, it should only show the filename, not the path. If it's going to show the path, there should be some truncation to the beginning so my menu item isn't longer than the makensisw window itself.
Good point.

Quote:
Also, there should be a way to clear the MRU list.
I agree.

Quote:
And files that no longer exist should be removed if you try to run it (and the file doesn't exist).
This is not really standard Windows GUI behavior (check out MS Word, MS Excel, Visual Studio, etc.
But it would be useful, no doubt.

Cheers,
Iceman_K

EclipseNSIS - An NSIS IDE for the Eclipse Platform | My contributions to the wiki
iceman_k is offline   Reply With Quote
Old 13th August 2003, 13:39   #6
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
Office XP clears the recent files area if the files do not exist (on user click).

-Stu
Afrow UK is offline   Reply With Quote
Old 13th August 2003, 14:00   #7
iceman_k
NSIS Dev
 
iceman_k's Avatar
 
Join Date: Feb 2003
Location: Boston, MA, U.S.A.
Posts: 455
Office 2000 does not- I guess they fixed it in Office XP.

Cheers,
Iceman_K

EclipseNSIS - An NSIS IDE for the Eclipse Platform | My contributions to the wiki
iceman_k is offline   Reply With Quote
Old 13th August 2003, 14:26   #8
rainwater
Senior Member
 
Join Date: Aug 2000
Posts: 397
Send a message via ICQ to rainwater
Quote:
Originally posted by iceman_k
This is not really standard Windows GUI behavior (check out MS Word, MS Excel, Visual Studio, etc.
But it would be useful, no doubt.
That's fine. I can live without this feature. I have seen it in several apps, but as long is there is a clear option, it will be fine not to have it.
rainwater is offline   Reply With Quote
Old 13th August 2003, 16:11   #9
iceman_k
NSIS Dev
 
iceman_k's Avatar
 
Join Date: Feb 2003
Location: Boston, MA, U.S.A.
Posts: 455
OK, get the latest CVS version and give it another try.
Let me know if you find any more bugs. PM'ing me is probably the best way to do this.

[edit]The Clear option is under the Tools menu.[/edit]

Cheers,
Iceman_K

EclipseNSIS - An NSIS IDE for the Eclipse Platform | My contributions to the wiki
iceman_k is offline   Reply With Quote
Old 14th August 2003, 01:21   #10
rainwater
Senior Member
 
Join Date: Aug 2000
Posts: 397
Send a message via ICQ to rainwater
Works much better now. My only issue now is that it doesn't remember my compressor settings (or any /X parameters passed really). For certain installers, I have to use bzip2, so the MRU doesn't work since NSIS defaults to zlib.
rainwater is offline   Reply With Quote
Old 14th August 2003, 01:46   #11
iceman_k
NSIS Dev
 
iceman_k's Avatar
 
Join Date: Feb 2003
Location: Boston, MA, U.S.A.
Posts: 455
Remembering compressor settings was a feature request that has been shelved for now.
The basic support for this feature is already there in the GUI, but it is waiting on a compressor command line option in makensis.
Using /X"SetCompressor foo" will work most of the time, but if you explicitly set the compressor in your script, it will override the command line option.
If you know which installers need bzip2, why not add the SetCompressor bzip2 command directly to the scripts?

Cheers,
Iceman_K

EclipseNSIS - An NSIS IDE for the Eclipse Platform | My contributions to the wiki
iceman_k is offline   Reply With Quote
Old 14th August 2003, 15:44   #12
rainwater
Senior Member
 
Join Date: Aug 2000
Posts: 397
Send a message via ICQ to rainwater
Quote:
Originally posted by iceman_k
If you know which installers need bzip2, why not add the SetCompressor bzip2 command directly to the scripts?
Because right now it crashes when using bzip2 Kichik is fixing the problem now though.
rainwater is offline   Reply With Quote
Old 15th August 2003, 10:27   #13
dabossuk
Junior Member
 
Join Date: Jan 2003
Location: London
Posts: 43
Send a message via ICQ to dabossuk
Hi

Just wanted to say thanks for doing this! - has saved sooo much clicking around ;-)
dabossuk is offline   Reply With Quote
Old 18th August 2003, 05:00   #14
iceman_k
NSIS Dev
 
iceman_k's Avatar
 
Join Date: Feb 2003
Location: Boston, MA, U.S.A.
Posts: 455
You're welcome.
That's what we're here for.
Please let me know if you run into any bugs with this feature.

Cheers,
Iceman_K

EclipseNSIS - An NSIS IDE for the Eclipse Platform | My contributions to the wiki
iceman_k is offline   Reply With Quote
Old 22nd August 2003, 12:25   #15
pengyou
Major Dude
 
Join Date: Mar 2003
Posts: 571
The new MRU feature does not work on my Win98SE system. I am using MAKENSISW.EXE v1.102 from a snapshot downloaded yesterday (21 August). After editing several files, the MRU list remains empty (see screenshot). I have exited and rerun the program but it never shows any MRU entries.

When I looked at the registry, I found some MRU data in HKLM\Software\NSIS\MRU (entries 0, 1, 2, 3 and 4 had the expected data).
Attached Images
File Type: gif empty_mru.gif (7.3 KB, 274 views)
pengyou is offline   Reply With Quote
Old 22nd August 2003, 12:58   #16
iceman_k
NSIS Dev
 
iceman_k's Avatar
 
Join Date: Feb 2003
Location: Boston, MA, U.S.A.
Posts: 455
Unfortunately I don't have a Win98SE system to test on.
However, I will review all the API I use to check for OS compatability.

Cheers,
Iceman_K

EclipseNSIS - An NSIS IDE for the Eclipse Platform | My contributions to the wiki
iceman_k is offline   Reply With Quote
Old 23rd August 2003, 04:33   #17
iceman_k
NSIS Dev
 
iceman_k's Avatar
 
Join Date: Feb 2003
Location: Boston, MA, U.S.A.
Posts: 455
Well, I finally had to setup VirtualPC with a Windows 98 SE VM to be able to test this. It turns out that MS Windows 9x handles the WM_MENUSELECT message differently from MS Windows NT/2000/XP.
(Why am I not surprised? Its Micro$oft after all).
So I had to overhaul quite a bit of code to get it working.
Anyway, the latest CVS version should now work with Windows 9x as well as Windows NT/2000/XP.
As always, please let me know if you find bugs in the implementation.

Cheers,
Iceman_K

EclipseNSIS - An NSIS IDE for the Eclipse Platform | My contributions to the wiki
iceman_k is offline   Reply With Quote
Old 23rd August 2003, 13:05   #18
pengyou
Major Dude
 
Join Date: Mar 2003
Posts: 571
Downloaded the 23 August (07:44 GMT) CVS snapshot and found that the MRU list now works perfectly on my Win98SE system. Thanks for fixing it so quickly.
pengyou 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