aboutsummaryrefslogtreecommitdiffstats
path: root/packaging/wix
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/wix')
-rw-r--r--packaging/wix/CMakeLists.txt3
-rw-r--r--packaging/wix/ComponentGroups.wxi53
-rw-r--r--packaging/wix/Features.wxi7
3 files changed, 17 insertions, 46 deletions
diff --git a/packaging/wix/CMakeLists.txt b/packaging/wix/CMakeLists.txt
index abff036480..7011f0f7ef 100644
--- a/packaging/wix/CMakeLists.txt
+++ b/packaging/wix/CMakeLists.txt
@@ -58,7 +58,7 @@ set(PROGRAM_NAME ${CMAKE_PROJECT_NAME})
file(TO_NATIVE_PATH "${CMAKE_SOURCE_DIR}" TOP_SRC_DIR)
# STAGING_DIR depends on the build configuration so we pass it
# on the command line below.
-file(TO_NATIVE_PATH "${CMAKE_BINARY_DIR}/docbook" USER_GUIDE_DIR)
+file(TO_NATIVE_PATH "${CMAKE_BINARY_DIR}/docbook" DOCBOOK_DIR)
if(WIRESHARK_TARGET_PLATFORM STREQUAL "win32")
set(TARGET_MACHINE x86)
elseif(WIRESHARK_TARGET_PLATFORM STREQUAL "win64")
@@ -264,6 +264,7 @@ macro( ADD_WIX_PACKAGE_TARGET )
${WIX_FILES}
copy_data_files
user_guide_chm
+ faq_html
)
set_target_properties(wix_package_prep PROPERTIES FOLDER "Packaging")
diff --git a/packaging/wix/ComponentGroups.wxi b/packaging/wix/ComponentGroups.wxi
index ba4709fc59..03f4caf851 100644
--- a/packaging/wix/ComponentGroups.wxi
+++ b/packaging/wix/ComponentGroups.wxi
@@ -221,44 +221,6 @@
</ComponentGroup>
</Fragment>
- <!-- Help files -->
- <Fragment>
- <DirectoryRef Id="dirHelp">
- <Component Id="cmpHelp_toc" Guid="*">
- <File Id="filHelp_toc" KeyPath="yes" Source="$(var.Help.Dir)\toc" />
- </Component>
- <Component Id="cmpHelp_overview_txt" Guid="*">
- <File Id="filHelp_overview_txt" KeyPath="yes" Source="$(var.Help.Dir)\overview.txt" />
- </Component>
- <Component Id="cmpHelp_getting_started_txt" Guid="*">
- <File Id="filHelp_getting_started_txt" KeyPath="yes" Source="$(var.Help.Dir)\getting_started.txt" />
- </Component>
- <Component Id="cmpHelp_capturing_txt" Guid="*">
- <File Id="filHelp_capturing_txt" KeyPath="yes" Source="$(var.Help.Dir)\capturing.txt" />
- </Component>
- <Component Id="cmpHelp_capture_filters_txt" Guid="*">
- <File Id="filHelp_capture_filters_txt" KeyPath="yes" Source="$(var.Help.Dir)\capture_filters.txt" />
- </Component>
- <Component Id="cmpHelp_display_filters_txt" Guid="*">
- <File Id="filHelp_display_filters_txt" KeyPath="yes" Source="$(var.Help.Dir)\display_filters.txt" />
- </Component>
- <Component Id="cmpHelp_faq_txt" Guid="*">
- <File Id="filHelp_faq_txt" KeyPath="yes" Source="$(var.Help.Dir)\faq.txt" />
- </Component>
- </DirectoryRef>
- </Fragment>
- <Fragment>
- <ComponentGroup Id="CG.Help">
- <ComponentRef Id="cmpHelp_toc" />
- <ComponentRef Id="cmpHelp_overview_txt" />
- <ComponentRef Id="cmpHelp_getting_started_txt" />
- <ComponentRef Id="cmpHelp_capturing_txt" />
- <ComponentRef Id="cmpHelp_capture_filters_txt" />
- <ComponentRef Id="cmpHelp_display_filters_txt" />
- <ComponentRef Id="cmpHelp_faq_txt" />
- </ComponentGroup>
- </Fragment>
-
<!-- TShark -->
<Fragment>
<DirectoryRef Id="INSTALLFOLDER">
@@ -569,18 +531,27 @@
</ComponentGroup>
</Fragment>
- <?ifdef USER_GUIDE_DIR?>
+ <?ifdef DOCBOOK_DIR?>
<!-- User Guide -->
<Fragment>
<DirectoryRef Id="INSTALLFOLDER">
<Component Id="cmpUserGuide_chm" Guid="*">
- <File Id="filUserGuide_chm" KeyPath="yes" Source="$(var.USER_GUIDE_DIR)\user-guide.chm" />
+ <File Id="filUserGuide_chm" KeyPath="yes" Source="$(var.DOCBOOK_DIR)\user-guide.chm" />
+ </Component>
+ </DirectoryRef>
+ </Fragment>
+ <!-- FAQ -->
+ <Fragment>
+ <DirectoryRef Id="INSTALLFOLDER">
+ <Component Id="cmpFAQ_html" Guid="*">
+ <File Id="filFAQ_html" KeyPath="yes" Source="$(var.DOCBOOK_DIR)\faq.html" />
</Component>
</DirectoryRef>
</Fragment>
<Fragment>
- <ComponentGroup Id="CG.UserGuide">
+ <ComponentGroup Id="CG.Documentation">
<ComponentRef Id="cmpUserGuide_chm" />
+ <ComponentRef Id="cmpFAQ_html" />
</ComponentGroup>
</Fragment>
<?endif?>
diff --git a/packaging/wix/Features.wxi b/packaging/wix/Features.wxi
index 102de25704..8f441fda24 100644
--- a/packaging/wix/Features.wxi
+++ b/packaging/wix/Features.wxi
@@ -20,7 +20,6 @@
<ComponentGroupRef Id="CG.Dtds" />
<ComponentGroupRef Id="CG.Tpncp" />
<ComponentGroupRef Id="CG.Wimaxasncp" />
- <ComponentGroupRef Id="CG.Help" />
<ComponentGroupRef Id="CG.RequiredDependencies" />
</Feature>
@@ -91,9 +90,9 @@
<ComponentGroupRef Id="CG.Tools.Udpdump" />
</Feature>
</Feature>
- <?ifdef USER_GUIDE_DIR?>
- <Feature Id="Fe.UserGuide" Title="User's Guide" Level="1" AllowAdvertise="yes" Display="expand" Description="Install an offline copy of the User's Guide.">
- <ComponentGroupRef Id="CG.UserGuide" />
+ <?ifdef DOCBOOK_DIR?>
+ <Feature Id="Fe.Documentation" Title="Documentation" Level="1" AllowAdvertise="yes" Display="expand" Description="Install an offline copy of the User's Guide and FAQ.">
+ <ComponentGroupRef Id="CG.Documentation" />
</Feature>
<?endif?>
<Feature Id="VCRedist" Title="Visual C++ Runtime" AllowAdvertise="no" Display="hidden" Level="1">