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
_______________________________________________
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Reply via email to