Update NSIS Installer file to support the new directory structure.

This commit is contained in:
Matt Corallo 2011-05-21 13:45:49 +02:00
parent 69a27a4ec6
commit cbb2b59a90

View File

@ -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