summaryrefslogtreecommitdiff
path: root/nasm.nsi
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@gmail.com>2009-09-26 11:21:20 +0400
committerCyrill Gorcunov <gorcunov@gmail.com>2009-09-26 11:21:20 +0400
commit54c8ccb443d33fc5112725ab66de238b93480f51 (patch)
treebfcb856e39afb075d54958e5fa704e8403efdac9 /nasm.nsi
parent946debb62758dee3ee37a2699db71d0698b93bba (diff)
downloadnasm-54c8ccb443d33fc5112725ab66de238b93480f51.tar.gz
nasm-54c8ccb443d33fc5112725ab66de238b93480f51.tar.bz2
nasm-54c8ccb443d33fc5112725ab66de238b93480f51.zip
nsis.nsi: add VS8 rules file to install
Add "VS8 intergartion" section with appropriate files to be installed on user request. Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Diffstat (limited to 'nasm.nsi')
-rw-r--r--nasm.nsi10
1 files changed, 10 insertions, 0 deletions
diff --git a/nasm.nsi b/nasm.nsi
index 312aaa2..fdb2ee0 100644
--- a/nasm.nsi
+++ b/nasm.nsi
@@ -153,6 +153,13 @@ Section "Manual" SecManual
CreateShortCut "$SMPROGRAMS\$StartMenuFolder\Manual.lnk" "$INSTDIR\nasmdoc.pdf"
SectionEnd
+Section "VS8 integration" SecVS8
+ CreateDirectory "$INSTDIR\contrib\VSrules"
+ SetOutPath "$INSTDIR\contrib\VSrules"
+ File "contrib/VSrules/nasm.README"
+ File "contrib/VSrules/nasm.rules"
+SectionEnd
+
;--------------------------------
;Descriptions
@@ -160,12 +167,14 @@ SectionEnd
LangString DESC_SecNasm ${LANG_ENGLISH} "NASM assembler and disassember modules"
LangString DESC_SecManual ${LANG_ENGLISH} "Complete NASM manual (pdf file)"
LangString DESC_SecRdoff ${LANG_ENGLISH} "RDOFF utilities (you may not need it if you don't know what is it)"
+ LangString DESC_SecVS8 ${LANG_ENGLISH} "Visual Studio 2008 NASM integration (rules file)"
;Assign language strings to sections
!insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN
!insertmacro MUI_DESCRIPTION_TEXT ${SecNasm} $(DESC_SecNasm)
!insertmacro MUI_DESCRIPTION_TEXT ${SecRdoff} $(DESC_SecRdoff)
!insertmacro MUI_DESCRIPTION_TEXT ${SecManual} $(DESC_SecManual)
+ !insertmacro MUI_DESCRIPTION_TEXT ${SecVS8} $(DESC_SecVS8)
!insertmacro MUI_FUNCTION_DESCRIPTION_END
;--------------------------------
@@ -178,6 +187,7 @@ Section "Uninstall"
RMDir "$INSTDIR\rdoff"
Delete /rebootok "$INSTDIR\doc\*"
RMDir "$INSTDIR\doc"
+ Delete /r /rebootok "$INSTDIR\contrib"
Delete /rebootok "$INSTDIR\*"
RMDir "$INSTDIR"
Delete /rebootok "$DESKTOP\${PRODUCT_SHORT_NAME}.lnk"