From 3e26e46b660f2e92eb9c693f9a3c4f97f2acd80c Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Mon, 15 Jun 2009 14:47:00 +0000 Subject: [PATCH] windows-installer-nsis-20090615 LICENSE MIT reorder some operations and make sure that directories are created before the installer attempts to generate files into them. --- src/WINNT/install/NSIS/OpenAFS.nsi | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/src/WINNT/install/NSIS/OpenAFS.nsi b/src/WINNT/install/NSIS/OpenAFS.nsi index aea4201f8..75a16e522 100644 --- a/src/WINNT/install/NSIS/OpenAFS.nsi +++ b/src/WINNT/install/NSIS/OpenAFS.nsi @@ -1026,17 +1026,23 @@ Section /o "Supplemental Documentation" secDocs DoEnglish: + CreateDirectory "$INSTDIR\Documentation" + SetOutPath "$INSTDIR\Documentation\" + File /oname=AdminGuide.chm "..\..\..\..\doc\xml\AdminGuide\htmlhelp.chm" + File /oname=UserGuide.chm "..\..\..\..\doc\xml\AdminGuide\htmlhelp.chm" + CreateDirectory "$INSTDIR\Documentation\html" + CreateDirectory "$INSTDIR\Documentation\html\CmdRef" SetOutPath "$INSTDIR\Documentation\html\CmdRef" File "..\..\..\..\doc\man-pages\html\*" + CreateDirectory "$INSTDIR\Documentation\html\CmdRef\1" SetOutPath "$INSTDIR\Documentation\html\CmdRef\1" File "..\..\..\..\doc\man-pages\html\1\*" + CreateDirectory "$INSTDIR\Documentation\html\CmdRef\5" SetOutPath "$INSTDIR\Documentation\html\CmdRef\5" File "..\..\..\..\doc\man-pages\html\5\*" + CreateDirectory "$INSTDIR\Documentation\html\CmdRef\8" SetOutPath "$INSTDIR\Documentation\html\CmdRef\8" File "..\..\..\..\doc\man-pages\html\8\*" - SetOutPath "$INSTDIR\Documentation\" - File /oname=AdminGuide.chm "..\..\..\..\doc\xml\AdminGuide\htmlhelp.chm" - File /oname=UserGuide.chm "..\..\..\..\doc\xml\AdminGuide\htmlhelp.chm" goto DoneLanguage DoGerman: @@ -2901,6 +2907,7 @@ Function AFSLangFiles DoEnglish: + CreateDirectory "$INSTDIR\Documentation" SetOutPath "$INSTDIR\Documentation" File /oname=ReleaseNotes.chm "..\..\..\..\doc\xml\ReleaseNotesWindows\htmlhelp.chm" -- 2.39.5