Archive: NSIS WishList and bug report place


NSIS WishList and bug report place
This will be the central meeting point for ideas to extend NSIS or to report bugs.

For any new ideas, wishes or bug reports, you should contact me. I'll post the ideas here. I cannot promise that the NSIS developers will spend time to indeed implement your ideas or wishes. I invite developers of altered sources to submit their source to this thread as a response to wishes or feature requests. If you want to submit source, please provide a link and no attachments.

-Hendri.


Submitted by Joost Verburg

I think that the NSIS Wizard should have the same style as all modern Windows wizards. Like other installers (Windows Installer, InstallShield, InnoSetup):

http://www.jrsoftware.org/images/isetupmodernbig.png

-Joost


Submitted by Pomflain
As a reply to http://forums.winamp.com/showthread....threadid=84300

I made a new define, which goes in config.h

#ifdef NSIS_CONFIG_CRC_SUPPORT
// NSIS_CONFIG_CRC_WHOLEFILE enables support for detecting a filesize that is greater than the original installer (pomflain)
#define NSIS_CONFIG_CRC_WHOLEFILE
#endif

Here's the before and after, it's from Main.c line 244.
Just need to add the block that I've marked, but I included the other lines so you can see exactly where it goes.

#endif//NSIS_CONFIG_VISIBLE_SUPPORT

if (left<m_length) crc=CRC32(crc, temp, l);

#endif//NSIS_CONFIG_CRC_SUPPORT
m_pos+=l;
left -= l;
}

#ifdef NSIS_CONFIG_CRC_WHOLEFILE
/*CRC32 Whole file fix 17/4/2002 (pomflain)*/
if((m_length - 4) != m_pos)
{
m_Err=g_crcinvalid;
goto end;
}
/*CRC32 Whole file fix end 17/4/2002 (pomflain)*/
#endif

#ifdef NSIS_CONFIG_VISIBLE_SUPPORT
#ifdef NSIS_CONFIG_CRC_SUPPORT
if (hwnd) DestroyWindow(hwnd);


Submitted by superrock

Please insert the new commands for section selection as I did it for Nsis 1.95. I can migrate it to any newer release, if it helps!

For further details see: http://forums.winamp.com/showthread....376#post471376

There you'll find the sources and the description. The binary version
can be downloaded from ftp://ftp.tdv.at/ftpclipboard/makensis.zip


Submitted by Smile2Me

Yeah, my own wish!

While surfing the Forum, I encountered some feature request of mine of the past, which I thought would be a nice addition to NSIS 2.0.

http://forums.winamp.com/showthread....threadid=75348

-Hendri.


Submitted by KiCHiK

My wish is that the CRC checksum will be done after all of the installer was written to the disk so that its resources can be edited. Currently the CRC checksum is done after almost every change to the installer.
If this could be done then XP style support adding could be done at compilation time of the NSIS script, unneeded resources could be stripped down to shrink the installer even more, and support for icons with more than 16 could be implemented very easily.

If justin doesn't want to do this, I will find some time in the near future to do it myself as I think it could add a lot.

Addition
Just a couple more thingies to the wish:

If this will be done it will also be easier to impelement multi-language support as resources and other settings could also converted to resources instead of compile time #define's.

KiCHiK


Originally posted by Smile2Me
Submitted by KiCHiK

My wish is that the CRC checksum will be done after all of the installer was written to the disk so that its resources can be edited. Currently the CRC checksum is done after almost every change to the installer.
If this could be done then XP style support adding could be done at compilation time of the NSIS script, unneeded resources could be stripped down to shrink the installer even more, and support for icons with more than 16 could be implemented very easily.

If justin doesn't want to do this, I will find some time in the near future to do it myself as I think it could add a lot.

Addition
Just a couple more thingies to the wish:

If this will be done it will also be easier to impelement multi-language support as resources and other settings could also converted to resources instead of compile time #define's.

KiCHiK
You can process the EXE header before it gets written using !packhdr. :) If you want to run multiple commands, use a batch file...

-Justin

I'm sorry to inform you about this:

The wishlist idea is not working out. A lot of people don't seem to be able to find this place to report bugs. And I don't want to move posts around everytime and risk crossposting. So this is no longer a sticky, because when people do not use it, it's just useless!

I hesitated a lot to do this because some people use it with good intention, but when other people do not use it, bug reports still are scattered around the Forum and then the central place has no use. I have warned several guys by replying (example) to the bug report, but obviously, not all people saw this.

No hard feelings, I just do not want to mess up the Forum with useless posts!

Have fun, greetz,
-Hendri.