logo separator

[mkgmap-dev] Installer not working

From Gerd Petermann GPetermann_muenchen at hotmail.com on Tue Jan 3 06:29:12 GMT 2017

Hi Steph,

please double check:
The file 20000000.nsi  in your *.7z is still in utf-8.

Gerd

________________________________________
Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Stéphane MARTIN <st3ph.martin at laposte.net>
Gesendet: Montag, 2. Januar 2017 19:53:28
An: Development list for mkgmap
Betreff: Re: [mkgmap-dev] Installer not working

Hi,

mkgmap with -Dfile.encoding=ISO8859_15 and makensis with -INPUTCHARSET
OEM work with no problem.

$ file 20000000.nsi
20000000.nsi: BSD makefile script, ISO-8859 text

$ makensis -INPUTCHARSET OEM -V3 20000000.nsi
MakeNSIS v31-Dec-2016.cvs - Copyright 1999-2016 Contributors
See the file COPYING for license details.
Credits can be found in the Users Manual.

Processing script file: "20000000.nsi" (OEM)

Processed 1 file, writing output (x86-ansi):

Output: "Mayotte OSM default.exe"
Install: 5 pages (320 bytes), 1 section (4120 bytes), 431 instructions
(12068 bytes), 442 strings (14178 bytes), 5 language tables (1610 bytes).
Uninstall: 1 page (128 bytes), 1 section (4120 bytes), 56 instructions
(1568 bytes), 204 strings (4884 bytes), 5 language tables (990 bytes).
Datablock optimizer saved 32134 bytes (~0.6%).

Using lzma (compress whole) compression.

EXE header size:               49152 / 36352 bytes
Install code:                          (29664 bytes)
Install data:                          (4767411 bytes)
Uninstall code+data:                   (28546 bytes)
Compressed data:              880188 / 4825621 bytes
CRC (0x4567BAF8):                  4 / 4 bytes

Total size:                   929344 / 4861977 bytes (19.1%)

BaseCamp just doesn't like the .exe. No change.

Steph

Le 02/01/2017 à 06:53, Gerd Petermann a écrit :

Hi,

I think the problem is that mkgmap doesn't work properly when started in
an environment with something like -Dfile.encoding=UTF-8.
The --nsis option will probably produce a scrambled file in that situation.
I guess we can change this in the same way as with the last patch from
Mike Baggaley, but I have no idea if that would cause new trouble for
others.
So, as a work around, I suggest to run mkgmap with something like
-Dfile.encoding=ISO8859_15 . This should produce a *.nsi file which is
not utf-8.
If makensis with /INPUTCHARSET OEM or whatever it accepts.

Gerd
_______________________________________________
mkgmap-dev mailing list
mkgmap-dev at lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


More information about the mkgmap-dev mailing list