|
|
@ -5,7 +5,7 @@ SetCompressor /SOLID lzma |
|
|
|
|
|
|
|
|
|
|
|
# General Symbol Definitions |
|
|
|
# General Symbol Definitions |
|
|
|
!define REGKEY "SOFTWARE\$(^Name)" |
|
|
|
!define REGKEY "SOFTWARE\$(^Name)" |
|
|
|
!define VERSION 0.4.1 |
|
|
|
!define VERSION 0.5.0 |
|
|
|
!define COMPANY "Bitcoin project" |
|
|
|
!define COMPANY "Bitcoin project" |
|
|
|
!define URL http://www.bitcoin.org/ |
|
|
|
!define URL http://www.bitcoin.org/ |
|
|
|
|
|
|
|
|
|
|
@ -20,7 +20,7 @@ SetCompressor /SOLID lzma |
|
|
|
!define MUI_STARTMENUPAGE_REGISTRY_KEY ${REGKEY} |
|
|
|
!define MUI_STARTMENUPAGE_REGISTRY_KEY ${REGKEY} |
|
|
|
!define MUI_STARTMENUPAGE_REGISTRY_VALUENAME StartMenuGroup |
|
|
|
!define MUI_STARTMENUPAGE_REGISTRY_VALUENAME StartMenuGroup |
|
|
|
!define MUI_STARTMENUPAGE_DEFAULTFOLDER Bitcoin |
|
|
|
!define MUI_STARTMENUPAGE_DEFAULTFOLDER Bitcoin |
|
|
|
!define MUI_FINISHPAGE_RUN $INSTDIR\bitcoin.exe |
|
|
|
!define MUI_FINISHPAGE_RUN $INSTDIR\bitcoin-qt.exe |
|
|
|
!define MUI_UNICON "${NSISDIR}\Contrib\Graphics\Icons\modern-uninstall.ico" |
|
|
|
!define MUI_UNICON "${NSISDIR}\Contrib\Graphics\Icons\modern-uninstall.ico" |
|
|
|
!define MUI_UNWELCOMEFINISHPAGE_BITMAP "../share/pixmaps/nsis-wizard.bmp" |
|
|
|
!define MUI_UNWELCOMEFINISHPAGE_BITMAP "../share/pixmaps/nsis-wizard.bmp" |
|
|
|
!define MUI_UNFINISHPAGE_NOAUTOCLOSE |
|
|
|
!define MUI_UNFINISHPAGE_NOAUTOCLOSE |
|
|
@ -45,13 +45,13 @@ Var StartMenuGroup |
|
|
|
!insertmacro MUI_LANGUAGE English |
|
|
|
!insertmacro MUI_LANGUAGE English |
|
|
|
|
|
|
|
|
|
|
|
# Installer attributes |
|
|
|
# Installer attributes |
|
|
|
OutFile bitcoin-0.4.1-win32-setup.exe |
|
|
|
OutFile bitcoin-0.5.0-win32-setup.exe |
|
|
|
InstallDir $PROGRAMFILES\Bitcoin |
|
|
|
InstallDir $PROGRAMFILES\Bitcoin |
|
|
|
CRCCheck on |
|
|
|
CRCCheck on |
|
|
|
XPStyle on |
|
|
|
XPStyle on |
|
|
|
BrandingText " " |
|
|
|
BrandingText " " |
|
|
|
ShowInstDetails show |
|
|
|
ShowInstDetails show |
|
|
|
VIProductVersion 0.4.1.0 |
|
|
|
VIProductVersion 0.5.0.0 |
|
|
|
VIAddVersionKey ProductName Bitcoin |
|
|
|
VIAddVersionKey ProductName Bitcoin |
|
|
|
VIAddVersionKey ProductVersion "${VERSION}" |
|
|
|
VIAddVersionKey ProductVersion "${VERSION}" |
|
|
|
VIAddVersionKey CompanyName "${COMPANY}" |
|
|
|
VIAddVersionKey CompanyName "${COMPANY}" |
|
|
@ -66,7 +66,7 @@ ShowUninstDetails show |
|
|
|
Section -Main SEC0000 |
|
|
|
Section -Main SEC0000 |
|
|
|
SetOutPath $INSTDIR |
|
|
|
SetOutPath $INSTDIR |
|
|
|
SetOverwrite on |
|
|
|
SetOverwrite on |
|
|
|
File ../src/bitcoin.exe |
|
|
|
File ../bitcoin-qt.exe |
|
|
|
File /oname=license.txt ../COPYING |
|
|
|
File /oname=license.txt ../COPYING |
|
|
|
File /oname=readme.txt ../doc/README_windows.txt |
|
|
|
File /oname=readme.txt ../doc/README_windows.txt |
|
|
|
SetOutPath $INSTDIR\daemon |
|
|
|
SetOutPath $INSTDIR\daemon |
|
|
@ -85,7 +85,7 @@ Section -post SEC0001 |
|
|
|
WriteUninstaller $INSTDIR\uninstall.exe |
|
|
|
WriteUninstaller $INSTDIR\uninstall.exe |
|
|
|
!insertmacro MUI_STARTMENU_WRITE_BEGIN Application |
|
|
|
!insertmacro MUI_STARTMENU_WRITE_BEGIN Application |
|
|
|
CreateDirectory $SMPROGRAMS\$StartMenuGroup |
|
|
|
CreateDirectory $SMPROGRAMS\$StartMenuGroup |
|
|
|
CreateShortcut "$SMPROGRAMS\$StartMenuGroup\Bitcoin.lnk" $INSTDIR\bitcoin.exe |
|
|
|
CreateShortcut "$SMPROGRAMS\$StartMenuGroup\Bitcoin.lnk" $INSTDIR\bitcoin-qt.exe |
|
|
|
CreateShortcut "$SMPROGRAMS\$StartMenuGroup\Uninstall Bitcoin.lnk" $INSTDIR\uninstall.exe |
|
|
|
CreateShortcut "$SMPROGRAMS\$StartMenuGroup\Uninstall Bitcoin.lnk" $INSTDIR\uninstall.exe |
|
|
|
!insertmacro MUI_STARTMENU_WRITE_END |
|
|
|
!insertmacro MUI_STARTMENU_WRITE_END |
|
|
|
WriteRegStr HKCU "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\$(^Name)" DisplayName "$(^Name)" |
|
|
|
WriteRegStr HKCU "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\$(^Name)" DisplayName "$(^Name)" |
|
|
@ -113,7 +113,7 @@ done${UNSECTION_ID}: |
|
|
|
|
|
|
|
|
|
|
|
# Uninstaller sections |
|
|
|
# Uninstaller sections |
|
|
|
Section /o -un.Main UNSEC0000 |
|
|
|
Section /o -un.Main UNSEC0000 |
|
|
|
Delete /REBOOTOK $INSTDIR\bitcoin.exe |
|
|
|
Delete /REBOOTOK $INSTDIR\bitcoin-qt.exe |
|
|
|
Delete /REBOOTOK $INSTDIR\license.txt |
|
|
|
Delete /REBOOTOK $INSTDIR\license.txt |
|
|
|
Delete /REBOOTOK $INSTDIR\readme.txt |
|
|
|
Delete /REBOOTOK $INSTDIR\readme.txt |
|
|
|
RMDir /r /REBOOTOK $INSTDIR\daemon |
|
|
|
RMDir /r /REBOOTOK $INSTDIR\daemon |
|
|
|