Re: [mkgmap-dev] MapSource installer improvements v5

2011-03-08 Thread Minko
A few remarks: The Typ file is not registered in mapsource (I think someone already mentioned it, but it is quite urgent to repair this) I dont know where to find / how to access the installer templates. Do I have to compile mkgmap for this? Another thing on the wishlist is to add support for

Re: [mkgmap-dev] MapSource installer improvements v5

2011-03-08 Thread Nakor
On 3/8/2011 6:14 AM, Minko wrote: A few remarks: The Typ file is not registered in mapsource (I think someone already mentioned it, but it is quite urgent to repair this) I dont know where to find / how to access the installer templates. Do I have to compile mkgmap for this? Another thing

Re: [mkgmap-dev] MapSource installer improvements v5

2011-03-08 Thread Minko
PS Those two lines were missing: WriteRegStr HKLM SOFTWARE\Garmin\MapSource\Families\${REG_KEY} TYP $INSTDIR\$x.TYP DeleteRegValue HKLM SOFTWARE\Garmin\MapSource\Families\${REG_KEY} TYP typfile=x.typ ___ mkgmap-dev mailing list

Re: [mkgmap-dev] MapSource installer improvements v5

2011-03-07 Thread Thorsten Kukuk
Hi, On Thu, Mar 03, Nakor wrote: The previous versions had a file name hardcoded and would not work in most cases. Sorry about that. I tested the current version from svn and found out, that the TYP file is not added to the registry. Any chance that we can add that registry entry

Re: [mkgmap-dev] Mapsource installer

2010-01-03 Thread Mark Burton
Hi Steve, New patch attached. Thanks, giving it a go... looks good. Ah, just noticed that it doesn't put a line in the script to delete the TYP file on uninstall - otherwise, looking good. Cheers, Mark ___ mkgmap-dev mailing list

Re: [mkgmap-dev] Mapsource installer

2010-01-02 Thread Nakor
2. Run mkgmap with the --nsis option. This will give you a .nsi file (by default osmmap.nsi). This is just a text file that you can adjust if need be. OK - I notice that it misses out the TYP file and indexing files. It would be good if it included them (please could you add them into the

Re: [mkgmap-dev] Mapsource installer

2010-01-02 Thread Mark Burton
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

Re: [mkgmap-dev] Mapsource installer

2010-01-02 Thread Mark Burton
Hi Steve, It will include the index files if --index is given. Of course this also generates the index too and it might be good to be able to build from a previously generated set of files. Hmm, I'm specifying --index but it's not putting anything into osmmap.nsi that's related to MDR or

Re: [mkgmap-dev] Mapsource installer

2010-01-02 Thread Mark Burton
Steve, Thanks, I will give it a go. No sooner said than done. 2 issues observed in osmmap.nsi: 1 - the WriteRegStr line for the TYP file includes the TYP file's path when it should be stripped? i.e. WriteRegStr HKLM SOFTWARE\Garmin\MapSource\Families\${REG_KEY} TYP

Re: [mkgmap-dev] Mapsource installer

2010-01-02 Thread Steve Ratcliffe
On 02/01/10 23:23, Mark Burton wrote: Steve, Thanks, I will give it a go. 1 - the WriteRegStr line for the TYP file includes the TYP file's path when it should be stripped? i.e. Would giving an arbitary Unix path even work in a windows installer? I always have all files in the current

Re: [mkgmap-dev] Mapsource installer

2010-01-02 Thread Mark Burton
Steve, Thanks, I will give it a go. 1 - the WriteRegStr line for the TYP file includes the TYP file's path when it should be stripped? i.e. Would giving an arbitary Unix path even work in a windows installer? Well, the problem would be the same if you were running it under windows.