|
|
|
@ -19,7 +19,7 @@ SetCompressor /SOLID lzma
@@ -19,7 +19,7 @@ SetCompressor /SOLID lzma
|
|
|
|
|
!define MUI_STARTMENUPAGE_REGISTRY_ROOT HKLM |
|
|
|
|
!define MUI_STARTMENUPAGE_REGISTRY_KEY ${REGKEY} |
|
|
|
|
!define MUI_STARTMENUPAGE_REGISTRY_VALUENAME StartMenuGroup |
|
|
|
|
!define MUI_STARTMENUPAGE_DEFAULTFOLDER @PACKAGE_NAME@ |
|
|
|
|
!define MUI_STARTMENUPAGE_DEFAULTFOLDER "@PACKAGE_NAME@" |
|
|
|
|
!define MUI_FINISHPAGE_RUN $INSTDIR\bitcoin-qt.exe |
|
|
|
|
!define MUI_UNICON "${NSISDIR}\Contrib\Graphics\Icons\modern-uninstall.ico" |
|
|
|
|
!define MUI_UNWELCOMEFINISHPAGE_BITMAP "@abs_top_srcdir@/share/pixmaps/nsis-wizard.bmp" |
|
|
|
@ -95,8 +95,8 @@ Section -post SEC0001
@@ -95,8 +95,8 @@ Section -post SEC0001
|
|
|
|
|
WriteUninstaller $INSTDIR\uninstall.exe |
|
|
|
|
!insertmacro MUI_STARTMENU_WRITE_BEGIN Application |
|
|
|
|
CreateDirectory $SMPROGRAMS\$StartMenuGroup |
|
|
|
|
CreateShortcut "$SMPROGRAMS\$StartMenuGroup\Bitcoin.lnk" $INSTDIR\bitcoin-qt.exe |
|
|
|
|
CreateShortcut "$SMPROGRAMS\$StartMenuGroup\Uninstall Bitcoin.lnk" $INSTDIR\uninstall.exe |
|
|
|
|
CreateShortcut "$SMPROGRAMS\$StartMenuGroup\$(^Name).lnk" $INSTDIR\bitcoin-qt.exe |
|
|
|
|
CreateShortcut "$SMPROGRAMS\$StartMenuGroup\Uninstall $(^Name).lnk" $INSTDIR\uninstall.exe |
|
|
|
|
!insertmacro MUI_STARTMENU_WRITE_END |
|
|
|
|
WriteRegStr HKCU "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\$(^Name)" DisplayName "$(^Name)" |
|
|
|
|
WriteRegStr HKCU "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\$(^Name)" DisplayVersion "${VERSION}" |
|
|
|
@ -137,8 +137,8 @@ SectionEnd
@@ -137,8 +137,8 @@ SectionEnd
|
|
|
|
|
|
|
|
|
|
Section -un.post UNSEC0001 |
|
|
|
|
DeleteRegKey HKCU "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\$(^Name)" |
|
|
|
|
Delete /REBOOTOK "$SMPROGRAMS\$StartMenuGroup\Uninstall Bitcoin.lnk" |
|
|
|
|
Delete /REBOOTOK "$SMPROGRAMS\$StartMenuGroup\Bitcoin.lnk" |
|
|
|
|
Delete /REBOOTOK "$SMPROGRAMS\$StartMenuGroup\Uninstall $(^Name).lnk" |
|
|
|
|
Delete /REBOOTOK "$SMPROGRAMS\$StartMenuGroup\$(^Name).lnk" |
|
|
|
|
Delete /REBOOTOK "$SMSTARTUP\Bitcoin.lnk" |
|
|
|
|
Delete /REBOOTOK $INSTDIR\uninstall.exe |
|
|
|
|
Delete /REBOOTOK $INSTDIR\debug.log |
|
|
|
|