nsis2: prepare for substitution
authorCyrill Gorcunov <gorcunov@gmail.com>
Mon, 21 Sep 2009 19:13:48 +0000 (23:13 +0400)
committerCyrill Gorcunov <gorcunov@gmail.com>
Mon, 21 Sep 2009 19:13:48 +0000 (23:13 +0400)
- We need to change slashes to direct ones
- Installer file should be postfixed with plain "-installer"
- Remove nasm.exe duplication

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
nasm2.nsi

index 65fcce99bce2907f8d17f304580fe5f44325c280..81eba661dd7b1c7e75d1e8a35023aec6cbbac25c 100644 (file)
--- a/nasm2.nsi
+++ b/nasm2.nsi
@@ -47,7 +47,7 @@
 
 ;Name and file
 Name "${PACKAGE_NAME}"
-OutFile "${PACKAGE_NAME}-mui-installer.exe"
+OutFile "${PACKAGE_NAME}-installer.exe"
 
 ;Get installation folder from registry if available
 InstallDirRegKey HKCU "Software\${PRODUCT_SHORT_NAME}" ""
@@ -64,8 +64,8 @@ Var CmdFailed
 ;--------------------------------
 ;Interface Settings
 Caption "${PACKAGE_SHORT_NAME} installation"
-Icon "nsis\nasm.ico"
-UninstallIcon "nsis\nasm-un.ico"
+Icon "nsis/nasm.ico"
+UninstallIcon "nsis/nasm-un.ico"
 
 !define MUI_ABORTWARNING
 
@@ -95,11 +95,10 @@ UninstallIcon "nsis\nasm-un.ico"
 Section "NASM" SecNasm
     Sectionin RO
     SetOutPath "$INSTDIR"
-    File "nasm.exe"
     File "LICENSE"
     File "nasm.exe"
     File "ndisasm.exe"
-    File "nsis\nasm.ico"
+    File "nsis/nasm.ico"
 
     ;Store installation folder
     WriteRegStr HKCU "Software\${PRODUCT_SHORT_NAME}" "" $INSTDIR
@@ -136,20 +135,20 @@ SectionEnd
 Section "RDOFF" SecRdoff
     CreateDirectory "$INSTDIR\rdoff"
     SetOutPath "$INSTDIR\rdoff"
-    File "rdoff\ldrdf.exe"
-    File "rdoff\rdf2bin.exe"
-    File "rdoff\rdf2com.exe"
-    File "rdoff\rdf2ith.exe"
-    File "rdoff\rdf2ihx.exe"
-    File "rdoff\rdf2srec.exe"
-    File "rdoff\rdfdump.exe"
-    File "rdoff\rdflib.exe"
-    File "rdoff\rdx.exe"
+    File "rdoff/ldrdf.exe"
+    File "rdoff/rdf2bin.exe"
+    File "rdoff/rdf2com.exe"
+    File "rdoff/rdf2ith.exe"
+    File "rdoff/rdf2ihx.exe"
+    File "rdoff/rdf2srec.exe"
+    File "rdoff/rdfdump.exe"
+    File "rdoff/rdflib.exe"
+    File "rdoff/rdx.exe"
 SectionEnd
 
 Section "Manual" SecManual
     SetOutPath "$INSTDIR"
-    File "doc\nasmdoc.pdf"
+    File "doc/nasmdoc.pdf"
     CreateShortCut "$SMPROGRAMS\$StartMenuFolder\Manual.lnk" "$INSTDIR\manual.pdf"
 SectionEnd