Changeset 7545
- Timestamp:
- 2006-05-14 00:22:56 (3 years ago)
- Files:
-
- picard/trunk/installer/picard-setup.nsi.in (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
picard/trunk/installer/picard-setup.nsi.in
r7194 r7545 10 10 Name "${PRODUCT_NAME} ${PRODUCT_VERSION}" 11 11 OutFile "picard-setup-${PRODUCT_VERSION}.exe" 12 InstallDir "$PROGRAMFILES\${PRODUCT_NAME}"13 12 ShowInstDetails show 14 13 ShowUnInstDetails show 14 15 ; The default installation directory 16 InstallDir "$PROGRAMFILES\${PRODUCT_NAME}" 17 18 ; The default installation directory 19 InstallDirRegKey HKLM "Software\MusicBrainz\${PRODUCT_NAME}" "InstallDir" 15 20 16 21 !include "MUI.nsh" … … 72 77 !insertmacro MUI_STARTMENU_WRITE_END 73 78 79 ; Write the installation path into the registry 80 WriteRegStr HKLM "Software\MusicBrainz\${PRODUCT_NAME}" "InstallDir" "$INSTDIR" 81 74 82 ; Create uninstaller 75 83 WriteUninstaller "$INSTDIR\uninst.exe" … … 93 101 94 102 DeleteRegKey ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" 103 DeleteRegKey HKLM "Software\MusicBrainz\${PRODUCT_NAME}" 95 104 96 105 SectionEnd