Browse Source

Merge pull request #249 from TheBlueMatt/nsisfix

Update NSIS Installer file to support the new directory structure.
0.8
Jeff Garzik 14 years ago
parent
commit
32a1753e61
  1. 16
      share/setup.nsi

16
share/setup.nsi

@ -9,7 +9,7 @@ RequestExecutionLevel highest
!define URL http://www.bitcoin.org/ !define URL http://www.bitcoin.org/
# MUI Symbol Definitions # MUI Symbol Definitions
!define MUI_ICON "src\rc\bitcoin.ico" !define MUI_ICON "../share/pixmaps/bitcoin.ico"
!define MUI_FINISHPAGE_NOAUTOCLOSE !define MUI_FINISHPAGE_NOAUTOCLOSE
!define MUI_STARTMENUPAGE_REGISTRY_ROOT HKLM !define MUI_STARTMENUPAGE_REGISTRY_ROOT HKLM
!define MUI_STARTMENUPAGE_REGISTRY_KEY ${REGKEY} !define MUI_STARTMENUPAGE_REGISTRY_KEY ${REGKEY}
@ -59,16 +59,16 @@ ShowUninstDetails show
Section -Main SEC0000 Section -Main SEC0000
SetOutPath $INSTDIR SetOutPath $INSTDIR
SetOverwrite on SetOverwrite on
File bitcoin.exe File ../src/bitcoin.exe
File libeay32.dll File ../../openssl-1.0.0d/libeay32.dll
File license.txt File /oname=license.txt ../COPYING
File readme.txt File /oname=readme.txt ../doc/README_windows.txt
SetOutPath $INSTDIR\daemon SetOutPath $INSTDIR\daemon
File /r daemon\*.* File ../src/bitcoind.exe
SetOutPath $INSTDIR\locale SetOutPath $INSTDIR\locale
File /r locale\*.* File /r ../locale/*.*
SetOutPath $INSTDIR\src SetOutPath $INSTDIR\src
File /r src\*.* File /r /x *.exe /x *.o ../src\*.*
SetOutPath $INSTDIR SetOutPath $INSTDIR
WriteRegStr HKCU "${REGKEY}\Components" Main 1 WriteRegStr HKCU "${REGKEY}\Components" Main 1
SectionEnd SectionEnd

Loading…
Cancel
Save