diff options
author | Bevan Weiss <bevan.weiss@gmail.com> | 2025-01-25 19:56:36 +1100 |
---|---|---|
committer | Rob Mensching <rob@firegiant.com> | 2025-02-11 14:00:15 -0800 |
commit | 254196975c1f82bf7079a9d56b5417f5da9d8d76 (patch) | |
tree | 93620336756ef72c439a917180ac5958cc2abfb0 /src/ext/Iis/ca/scacert.cpp | |
parent | 3456eaa40c910eb3a6cb9197562517b9f119aa9a (diff) | |
download | wix-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/ca/scacert.cpp')
-rw-r--r-- | src/ext/Iis/ca/scacert.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/ext/Iis/ca/scacert.cpp b/src/ext/Iis/ca/scacert.cpp index ce7968e6..953c813e 100644 --- a/src/ext/Iis/ca/scacert.cpp +++ b/src/ext/Iis/ca/scacert.cpp | |||
@@ -213,6 +213,21 @@ static HRESULT ConfigureCertificates( | |||
213 | case SCA_CERTSYSTEMSTORE_LOCALMACHINE: | 213 | case SCA_CERTSYSTEMSTORE_LOCALMACHINE: |
214 | dwStoreLocation = CERT_SYSTEM_STORE_LOCAL_MACHINE; | 214 | dwStoreLocation = CERT_SYSTEM_STORE_LOCAL_MACHINE; |
215 | break; | 215 | break; |
216 | case SCA_CERTSYSTEMSTORE_SERVICES: | ||
217 | dwStoreLocation = CERT_SYSTEM_STORE_SERVICES; | ||
218 | break; | ||
219 | case SCA_CERTSYSTEMSTORE_USERS: | ||
220 | dwStoreLocation = CERT_SYSTEM_STORE_USERS; | ||
221 | break; | ||
222 | case SCA_CERTSYSTEMSTORE_USER_POLICY: | ||
223 | dwStoreLocation = CERT_SYSTEM_STORE_CURRENT_USER_GROUP_POLICY; | ||
224 | break; | ||
225 | case SCA_CERTSYSTEMSTORE_LOCALMACHINE_POLICY: | ||
226 | dwStoreLocation = CERT_SYSTEM_STORE_LOCAL_MACHINE_GROUP_POLICY; | ||
227 | break; | ||
228 | case SCA_CERTSYSTEMSTORE_LOCALMACHINE_ENTERPRISE: | ||
229 | dwStoreLocation = CERT_SYSTEM_STORE_LOCAL_MACHINE_ENTERPRISE; | ||
230 | break; | ||
216 | default: | 231 | default: |
217 | hr = E_INVALIDARG; | 232 | hr = E_INVALIDARG; |
218 | ExitOnFailure(hr, "Invalid store location value: %d", iData); | 233 | ExitOnFailure(hr, "Invalid store location value: %d", iData); |