
7 Oct
2011
7 Oct
'11
7:43 p.m.
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?