aboutsummaryrefslogtreecommitdiff
path: root/src/wixext/IIsCompiler.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/wixext/IIsCompiler.cs')
-rw-r--r--src/wixext/IIsCompiler.cs12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/wixext/IIsCompiler.cs b/src/wixext/IIsCompiler.cs
index 952a4a67..cb573ad1 100644
--- a/src/wixext/IIsCompiler.cs
+++ b/src/wixext/IIsCompiler.cs
@@ -140,7 +140,7 @@ namespace WixToolset.Iis
140 { 140 {
141 var sourceLineNumbers = this.ParseHelper.GetSourceLineNumbers(element); 141 var sourceLineNumbers = this.ParseHelper.GetSourceLineNumbers(element);
142 Identifier id = null; 142 Identifier id = null;
143 int attributes = 0; 143 int attributes = 8; // SCA_CERT_ATTRIBUTE_VITAL
144 string binaryRef = null; 144 string binaryRef = null;
145 string certificatePath = null; 145 string certificatePath = null;
146 string name = null; 146 string name = null;
@@ -244,6 +244,16 @@ namespace WixToolset.Iis
244 } 244 }
245 } 245 }
246 break; 246 break;
247 case "Vital":
248 if (YesNoType.Yes == this.ParseHelper.GetAttributeYesNoValue(sourceLineNumbers, attrib))
249 {
250 attributes |= 8; // SCA_CERT_ATTRIBUTE_VITAL
251 }
252 else
253 {
254 attributes &= ~8; // SCA_CERT_ATTRIBUTE_VITAL
255 }
256 break;
247 default: 257 default:
248 this.ParseHelper.UnexpectedAttribute(element, attrib); 258 this.ParseHelper.UnexpectedAttribute(element, attrib);
249 break; 259 break;