summaryrefslogtreecommitdiffstats
path: root/packaging/wix/feature_attributes.xml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 18:24:48 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 18:24:48 +0000
commitcca66b9ec4e494c1d919bff0f71a820d8afab1fa (patch)
tree146f39ded1c938019e1ed42d30923c2ac9e86789 /packaging/wix/feature_attributes.xml
parentInitial commit. (diff)
downloadinkscape-cca66b9ec4e494c1d919bff0f71a820d8afab1fa.tar.xz
inkscape-cca66b9ec4e494c1d919bff0f71a820d8afab1fa.zip
Adding upstream version 1.2.2.upstream/1.2.2upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'packaging/wix/feature_attributes.xml')
-rw-r--r--packaging/wix/feature_attributes.xml35
1 files changed, 35 insertions, 0 deletions
diff --git a/packaging/wix/feature_attributes.xml b/packaging/wix/feature_attributes.xml
new file mode 100644
index 0000000..3698314
--- /dev/null
+++ b/packaging/wix/feature_attributes.xml
@@ -0,0 +1,35 @@
+<!--
+ set attributes for all features:
+ - AllowAdvertise="no" (to hide "This feature will be installed when required")
+ - InstallDefault="local" (to hide "This feature will be installed to run from network")
+
+ this is ugly - investigate making this auto-updating
+ see also https://gitlab.kitware.com/cmake/cmake/merge_requests/742
+
+
+ Empty features (i.e. features that only contain other features but no components)
+ need dummy components to ensure InstallDefault="local" works.
+ see http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Removing-Install-to-Run-From-Network-Feature-Option-td688625.html
+-->
+
+<CPackWiXPatch>
+ <CPackWiXFragment Id="#PRODUCTFEATURE" AllowAdvertise="no" InstallDefault="local" />
+
+ <CPackWiXFragment Id="CM_G_group_1_program_files" AllowAdvertise="no" InstallDefault="local" Absent="disallow">
+ <Component Id="dummy1" Directory="INSTALL_ROOT" Guid="7D08CAE1-A5A8-4C4B-A2B4-E97E2EA10FE4" KeyPath="yes" />
+ </CPackWiXFragment>
+ <CPackWiXFragment Id="CM_G_group_2_inkscape_data" AllowAdvertise="no" InstallDefault="local">
+ <Component Id="dummy2" Directory="INSTALL_ROOT" Guid="7405B66E-65E5-403B-B407-E39025587E46" KeyPath="yes" />
+ </CPackWiXFragment>
+ <CPackWiXFragment Id="CM_G_group_3_translations" AllowAdvertise="no" InstallDefault="local">
+ <Component Id="dummy3" Directory="INSTALL_ROOT" Guid="C2A35C47-B012-4DDF-B486-DD6A8DF42F5D" KeyPath="yes" />
+ </CPackWiXFragment>
+
+ <CPackWiXFragment Id="CM_C_inkscape" AllowAdvertise="no" InstallDefault="local" />
+ <CPackWiXFragment Id="CM_C_python" AllowAdvertise="no" InstallDefault="local" />
+ <CPackWiXFragment Id="CM_C_examples" AllowAdvertise="no" InstallDefault="local" />
+ <CPackWiXFragment Id="CM_C_extensions" AllowAdvertise="no" InstallDefault="local" />
+ <CPackWiXFragment Id="CM_C_tutorials" AllowAdvertise="no" InstallDefault="local" />
+ <CPackWiXFragment Id="CM_C_dictionaries" AllowAdvertise="no" InstallDefault="local" />
+ <!-- should also include every single CM_C_translations.* but adding them manually does not seem reasonable -->
+</CPackWiXPatch>