logo separator

[mkgmap-dev] adding current date to NSIS installer

From Minko ligfietser at online.nl on Fri Oct 7 20:43:59 BST 2011

I'm trying to add the current date to the installer file (like osm_map_07-10-2011.exe) and the (un)install information.
I use the script from this example, http://nsis.sourceforge.net/Date_and_time_in_installer_or_application_name 

!define /date MyTIMESTAMP "%d-%m-%Y"
 
Name "${INSTALLER_DESCRIPTION}${MyTIMESTAMP}"
 
OutFile "${INSTALLER_NAME}_${MyTIMESTAMP}.exe"


Unfortunately, the nsis builder from mkgmap crashes on this !define /date MyTIMESTAMP "%d-%m-%Y" line, see attachment.
If I add those lines later to the nsi file, it works well. Is this a bug?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: undefined
Type: image/jpeg
Size: 54698 bytes
Desc: not available
Url : http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20111007/e7875586/attachment.jpe 


More information about the mkgmap-dev mailing list