summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2013-10-12 10:00:51 -0700
committerCaolán McNamara <caolanm@redhat.com>2013-10-29 12:08:24 +0000
commit9404457a19178b42ea40ebd710725520a83c85ef (patch)
treeab23d5b424c0499b73f4bab82d0245f5db154e9d
parent68befdd269a226e22dabd1b609326b38efc7eb21 (diff)
fdo#33798 msidbFeatureAttributesUIDisallowAbsent for hidden feat.
Change-Id: I0c8788f88b3c219e789af7f8bfa79e5dd31c5b3a Reviewed-on: https://gerrit.libreoffice.org/6234 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--solenv/bin/modules/installer/windows/feature.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/solenv/bin/modules/installer/windows/feature.pm b/solenv/bin/modules/installer/windows/feature.pm
index c22b8646523b..ddc458a7fd85 100644
--- a/solenv/bin/modules/installer/windows/feature.pm
+++ b/solenv/bin/modules/installer/windows/feature.pm
@@ -189,6 +189,7 @@ sub get_feature_attributes
if ( $onefeature->{'ParentID'} ) { $parentgid = $onefeature->{'ParentID'}; }
if (( $parentgid eq "" ) || ( $parentgid eq $installer::globals::rootmodulegid )) { $attributes = "8"; }
+ elsif ( get_feature_display($onefeature) eq "0" ) { $attributes = "26"; } # fdo#33798
else { $attributes = "10"; }
return $attributes