Revision history [back]
nsis packaging fails because user-guide.chm is missing
Following the win32/64 step-by-step guide, I am able to compile successfully. but I am unable to package the program into an installer.
The build commands complete with no errors, but I can't find the user-guide.chm file in the build tree, and when I try to package, nsis fails because it can't see the file. I've tried forcing a build of the user-guide_chm project, and it executes what looks like docbook compile commands, and says it completes, but there is no .chm file that I can find.
I already verified that I correctly installed asciidoctorj, xsltproc, and docbook-bundle
I re-ran the choco install -y asciidoctorj xsltproc docbook-bundle and it said the bundles were already up-to-date.
this first command runs without error:
msbuild /m /p:Configuration=RelWithDebInfo nsis_package_prep.vcxproj
on second command nsis fails saying the user-guide.chm file is missing
msbuild /m /p:Configuration=RelWithDebInfo nsis_package.vcxproj
SectionEnd
SectionGroupEnd
Section: "Documentation" ->(SecDocumentation)
SetOutPath: "$INSTDIR"
File: "C:\Curtis\wireshark_dev\wsbuild64\docbook\user-guide.chm" -> no files found.
Usage: File [/nonfatal] [/a] ([/r] [/x filespec [...]] filespec [...] |
/oname=outfile one_file_only)
Error in script "wireshark.nsi" on line 1167 -- aborting creation process
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targe
ts(209,5): error MSB6006: "cmd.exe" exited with code 1. [C:\Curtis\wireshark_dev\wsbuild64\nsis_package.vcxproj]
1>Done Building Project "C:\Curtis\wireshark_dev\wsbuild64\nsis_package.vcxproj" (default targets) -- FAILED.
Build FAILED.
"C:\Curtis\wireshark_dev\wsbuild64\nsis_package.vcxproj" (default target) (1) ->
(CustomBuild target) ->
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.tar
gets(209,5): error MSB6006: "cmd.exe" exited with code 1. [C:\Curtis\wireshark_dev\wsbuild64\nsis_package.vcxpro
j]
0 Warning(s)
1 Error(s)
Time Elapsed 00:00:02.24
nsis packaging fails because user-guide.chm is missing
Following the win32/64 step-by-step guide, I am able to compile successfully. but I am unable to package the program into an installer.
The build commands complete with no errors, but I can't find the user-guide.chm file in the build tree, and when I try to package, nsis fails because it can't see the file. I've tried forcing a build of the user-guide_chm project, and it executes what looks like docbook compile commands, and says it completes, but there is no .chm file that I can find.
I already verified that I correctly installed asciidoctorj, xsltproc, and docbook-bundle
I re-ran the choco install -y asciidoctorj xsltproc docbook-bundle and it said the bundles were already up-to-date.
this first command runs without error:
msbuild /m /p:Configuration=RelWithDebInfo nsis_package_prep.vcxproj
on second command nsis fails saying the user-guide.chm file is missing
msbuild /m /p:Configuration=RelWithDebInfo nsis_package.vcxproj
=========================================================
SectionEnd SectionGroupEnd Section: "Documentation" ->(SecDocumentation) SetOutPath: "$INSTDIR" File: "C:\Curtis\wireshark_dev\wsbuild64\docbook\user-guide.chm" -> no files found. Usage: File [/nonfatal] [/a] ([/r] [/x filespec [...]] filespec [...] | /oname=outfile one_file_only) Error in script "wireshark.nsi" on line 1167 -- aborting creation process 1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targe ts(209,5): error MSB6006: "cmd.exe" exited with code 1. [C:\Curtis\wireshark_dev\wsbuild64\nsis_package.vcxproj] 1>Done Building Project "C:\Curtis\wireshark_dev\wsbuild64\nsis_package.vcxproj" (default targets) --nsis packaging fails because user-guide.chm is missing
Following the win32/64 step-by-step guide, I am able to compile successfully. but I am unable to package the program into an installer.
The build commands complete with no errors, but I can't find the user-guide.chm file in the build tree, and when I try to package, nsis fails because it can't see the file. I've tried forcing a build of the user-guide_chm project, and it executes what looks like docbook compile commands, and says it completes, but there is no .chm file that I can find.
I already verified that I correctly installed asciidoctorj, xsltproc, and docbook-bundle
I re-ran the choco install -y asciidoctorj xsltproc docbook-bundle and it said the bundles were already up-to-date.
this first command runs without error:
msbuild /m /p:Configuration=RelWithDebInfo nsis_package_prep.vcxproj
on second command nsis fails saying the user-guide.chm file is missing
msbuild /m /p:Configuration=RelWithDebInfo nsis_package.vcxproj
========================================================= SectionEnd SectionGroupEnd Section: "Documentation" ->(SecDocumentation) SetOutPath: "$INSTDIR" File: "C:\Curtis\wireshark_dev\wsbuild64\docbook\user-guide.chm" -> no files found. Usage: File [/nonfatal] [/a] ([/r] [/x filespec [...]] filespec [...] | /oname=outfile one_file_only) Error in script "wireshark.nsi" on line 1167 -- aborting creation process 1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targe ts(209,5): error MSB6006: "cmd.exe" exited with code 1. [C:\Curtis\wireshark_dev\wsbuild64\nsis_package.vcxproj] 1>Done Building Project "C:\Curtis\wireshark_dev\wsbuild64\nsis_package.vcxproj" (default targets) -- FAILED.
Build FAILED.
"C:\Curtis\wireshark_dev\wsbuild64\nsis_package.vcxproj" (default target) (1) -> (CustomBuild target) -> C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.tar gets(209,5): error MSB6006: "cmd.exe" exited with code 1. [C:\Curtis\wireshark_dev\wsbuild64\nsis_package.vcxpro j]
0 Warning(s) 1 Error(s)
Time Elapsed 00:00:02.24
nsis packaging fails because user-guide.chm is missing
Following the win32/64 step-by-step guide, I am able to compile successfully. but I am unable to package the program into an installer.
The build commands complete with no errors, but I can't find the user-guide.chm file in the build tree, and when I try to package, nsis fails because it can't see the file. I've tried forcing a build of the user-guide_chm project, and it executes what looks like docbook compile commands, and says it completes, but there is no .chm file that I can find.
this first command runs without error:
msbuild /m /p:Configuration=RelWithDebInfo nsis_package_prep.vcxproj
on second command nsis fails saying the user-guide.chm file is missing
msbuild /m /p:Configuration=RelWithDebInfo nsis_package.vcxproj
========================================================= SectionEnd SectionGroupEnd Section: "Documentation" ->(SecDocumentation) SetOutPath: "$INSTDIR" File: "C:\Curtis\wireshark_dev\wsbuild64\docbook\user-guide.chm" -> no files found. Usage: File [/nonfatal] [/a] ([/r] [/x filespec [...]] filespec [...] | /oname=outfile one_file_only) Error in script "wireshark.nsi" on line 1167 -- aborting creation process 1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targe ts(209,5): error MSB6006: "cmd.exe" exited with code 1. [C:\Curtis\wireshark_dev\wsbuild64\nsis_package.vcxproj] 1>Done Building Project "C:\Curtis\wireshark_dev\wsbuild64\nsis_package.vcxproj" (default targets) -- FAILED.
Build FAILED.
"C:\Curtis\wireshark_dev\wsbuild64\nsis_package.vcxproj" (default target) (1) -> (CustomBuild target) -> C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.tar gets(209,5): error MSB6006: "cmd.exe" exited with code 1. [C:\Curtis\wireshark_dev\wsbuild64\nsis_package.vcxpro j]
0 Warning(s) 1 Error(s)
Time Elapsed 00:00:02.24
nsis packaging fails because user-guide.chm is missing
Following the win32/64 step-by-step guide, I am able to compile successfully. but I am unable to package the program into an installer.
this first command runs without error:
msbuild /m /p:Configuration=RelWithDebInfo nsis_package_prep.vcxproj
on second command nsis fails saying the user-guide.chm file is missing
msbuild /m /p:Configuration=RelWithDebInfo nsis_package.vcxproj
========================================================= SectionEnd SectionGroupEnd Section: "Documentation" ->(SecDocumentation) SetOutPath: "$INSTDIR" File: "C:\Curtis\wireshark_dev\wsbuild64\docbook\user-guide.chm" -> no files found. Usage: File [/nonfatal] [/a] ([/r] [/x filespec [...]] filespec [...] | /oname=outfile one_file_only) Error in script "wireshark.nsi" on line 1167 -- aborting creation process 1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targe ts(209,5): error MSB6006: "cmd.exe" exited with code 1. [C:\Curtis\wireshark_dev\wsbuild64\nsis_package.vcxproj] 1>Done Building Project "C:\Curtis\wireshark_dev\wsbuild64\nsis_package.vcxproj" (default targets) -- FAILED.
Build FAILED.
"C:\Curtis\wireshark_dev\wsbuild64\nsis_package.vcxproj" (default target) (1) ->
(CustomBuild target) ->
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.tar
Time Elapsed 00:00:02.24