summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2013-10-12 10:00:51 -0700
committerAndras Timar <andras.timar@collabora.com>2013-10-22 12:11:48 +0200
commit978c83321ac9d5a66ecf2c82b4ade7b3c673b622 (patch)
tree5565c8d55e7ad55260aa6a994bf83be17737b4ff
parentn#839727: Crash fix. (diff)
downloadcore-978c83321ac9d5a66ecf2c82b4ade7b3c673b622.tar.gz
core-978c83321ac9d5a66ecf2c82b4ade7b3c673b622.zip
fdo#33798 msidbFeatureAttributesUIDisallowAbsent for hidden feat.
Change-Id: I0c8788f88b3c219e789af7f8bfa79e5dd31c5b3a
-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 602beaf68576..f360337aa480 100644
--- a/solenv/bin/modules/installer/windows/feature.pm
+++ b/solenv/bin/modules/installer/windows/feature.pm
@@ -179,6 +179,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