From 8ae8c3b0a3097684c983efda326ebcabe518872a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Sun, 6 Nov 2022 22:13:53 +0100 Subject: [PATCH] Added missing 000 files association --- pkg/gpxsee64.nsi | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/pkg/gpxsee64.nsi b/pkg/gpxsee64.nsi index f519800f..a5498bd1 100644 --- a/pkg/gpxsee64.nsi +++ b/pkg/gpxsee64.nsi @@ -181,13 +181,14 @@ Section "GPXSee" SEC_APP !insertmacro FILE_ASSOCIATION_ADD "qct" "QuickChart Map File" 24 !insertmacro FILE_ASSOCIATION_ADD "trk" "TwoNav Track File" 25 !insertmacro FILE_ASSOCIATION_ADD "gemf" "GEMF Map File" 26 - !insertmacro FILE_ASSOCIATION_ADD "kml" "Keyhole Markup Language" 27 - !insertmacro FILE_ASSOCIATION_ADD "kmz" "KML geographic compressed data" 27 - !insertmacro FILE_ASSOCIATION_ADD "fit" "Flexible and Interoperable Data Transfer" 28 - !insertmacro FILE_ASSOCIATION_ADD "igc" "Flight Recorder Data Format" 29 - !insertmacro FILE_ASSOCIATION_ADD "nmea" "NMEA 0183 Data" 30 - !insertmacro FILE_ASSOCIATION_ADD "plt" "OziExplorer Track File" 31 - !insertmacro FILE_ASSOCIATION_ADD "rte" "OziExplorer Route File" 32 + !insertmacro FILE_ASSOCIATION_ADD "000" "IHO S-57 Electronic Navigation Chart" 27 + !insertmacro FILE_ASSOCIATION_ADD "kml" "Keyhole Markup Language" 28 + !insertmacro FILE_ASSOCIATION_ADD "kmz" "KML geographic compressed data" 28 + !insertmacro FILE_ASSOCIATION_ADD "fit" "Flexible and Interoperable Data Transfer" 29 + !insertmacro FILE_ASSOCIATION_ADD "igc" "Flight Recorder Data Format" 30 + !insertmacro FILE_ASSOCIATION_ADD "nmea" "NMEA 0183 Data" 31 + !insertmacro FILE_ASSOCIATION_ADD "plt" "OziExplorer Track File" 32 + !insertmacro FILE_ASSOCIATION_ADD "rte" "OziExplorer Route File" 33 WriteRegStr HKCR "Applications\GPXSee.exe\shell\open\command" "" "$\"$INSTDIR\GPXSee.exe$\" $\"%1$\"" WriteRegStr HKCR ".gpx\OpenWithList" "GPXSee.exe" "" @@ -237,6 +238,7 @@ Section "GPXSee" SEC_APP WriteRegStr HKCR ".qct\OpenWithList" "GPXSee.exe" "" WriteRegStr HKCR ".trk\OpenWithList" "GPXSee.exe" "" WriteRegStr HKCR ".gemf\OpenWithList" "GPXSee.exe" "" + WriteRegStr HKCR ".000\OpenWithList" "GPXSee.exe" "" System::Call 'shell32.dll::SHChangeNotify(i, i, i, i) v (0x08000000, 0, 0, 0)' @@ -392,6 +394,7 @@ Section "Uninstall" !insertmacro FILE_ASSOCIATION_REMOVE "qct" !insertmacro FILE_ASSOCIATION_REMOVE "trk" !insertmacro FILE_ASSOCIATION_REMOVE "gemf" + !insertmacro FILE_ASSOCIATION_REMOVE "000" DeleteRegValue HKCR ".gpx\OpenWithList" "GPXSee.exe" DeleteRegValue HKCR ".tcx\OpenWithList" "GPXSee.exe" @@ -440,6 +443,7 @@ Section "Uninstall" DeleteRegValue HKCR ".qct\OpenWithList" "GPXSee.exe" DeleteRegValue HKCR ".trk\OpenWithList" "GPXSee.exe" DeleteRegValue HKCR ".gemf\OpenWithList" "GPXSee.exe" + DeleteRegValue HKCR ".000\OpenWithList" "GPXSee.exe" DeleteRegKey HKCR "Applications\GPXSee.exe" System::Call 'shell32.dll::SHChangeNotify(i, i, i, i) v (0x08000000, 0, 0, 0)'