Packaging: Add captype to the Windows installers.

Add captype and its documentation to the NSIS and WiX packages.
This commit is contained in:
Gerald Combs 2021-10-13 10:32:26 -07:00 committed by Wireshark GitLab Utility
parent acaaad150b
commit 2236009e21
4 changed files with 30 additions and 0 deletions

View File

@ -129,6 +129,7 @@ Push "${EXECUTABLE_MARKER}"
Push "${PROGRAM_NAME}"
Push "androiddump"
Push "capinfos"
Push "captype"
Push "ciscodump"
Push "dftest"
Push "dumpcap"

View File

@ -1141,6 +1141,13 @@ File "${STAGING_DIR}\capinfos.exe"
File "${STAGING_DIR}\capinfos.html"
SectionEnd
Section "Captype" SecCaptype
;-------------------------------------------
SetOutPath $INSTDIR
File "${STAGING_DIR}\captype.exe"
File "${STAGING_DIR}\captype.html"
SectionEnd
Section "Rawshark" SecRawshark
;-------------------------------------------
SetOutPath $INSTDIR
@ -1255,6 +1262,7 @@ SectionEnd
!insertmacro MUI_DESCRIPTION_TEXT ${SecReordercap} "Copy packets to a new file, sorted by time."
!insertmacro MUI_DESCRIPTION_TEXT ${SecDFTest} "Shows display filter byte-code, for debugging dfilter routines"
!insertmacro MUI_DESCRIPTION_TEXT ${SecCapinfos} "Print information about capture files."
!insertmacro MUI_DESCRIPTION_TEXT ${SecCaptype} "Print the types capture files."
!insertmacro MUI_DESCRIPTION_TEXT ${SecRawshark} "Raw packet filter."
!insertmacro MUI_DESCRIPTION_TEXT ${SecRandpkt} "Random packet generator."
!insertmacro MUI_DESCRIPTION_TEXT ${SecMMDBResolve} "MaxMind Database resolution tool"

View File

@ -389,6 +389,24 @@
</ComponentGroup>
</Fragment>
<!-- Captype -->
<Fragment>
<DirectoryRef Id="INSTALLFOLDER">
<Component Id="cmpCaptype_exe" Guid="*">
<File Id="filCaptype_exe" KeyPath="yes" Source="$(var.Staging.Dir)\captype.exe" />
</Component>
<Component Id="cmpCaptype_html" Guid="*">
<File Id="filCaptype_html" KeyPath="yes" Source="$(var.Staging.Dir)\captype.html" />
</Component>
</DirectoryRef>
</Fragment>
<Fragment>
<ComponentGroup Id="CG.Tools.Captype">
<ComponentRef Id="cmpCaptype_exe" />
<ComponentRef Id="cmpCaptype_html" />
</ComponentGroup>
</Fragment>
<!-- Rawshark -->
<Fragment>
<DirectoryRef Id="INSTALLFOLDER">

View File

@ -76,6 +76,9 @@
<Feature Id="Fe.Tools.Capinfos" Title="Capinfos" Level="1" AllowAdvertise="yes" Display="expand" Description="Print information about capture files.">
<ComponentGroupRef Id="CG.Tools.Capinfos" />
</Feature>
<Feature Id="Fe.Tools.Captype" Title="Captype" Level="1" AllowAdvertise="yes" Display="expand" Description="Print the types of capture files.">
<ComponentGroupRef Id="CG.Tools.Captype" />
</Feature>
<Feature Id="Fe.Tools.Rawshark" Title="Rawshark" Level="1" AllowAdvertise="yes" Display="expand" Description="Raw packet filter.">
<ComponentGroupRef Id="CG.Tools.Rawshark" />
</Feature>