logo separator

[mkgmap-dev] NSIS installer improvements phase 2 v2

From Thorsten Kukuk kukuk at suse.de on Fri Mar 11 11:47:19 GMT 2011

On Fri, Mar 11, Minko wrote:

> If you update map_X with FID=x with PID=1, there will be an uninstall.exe in the folder
> of map_X. How would that work with a special layer of that map_X with PID=2 ?
> I had a look on your map files, but can't see an installer for the srtm layer.

No, srtm isn't updated yet, but most the other layers for Germany are.
But where is the problem?
C:\Garmin\Maps\TK-OSM-DE-Basesystem\Uninstall.exe
C:\Garmin\Maps\TK-OSM-DE-Hiking\Uninstall.exe

You don't need to put them in the same directory, only the $REG_KEY
needs to be the same.

> Let's assume you only want to update the base layer of your map, but not the srtm layer.
> Maybe its better to give the uninstaller name of that base layer (which is now uninstall.exe) an unique name like uninstall_FID-PID.exe,
> so you can choose what kind of map you want to remove.

You don't need if you choose different directorys.

> This also makes it possible to install different maps into one directory.

That was my first idea, but in the end, I had to struggle with
too many possible file conflicts and making sure, not to delete
a file still needed by another map, that I decided to use different
directorys.
MapSource and BaseCamp don't care about where the files are on
disk, only where the registry entries are.

  Thorsten

-- 
Thorsten Kukuk, Project Manager/Release Manager SLES
SUSE LINUX Products GmbH, Maxfeldstr. 5, D-90409 Nuernberg
GF: Markus Rex, HRB 16746 (AG Nuernberg)



More information about the mkgmap-dev mailing list