logo separator

[mkgmap-dev] NSIS installer improvements phase 2 v2

From Minko ligfietser at online.nl on Fri Mar 11 11:36:39 GMT 2011

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.

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.

basemap FID=1000, PID=1, uninstaller name: uninstall_1000-1.exe
srtm layer=FID=1000, PID=2 uninstaller name: uninstall_1000-2.exe
etc

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


Thorsten wrote
So the registry tree would look like:

${REG_KEY} -> ID=Family-ID
   |--> {PRODUCT_ID1} -> data
   |--> {PRODUCT_ID2} -> data
   |--> ...

And that lead to the next problem: Removing a map from a family,
where still other family members are installed, will remove
the ID tag and thus renders all installed maps of this family useless.
I don't have a solution for that yet.



More information about the mkgmap-dev mailing list