X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=share%2Fsetup.nsi;h=4c837c974bfebc3107be1e4e20a41317ddb945eb;hb=aec5c5fe26293452d3fe7acf1e4c20830613812c;hp=a4efc603a2eb4ec780bee0b46aafb2dc0ee91b0b;hpb=84c3fb07b0b8199c7f85c5de280e7100bad0786f;p=novacoin.git diff --git a/share/setup.nsi b/share/setup.nsi index a4efc60..4c837c9 100644 --- a/share/setup.nsi +++ b/share/setup.nsi @@ -1,15 +1,20 @@ Name Bitcoin RequestExecutionLevel highest +SetCompressor /SOLID lzma # General Symbol Definitions !define REGKEY "SOFTWARE\$(^Name)" -!define VERSION 0.3.21 +!define VERSION 0.4.1 !define COMPANY "Bitcoin project" !define URL http://www.bitcoin.org/ # MUI Symbol Definitions -!define MUI_ICON "src\rc\bitcoin.ico" +!define MUI_ICON "../share/pixmaps/bitcoin.ico" +!define MUI_WELCOMEFINISHPAGE_BITMAP "../share/pixmaps/nsis-wizard.bmp" +!define MUI_HEADERIMAGE +!define MUI_HEADERIMAGE_RIGHT +!define MUI_HEADERIMAGE_BITMAP "../share/pixmaps/nsis-header.bmp" !define MUI_FINISHPAGE_NOAUTOCLOSE !define MUI_STARTMENUPAGE_REGISTRY_ROOT HKLM !define MUI_STARTMENUPAGE_REGISTRY_KEY ${REGKEY} @@ -17,6 +22,7 @@ RequestExecutionLevel highest !define MUI_STARTMENUPAGE_DEFAULTFOLDER Bitcoin !define MUI_FINISHPAGE_RUN $INSTDIR\bitcoin.exe !define MUI_UNICON "${NSISDIR}\Contrib\Graphics\Icons\modern-uninstall.ico" +!define MUI_UNWELCOMEFINISHPAGE_BITMAP "../share/pixmaps/nsis-wizard.bmp" !define MUI_UNFINISHPAGE_NOAUTOCLOSE # Included files @@ -39,12 +45,13 @@ Var StartMenuGroup !insertmacro MUI_LANGUAGE English # Installer attributes -OutFile bitcoin-0.3.21-win32-setup.exe +OutFile bitcoin-0.4.1-win32-setup.exe InstallDir $PROGRAMFILES\Bitcoin CRCCheck on XPStyle on +BrandingText " " ShowInstDetails show -VIProductVersion 0.3.21.0 +VIProductVersion 0.4.1.0 VIAddVersionKey ProductName Bitcoin VIAddVersionKey ProductVersion "${VERSION}" VIAddVersionKey CompanyName "${COMPANY}" @@ -59,16 +66,15 @@ ShowUninstDetails show Section -Main SEC0000 SetOutPath $INSTDIR SetOverwrite on - File bitcoin.exe - File libeay32.dll - File license.txt - File readme.txt + File ../src/bitcoin.exe + File /oname=license.txt ../COPYING + File /oname=readme.txt ../doc/README_windows.txt SetOutPath $INSTDIR\daemon - File /r daemon\*.* + File ../src/bitcoind.exe SetOutPath $INSTDIR\locale - File /r locale\*.* + File /r ../locale/*.* SetOutPath $INSTDIR\src - File /r src\*.* + File /r /x *.exe /x *.o ../src\*.* SetOutPath $INSTDIR WriteRegStr HKCU "${REGKEY}\Components" Main 1 SectionEnd @@ -108,7 +114,6 @@ done${UNSECTION_ID}: # Uninstaller sections Section /o -un.Main UNSEC0000 Delete /REBOOTOK $INSTDIR\bitcoin.exe - Delete /REBOOTOK $INSTDIR\libeay32.dll Delete /REBOOTOK $INSTDIR\license.txt Delete /REBOOTOK $INSTDIR\readme.txt RMDir /r /REBOOTOK $INSTDIR\daemon