aboutsummaryrefslogtreecommitdiff
path: root/src/ext/Iis/wixext/IIsCompiler.cs
diff options
context:
space:
mode:
authorBevan Weiss <bevan.weiss@gmail.com>2025-01-25 19:56:36 +1100
committerRob Mensching <rob@firegiant.com>2025-02-11 14:00:15 -0800
commit254196975c1f82bf7079a9d56b5417f5da9d8d76 (patch)
tree93620336756ef72c439a917180ac5958cc2abfb0 /src/ext/Iis/wixext/IIsCompiler.cs
parent3456eaa40c910eb3a6cb9197562517b9f119aa9a (diff)
downloadwix-254196975c1f82bf7079a9d56b5417f5da9d8d76.tar.gz
wix-254196975c1f82bf7079a9d56b5417f5da9d8d76.tar.bz2
wix-254196975c1f82bf7079a9d56b5417f5da9d8d76.zip
IIS Ext: Add support for more certificate stores
Fixes wixtoolset/issues#1520 Signed-off-by: Bevan Weiss <bevan.weiss@gmail.com>
Diffstat (limited to 'src/ext/Iis/wixext/IIsCompiler.cs')
-rw-r--r--src/ext/Iis/wixext/IIsCompiler.cs15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/ext/Iis/wixext/IIsCompiler.cs b/src/ext/Iis/wixext/IIsCompiler.cs
index 1fcf5f61..5e3c0a95 100644
--- a/src/ext/Iis/wixext/IIsCompiler.cs
+++ b/src/ext/Iis/wixext/IIsCompiler.cs
@@ -202,6 +202,21 @@ namespace WixToolset.Iis
202 case "localMachine": 202 case "localMachine":
203 storeLocation = 2; // SCA_CERTSYSTEMSTORE_LOCALMACHINE 203 storeLocation = 2; // SCA_CERTSYSTEMSTORE_LOCALMACHINE
204 break; 204 break;
205 case "services":
206 storeLocation = 3; // SCA_CERTSYSTEMSTORE_SERVICES
207 break;
208 case "users":
209 storeLocation = 4; // SCA_CERTSYSTEMSTORE_USERS
210 break;
211 case "userPolicy":
212 storeLocation = 5; // SCA_CERTSYSTEMSTORE_USER_POLICY
213 break;
214 case "localMachinePolicy":
215 storeLocation = 6; // SCA_CERTSYSTEMSTORE_LOCALMACHINE_POLICY
216 break;
217 case "localMachineEnterprise":
218 storeLocation = 7; // SCA_CERTSYSTEMSTORE_LOCALMACHINE_ENTERPRISE
219 break;
205 default: 220 default:
206 storeLocation = -1; 221 storeLocation = -1;
207 this.Messaging.Write(ErrorMessages.IllegalAttributeValue(sourceLineNumbers, element.Name.LocalName, "StoreLocation", storeLocationValue, "currentUser", "localMachine")); 222 this.Messaging.Write(ErrorMessages.IllegalAttributeValue(sourceLineNumbers, element.Name.LocalName, "StoreLocation", storeLocationValue, "currentUser", "localMachine"));