Update NSIS Installer file to support the new directory structure.
authorMatt Corallo <matt@bluematt.me>
Sat, 21 May 2011 11:45:49 +0000 (13:45 +0200)
committerMatt Corallo <matt@bluematt.me>
Sat, 21 May 2011 11:46:51 +0000 (13:46 +0200)
share/setup.nsi

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