From: Jeffrey Altman Date: Mon, 15 Jun 2009 14:47:00 +0000 (+0000) Subject: windows-installer-nsis-20090615 X-Git-Tag: openafs-devel-1_5_61~221 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=3e26e46b660f2e92eb9c693f9a3c4f97f2acd80c;p=packages%2Fo%2Fopenafs.git 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. --- 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"