Thanks for the link Indrid The site seems to be down but I will keep trying it.
Freecat
Freecat
Welcome to GPSFileDepot!
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menu[_id]
ProductCode=7728
FID=1
[End]
[_drawOrder]
Type=0x01,1
Type=0x02,1
Type=0x03,1
Type=0x04,1
Type=0x05,1
Type=0x06,1
Type=0x07,1
Type=0x08,1
Type=0x09,1
Type=0x0a,1
Type=0x0b,1
Type=0x0c,1
Type=0x0d,1
Type=0x0e,1
Type=0x0f,1
Type=0x10,1
Type=0x11,1
Type=0x12,1
Type=0x13,1
Type=0x14,1
Type=0x15,1
Type=0x16,1
Type=0x17,1
Type=0x18,1
Type=0x19,1
Type=0x1a,1
Type=0x1e,1
Type=0x1f,1
Type=0x20,1
Type=0x21,1
Type=0x22,1
Type=0x23,1
Type=0x24,1
Type=0x25,1
Type=0x26,1
Type=0x27,1
Type=0x28,1
Type=0x29,1
Type=0x32,1
Type=0x3b,1
Type=0x3c,1
Type=0x3d,1
Type=0x3e,1
Type=0x3f,1
Type=0x40,1
Type=0x41,1
Type=0x42,1
Type=0x43,1
Type=0x44,1
Type=0x45,1
Type=0x46,1
Type=0x47,1
Type=0x48,1
Type=0x49,1
Type=0x4c,1
Type=0x4d,1
Type=0x4e,1
Type=0x4f,1
Type=0x50,1
Type=0x51,1
Type=0x52,1
Type=0x53,1
[end]
[_line]
Type=0x10
BorderWidth=1
LineWidth=2
XPM="0 0 2 0"
"1 c #7A3000"
"2 c #000000"
[end]
[_line]
Type=0x11
BorderWidth=1
LineWidth=3
XPM="0 0 2 0"
"1 c #FFFF01"
"2 c #000000"
[end]
[_line]
Type=0x12
BorderWidth=2
LineWidth=24
XPM="0 0 2 0"
"1 c #FF6541"
"2 c #000000"
[end]
[_line]
Type=0x13
BorderWidth=1
LineWidth=1
XPM="0 0 2 0"
"1 c #B4B4B4"
"2 c #000000"
[end]
[_line]
Type=0x30
BorderWidth=2
LineWidth=2
XPM="0 0 2 0"
"1 c #FFFF01"
"2 c #B4B4B4"
[end]
;--------------------------------
;Multi-bit NSIS installer script**original script by Oz** modified 3-1-2010 by =^_^= Freecat =^_^= *****
;NOTE FOR CUSTOM TYPES: Un-comment and adjust lines- 17, 109, 159(for 64 bit), 186(for32bit)
; install.nsi
;--------------------------------
!include "MUI2.nsh"
!include "Sections.nsh"
; Configuration parameters
!define MAP_DESC_NAME "Mississippi Topo Map"
!define MAP_SHORT_NAME "Mississippi_Topo" ;<<<Name must match>>>.TDB file name ?????
!define MAP_URL "http://www.gpsfiledepot.com/"
!define MAP_EMAIL "[email protected]"
!define MAP_COPYRIGHT "Copyright (C) 2008 GPSFileDepot.com"
!define MAP_VERSION "1.0"
!define MAP_REL_DATE "21 Jul 2008"
!define MAP_ID C10C ; Family ID = 4644 (dec) = 1224 (hex) = 2412 (hex flipped) --> http://www.geocities.com/binary_converter/
; !define MAP_TYPE 11224 ; only if using custom types
!define DIRECTORY "C:\gps_maps\mississippi_topo\release_version_1.00\"
!define EXE_FILE "${DIRECTORY}mstopo_install.exe"
; !define INSTALL_ICON "C:\gps_maps\arizona_topo\complete\favicon.ico"
; !define INSTALL_IMAGE "C:\gps_maps\left_header.bmp"
; !define INSTALL_LICENSE "C:\gps_maps\license.txt"
; !define INSTALL_README "$INSTDIR\readme.txt"
; !define INSTALL_MSG "${MAP_DESC_NAME} - Maps for Garmin GPS Units$\r$\n${MAP_URL}$\r$\nVersion ${MAP_VERSION} - ${MAP_REL_DATE}$\r$\n$\r$\n$\r$\nPlease email ${MAP_EMAIL} with any questions or comments or if you paid for this map.$\r$\n$\r$\n$\r$\n${MAP_COPYRIGHT}$\r$\nThis software is provided 'as-is', without any express or implied warranty. In no event will the author(s) be held liable for any damages arising from the use of this software."
!define INSTALL_MSG "This wizard will guide you through the installation of ${MAP_DESC_NAME} version ${MAP_VERSION} (${MAP_REL_DATE}) for Garmin GPS Units.$\r$\n$\r$\n${MAP_URL}$\r$\n$\r$\nPlease email ${MAP_EMAIL} with any questions or comments or if you paid for this map.$\r$\n$\r$\nIt is recommended that you close all other applications before starting Setup. This will make it possible to update relevant system files without having to reboot your computer.$\r$\n$\r$\nClick Next to continue."
; Setup installer
Name "${MAP_DESC_NAME}"
OutFile ${EXE_FILE}
InstallDir "$PROGRAMFILES\${MAP_SHORT_NAME}"
BrandingText " "
;--------------------------------
;Interface Settings
;--------------------------------
!define MUI_ABORTWARNING
; !define MUI_ICON ${INSTALL_ICON}
; !define MUI_UNICON ${INSTALL_ICON}
;--------------------------------
;Pages
;--------------------------------
; Generic welcome screen (optional)
; !define MUI_WELCOMEFINISHPAGE_BITMAP ${INSTALL_IMAGE}
; !insertmacro MUI_PAGE_WELCOME
; Custom welcome screen (optional)
!define MUI_WELCOMEPAGE_TITLE "Welcome to the ${MAP_DESC_NAME} Setup Wizard"
!define MUI_WELCOMEPAGE_TEXT "${INSTALL_MSG}"
!insertmacro MUI_PAGE_WELCOME
; !define MUI_LICENSEPAGE_CHECKBOX
; !insertmacro MUI_PAGE_LICENSE "${INSTALL_LICENSE}"
; Installation directory dialog
!insertmacro MUI_PAGE_DIRECTORY
; Installation
!insertmacro MUI_PAGE_INSTFILES
; Readme (optional)
; !define MUI_FINISHPAGE_SHOWREADME "${INSTALL_README}"
!insertmacro MUI_PAGE_FINISH
!insertmacro MUI_UNPAGE_CONFIRM
!insertmacro MUI_UNPAGE_INSTFILES
;--------------------------------
;Languages
;--------------------------------
!insertmacro MUI_LANGUAGE "English"
;--------------------------------
; The stuff to install
;--------------------------------
Section "Install"
;remove the old version first
ReadRegStr $R0 HKLM \
"Software\Microsoft\Windows\CurrentVersion\Uninstall\${MAP_SHORT_NAME}" \
"UninstallString"
StrCmp $R0 "" done
MessageBox MB_OKCANCEL|MB_ICONEXCLAMATION \
"${MAP_DESC_NAME} is already installed. $\n$\nClick `OK` to remove the \
previous version and upgrade or `Cancel` to cancel this upgrade." \
IDOK uninst
Abort
;Run the uninstaller
uninst:
ClearErrors
ExecWait '$R0 _?=$INSTDIR' ;Do not copy the uninstaller to a temp file
IfErrors no_remove_uninstaller
;You can either use Delete /REBOOTOK in the uninstaller or add some code
;here to remove the uninstaller. Use a registry key to check
;whether the user has chosen to uninstall. If you are using an uninstaller
;components page, make sure all sections are uninstalled.
no_remove_uninstaller:
done:
; Set output path to the installation directory.
SetOutPath $INSTDIR
; Source files for creating installation
File /a "${DIRECTORY}${MAP_SHORT_NAME}.tdb"
File /a "${DIRECTORY}${MAP_SHORT_NAME}.img"
; File /a "..\garmin\types\${MAP_TYPE}.typ" ; only if using custom type
; File /a ".\readme.txt"
File /a "${DIRECTORY}*.img"
;*****************************************************************************************************************
;This part determines if the OS is 32 or 64 bit and executes the needed function
;*****************************************************************************************************************
StrCpy $0 0
ClearErrors ; reset error flags
IfFileExists C:\Windows\SysWOW64\*.* +1 +3 ;check for folder that only occurs on 64 bit systems
Call .win7 ; if folder is there call the 64 bit function
Goto fin ; move to Label fin:
Call .winxp ; if folder is not there call the 32 bit function
fin: ;ends section after 64 bit reg entries are written
;*****************************************************************************************************************
SectionEnd
;--------------------------------
; Uninstaller
;--------------------------------
Section "Uninstall"
; Remove registry keys
DeleteRegKey HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\${MAP_SHORT_NAME}"
DeleteRegKey HKLM "SOFTWARE\${MAP_SHORT_NAME}"
DeleteRegKey HKLM "SOFTWARE\Garmin\MapSource\Families\${MAP_SHORT_NAME}"
; Remove files and uninstaller
Delete $INSTDIR\*.*
Delete $INSTDIR\uninstall.exe
; Remove directories used
RMDir "$INSTDIR"
SectionEnd
;*************************FUNCTIONS********************************************
;******************************************************************************
;****************This function writes the 64 Bit registry entries**************
;******************************************************************************
Function .win7
; Write the installation path into the registry
WriteRegStr HKLM "SOFTWARE\${MAP_SHORT_NAME}" "Install_Dir" "$INSTDIR"
WriteRegStr HKLM "SOFTWARE\${MAP_SHORT_NAME}" "Version" "${MAP_VERSION}"
; Write the MapSource configuration into the registry
WriteRegBin HKLM "SOFTWARE\Wow6432Node\Garmin\MapSource\Families\${MAP_SHORT_NAME}" "ID" ${MAP_ID}
; WriteRegStr HKLM "SOFTWARE\Wow6432Node\Garmin\MapSource\Families\${MAP_SHORT_NAME}" "TYP" "$INSTDIR\${MAP_TYPE}.typ" ; only if using custom type
WriteRegStr HKLM "SOFTWARE\Wow6432Node\Garmin\MapSource\Families\${MAP_SHORT_NAME}\1" "LOC" "$INSTDIR\"
WriteRegStr HKLM "SOFTWARE\Wow6432Node\Garmin\MapSource\Families\${MAP_SHORT_NAME}\1" "BMAP" "$INSTDIR\${MAP_SHORT_NAME}.img"
WriteRegStr HKLM "SOFTWARE\Wow6432Node\Garmin\MapSource\Families\${MAP_SHORT_NAME}\1" "TDB" "$INSTDIR\${MAP_SHORT_NAME}.tdb"
; Write the uninstall keys for Windows
WriteRegStr HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\${MAP_SHORT_NAME}" "DisplayName" "${MAP_DESC_NAME}"
WriteRegStr HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\${MAP_SHORT_NAME}" "UninstallString" "$INSTDIR\uninstall.exe"
WriteRegDWORD HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\${MAP_SHORT_NAME}" "NoModify" 1
WriteRegDWORD HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\${MAP_SHORT_NAME}" "NoRepair" 1
WriteUninstaller "uninstall.exe"
FunctionEnd
;******************************************************************************
;****************This function writes the 32 Bit registry entries**************
;******************************************************************************
Function .winxp
; Write the installation path into the registry
WriteRegStr HKLM "SOFTWARE\${MAP_SHORT_NAME}" "Install_Dir" "$INSTDIR"
WriteRegStr HKLM "SOFTWARE\${MAP_SHORT_NAME}" "Version" "${MAP_VERSION}"
; Write the MapSource configuration into the registry
WriteRegBin HKLM "SOFTWARE\Garmin\MapSource\Families\${MAP_SHORT_NAME}" "ID" ${MAP_ID}
; WriteRegStr HKLM "SOFTWARE\Garmin\MapSource\Families\${MAP_SHORT_NAME}" "TYP" "$INSTDIR\${MAP_TYPE}.typ" ; only if using custom type
WriteRegStr HKLM "SOFTWARE\Garmin\MapSource\Families\${MAP_SHORT_NAME}\1" "LOC" "$INSTDIR\"
WriteRegStr HKLM "SOFTWARE\Garmin\MapSource\Families\${MAP_SHORT_NAME}\1" "BMAP" "$INSTDIR\${MAP_SHORT_NAME}.img"
WriteRegStr HKLM "SOFTWARE\Garmin\MapSource\Families\${MAP_SHORT_NAME}\1" "TDB" "$INSTDIR\${MAP_SHORT_NAME}.tdb"
; Write the uninstall keys for Windows
WriteRegStr HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\${MAP_SHORT_NAME}" "DisplayName" "${MAP_DESC_NAME}"
WriteRegStr HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\${MAP_SHORT_NAME}" "UninstallString" "$INSTDIR\uninstall.exe"
WriteRegDWORD HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\${MAP_SHORT_NAME}" "NoModify" 1
WriteRegDWORD HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\${MAP_SHORT_NAME}" "NoRepair" 1
WriteUninstaller "uninstall.exe"
Functionend
;**********************************************
;--------------------------------
; install.nsi*********************** FOR WINDOWS 7 64 BIT***************************************
;--------------------------------
!include "MUI2.nsh"
; Configuration parameters
!define MAP_DESC_NAME "Mississippi Topo Map"
!define MAP_SHORT_NAME "Mississippi Topo"
!define MAP_URL "http://www.gpsfiledepot.com/"
!define MAP_EMAIL "[email protected]"
!define MAP_COPYRIGHT "Copyright (C) 2008 GPSFileDepot.com"
!define MAP_VERSION "1.0"
!define MAP_REL_DATE "21 Jul 2008"
!define MAP_ID C10C ; Family ID = 4644 (dec) = 1224 (hex) = 2412 (hex flipped) --> http://www.geocities.com/binary_converter/
; !define MAP_TYPE 11224 ; only if using custom types
!define DIRECTORY "C:\gps_maps\mississippi_topo\release_version_1.00\"
!define EXE_FILE "${DIRECTORY}mstopo_install.exe"
; !define INSTALL_ICON "C:\gps_maps\arizona_topo\complete\favicon.ico"
; !define INSTALL_IMAGE "C:\gps_maps\left_header.bmp"
; !define INSTALL_LICENSE "C:\gps_maps\license.txt"
; !define INSTALL_README "$INSTDIR\readme.txt"
; !define INSTALL_MSG "${MAP_DESC_NAME} - Maps for Garmin GPS Units$\r$\n${MAP_URL}$\r$\nVersion ${MAP_VERSION} - ${MAP_REL_DATE}$\r$\n$\r$\n$\r$\nPlease email ${MAP_EMAIL} with any questions or comments or if you paid for this map.$\r$\n$\r$\n$\r$\n${MAP_COPYRIGHT}$\r$\nThis software is provided 'as-is', without any express or implied warranty. In no event will the author(s) be held liable for any damages arising from the use of this software."
!define INSTALL_MSG "This wizard will guide you through the installation of ${MAP_DESC_NAME} version ${MAP_VERSION} (${MAP_REL_DATE}) for Garmin GPS Units.$\r$\n$\r$\n${MAP_URL}$\r$\n$\r$\nPlease email ${MAP_EMAIL} with any questions or comments or if you paid for this map.$\r$\n$\r$\nIt is recommended that you close all other applications before starting Setup. This will make it possible to update relevant system files without having to reboot your computer.$\r$\n$\r$\nClick Next to continue."
; Setup installer
Name "${MAP_DESC_NAME}"
OutFile ${EXE_FILE}
InstallDir "$PROGRAMFILES\${MAP_SHORT_NAME}"
BrandingText " "
;--------------------------------
;Interface Settings
;--------------------------------
!define MUI_ABORTWARNING
; !define MUI_ICON ${INSTALL_ICON}
; !define MUI_UNICON ${INSTALL_ICON}
;--------------------------------
;Pages
;--------------------------------
; Generic welcome screen (optional)
; !define MUI_WELCOMEFINISHPAGE_BITMAP ${INSTALL_IMAGE}
; !insertmacro MUI_PAGE_WELCOME
; Custom welcome screen (optional)
!define MUI_WELCOMEPAGE_TITLE "Welcome to the ${MAP_DESC_NAME} Setup Wizard"
!define MUI_WELCOMEPAGE_TEXT "${INSTALL_MSG}"
!insertmacro MUI_PAGE_WELCOME
; !define MUI_LICENSEPAGE_CHECKBOX
; !insertmacro MUI_PAGE_LICENSE "${INSTALL_LICENSE}"
; Installation directory dialog
!insertmacro MUI_PAGE_DIRECTORY
; Installation
!insertmacro MUI_PAGE_INSTFILES
; Readme (optional)
; !define MUI_FINISHPAGE_SHOWREADME "${INSTALL_README}"
!insertmacro MUI_PAGE_FINISH
!insertmacro MUI_UNPAGE_CONFIRM
!insertmacro MUI_UNPAGE_INSTFILES
;--------------------------------
;Languages
;--------------------------------
!insertmacro MUI_LANGUAGE "English"
;--------------------------------
; The stuff to install
;--------------------------------
Section "Install"
;remove the old version first
ReadRegStr $R0 HKLM \
"Software\Microsoft\Windows\CurrentVersion\Uninstall\${MAP_SHORT_NAME}" \
"UninstallString"
StrCmp $R0 "" done
MessageBox MB_OKCANCEL|MB_ICONEXCLAMATION \
"${MAP_DESC_NAME} is already installed. $\n$\nClick `OK` to remove the \
previous version and upgrade or `Cancel` to cancel this upgrade." \
IDOK uninst
Abort
;Run the uninstaller
uninst:
ClearErrors
ExecWait '$R0 _?=$INSTDIR' ;Do not copy the uninstaller to a temp file
IfErrors no_remove_uninstaller
;You can either use Delete /REBOOTOK in the uninstaller or add some code
;here to remove the uninstaller. Use a registry key to check
;whether the user has chosen to uninstall. If you are using an uninstaller
;components page, make sure all sections are uninstalled.
no_remove_uninstaller:
done:
; Set output path to the installation directory.
SetOutPath $INSTDIR
; Source files for creating installation
File /a "${DIRECTORY}${MAP_SHORT_NAME}.tdb"
File /a "${DIRECTORY}${MAP_SHORT_NAME}.img"
; File /a "..\garmin\types\${MAP_TYPE}.typ" ; only if using custom type
; File /a ".\readme.txt"
File /a "${DIRECTORY}*.img"
; Write the installation path into the registry
WriteRegStr HKLM "SOFTWARE\${MAP_SHORT_NAME}" "Install_Dir" "$INSTDIR"
WriteRegStr HKLM "SOFTWARE\${MAP_SHORT_NAME}" "Version" "${MAP_VERSION}"
; Write the MapSource configuration into the registry
WriteRegBin HKLM "SOFTWARE\Wow6432Node\Garmin\MapSource\Families\${MAP_SHORT_NAME}" "ID" ${MAP_ID}
; WriteRegStr HKLM "SOFTWARE\Wow6432Node\Garmin\MapSource\Families\${MAP_SHORT_NAME}" "TYP" "$INSTDIR\${MAP_TYPE}.typ" ; only if using custom type
WriteRegStr HKLM "SOFTWARE\Wow6432Node\Garmin\MapSource\Families\${MAP_SHORT_NAME}\1" "LOC" "$INSTDIR\"
WriteRegStr HKLM "SOFTWARE\Wow6432Node\Garmin\MapSource\Families\${MAP_SHORT_NAME}\1" "BMAP" "$INSTDIR\${MAP_SHORT_NAME}.img"
WriteRegStr HKLM "SOFTWARE\Wow6432Node\Garmin\MapSource\Families\${MAP_SHORT_NAME}\1" "TDB" "$INSTDIR\${MAP_SHORT_NAME}.tdb"
; Write the uninstall keys for Windows
WriteRegStr HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\${MAP_SHORT_NAME}" "DisplayName" "${MAP_DESC_NAME}"
WriteRegStr HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\${MAP_SHORT_NAME}" "UninstallString" "$INSTDIR\uninstall.exe"
WriteRegDWORD HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\${MAP_SHORT_NAME}" "NoModify" 1
WriteRegDWORD HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\${MAP_SHORT_NAME}" "NoRepair" 1
WriteUninstaller "uninstall.exe"
SectionEnd
;--------------------------------
; Uninstaller
;--------------------------------
Section "Uninstall"
; Remove registry keys
DeleteRegKey HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\${MAP_SHORT_NAME}"
DeleteRegKey HKLM "SOFTWARE\${MAP_SHORT_NAME}"
DeleteRegKey HKLM "SOFTWARE\Garmin\MapSource\Families\${MAP_SHORT_NAME}"
; Remove files and uninstaller
Delete $INSTDIR\*.*
Delete $INSTDIR\uninstall.exe
; Remove directories used
RMDir "$INSTDIR"
SectionEnd
; Write the installation path into the registry
WriteRegStr HKLM "SOFTWARE\${MAP_SHORT_NAME}" "Install_Dir" "$INSTDIR"
WriteRegStr HKLM "SOFTWARE\${MAP_SHORT_NAME}" "Version" "${MAP_VERSION}"
; Write the MapSource configuration into the registry
WriteRegBin HKLM "SOFTWARE\Garmin\MapSource\Families\${MAP_SHORT_NAME}" "ID" ${MAP_ID}
WriteRegStr HKLM "SOFTWARE\Garmin\MapSource\Families\${MAP_SHORT_NAME}" "TYP" "$INSTDIR\${MAP_TYPE}.typ" ; only if using custom type
WriteRegStr HKLM "SOFTWARE\Garmin\MapSource\Families\${MAP_SHORT_NAME}\1" "LOC" "$INSTDIR\"
WriteRegStr HKLM "SOFTWARE\Garmin\MapSource\Families\${MAP_SHORT_NAME}\1" "BMAP" "$INSTDIR\${MAP_SHORT_NAME}.img"
WriteRegStr HKLM "SOFTWARE\Garmin\MapSource\Families\${MAP_SHORT_NAME}\1" "TDB" "$INSTDIR\${MAP_SHORT_NAME}.tdb"
; Write the uninstall keys for Windows
WriteRegStr HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\${MAP_SHORT_NAME}" "DisplayName" "${MAP_DESC_NAME}"
WriteRegStr HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\${MAP_SHORT_NAME}" "UninstallString" "$INSTDIR\uninstall.exe"
WriteRegDWORD HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\${MAP_SHORT_NAME}" "NoModify" 1
WriteRegDWORD HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\${MAP_SHORT_NAME}" "NoRepair" 1
WriteUninstaller "uninstall.exe"
SectionEnd
; Write the installation path into the registry
WriteRegStr HKLM "SOFTWARE\${MAP_SHORT_NAME}" "Install_Dir" "$INSTDIR"
WriteRegStr HKLM "SOFTWARE\${MAP_SHORT_NAME}" "Version" "${MAP_VERSION}"
; Write the MapSource configuration into the registry
WriteRegBin HKLM "SOFTWARE\Wow6432Node\Garmin\MapSource\Families\${MAP_SHORT_NAME}" "ID" ${MAP_ID}
; WriteRegStr HKLM "SOFTWARE\Garmin\MapSource\Families\${MAP_SHORT_NAME}" "TYP" "$INSTDIR\${MAP_TYPE}.typ" ; only if using custom type
WriteRegStr HKLM "SOFTWARE\Wow6432Node\Garmin\MapSource\Families\${MAP_SHORT_NAME}\1" "LOC" "$INSTDIR\"
WriteRegStr HKLM "SOFTWARE\Wow6432Node\Garmin\MapSource\Families\${MAP_SHORT_NAME}\1" "BMAP" "$INSTDIR\${MAP_SHORT_NAME}.img"
WriteRegStr HKLM "SOFTWARE\Wow6432Node\Garmin\MapSource\Families\${MAP_SHORT_NAME}\1" "TDB" "$INSTDIR\${MAP_SHORT_NAME}.tdb"
; Write the uninstall keys for Windows
WriteRegStr HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\${MAP_SHORT_NAME}" "DisplayName" "${MAP_DESC_NAME}"
WriteRegStr HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\${MAP_SHORT_NAME}" "UninstallString" "$INSTDIR\uninstall.exe"
WriteRegDWORD HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\${MAP_SHORT_NAME}" "NoModify" 1
WriteRegDWORD HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\${MAP_SHORT_NAME}" "NoRepair" 1
WriteUninstaller "uninstall.exe"
SectionEnd
© 2007 - 2022 GPSFileDepot.com
A Division of OzTheory
Privacy Policy | Usage Agreement