aboutsummaryrefslogtreecommitdiff
path: root/src/wixext
diff options
context:
space:
mode:
authorRob Mensching <rob@firegiant.com>2021-04-11 14:41:50 -0700
committerRob Mensching <rob@firegiant.com>2021-04-12 15:37:24 -0700
commit3e8b7eb4cb739be1881c621999616bc5bbbb0bdb (patch)
tree1e6588300f94b85bc62dce1dfe62c78598141581 /src/wixext
parent1656cd76e95e78b09d1fd9724c0c02323b5c3428 (diff)
downloadwix-3e8b7eb4cb739be1881c621999616bc5bbbb0bdb.tar.gz
wix-3e8b7eb4cb739be1881c621999616bc5bbbb0bdb.tar.bz2
wix-3e8b7eb4cb739be1881c621999616bc5bbbb0bdb.zip
Support non-vital certificate installs
Diffstat (limited to 'src/wixext')
-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;