logo separator

[mkgmap-dev] Mapsource installer

From Mark Burton markb at ordern.com on Sat Jan 2 22:58:49 GMT 2010

Hi Nakor,

> Mark, I am not familiar with TYP files, but if you provide me a sample
> with all the files you submit to mkgmap, the command line and which
> files should be included in the install I will be glad to improve the
> NSIS file generation.

If you give the --index option mkgmap generates osmmap.mdx and
osmmap_mdr.idx files that should be installed with the others and have
registry entries like these:

"SOFTWARE\Garmin\MapSource\Families\${REG_KEY}" "IDX" "$INSTDIR\${MAPNAME}.mdx"
"SOFTWARE\Garmin\MapSource\Families\${REG_KEY}" "MDR" "$INSTDIR\${MAPNAME)_mdr.img"

If a TYP file is given as one filenames to mkgmap, you could include it
in the list of files to install and generate a registry entry for it:

"SOFTWARE\Garmin\MapSource\Families\${REG_KEY}" "TYP" "$INSTDIR\TYPEFILENAME"

Is that enough info?

Cheers,

Mark



More information about the mkgmap-dev mailing list