Home page logo
/

nmap-dev logo Nmap Development mailing list archives

Re: windows installer and COPYING
From: jah <jah () zadkiel plus com>
Date: Wed, 12 Dec 2007 01:11:32 +0000

Attached is nsis_license.zip containing nsis_license.patch and nsis_license_refmtd.png to show what the License page looks like with the patch.

I haven't made any changes other than those required to reformat the text and to have nsis use it for the license page of the windows installer (such as those changes previously proposed by Rob). The patch adds a new file to nmap/mswin32/nsis and changes line 42 of nmap.nsi to

!insertmacro MUI_PAGE_LICENSE "..\nsis\COPYING"

Which picks the file up for the license page, but does not alter the fact that the standard COPYING is present in the installation dir as before and the new file is not included in the installation. I've viewed the license page at lower resolutions with an XP system font size of 120dpi (as opposed to the standard 96dpi) and it looks as I hoped it would (it's only the dpi setting that affects the amount of wrapping, I found. 120dpi causes a further wrapping of 9 chars on my machine). The only other thing worth mentioning is that indentation for bulleted lists breaks too so I've done away with the indentation. I don't think it harms readability.

I've been looking into whether it's possible/feasible to fix the font used to display the license because the default used in nsis, I believe is the default for the system on which the installer is executed. Using a fixed font and font size might dispense with the need to maintain a separate COPYING as we'd be able to fit it properly in the available field, but it would still break at higher dpi's used by short sighted people and those installing nmap on computers attached to huge plasma screens...

See what y'think.

jah

Attachment: nsis_license.zip
Description:


_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org

  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]