diff options
Diffstat (limited to 'src/ca/scacert.cpp')
-rw-r--r-- | src/ca/scacert.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/ca/scacert.cpp b/src/ca/scacert.cpp index 90db6375..cf979ee7 100644 --- a/src/ca/scacert.cpp +++ b/src/ca/scacert.cpp | |||
@@ -165,7 +165,7 @@ static HRESULT ConfigureCertificates( | |||
165 | 165 | ||
166 | BYTE* pbCertificate = NULL; | 166 | BYTE* pbCertificate = NULL; |
167 | DWORD cbCertificate = 0; | 167 | DWORD cbCertificate = 0; |
168 | DWORD cbPFXPassword = 0; | 168 | DWORD_PTR cbPFXPassword = 0; |
169 | 169 | ||
170 | // Bail quickly if the Certificate table isn't around. | 170 | // Bail quickly if the Certificate table isn't around. |
171 | if (S_OK != WcaTableExists(L"Certificate")) | 171 | if (S_OK != WcaTableExists(L"Certificate")) |
@@ -273,7 +273,7 @@ static HRESULT ConfigureCertificates( | |||
273 | // Pick the right action to run based on what store we're uninstalling from. | 273 | // Pick the right action to run based on what store we're uninstalling from. |
274 | if (CERT_SYSTEM_STORE_LOCAL_MACHINE == dwStoreLocation) | 274 | if (CERT_SYSTEM_STORE_LOCAL_MACHINE == dwStoreLocation) |
275 | { | 275 | { |
276 | wzAction = L"DeleteMachineCertificate"; | 276 | wzAction = CUSTOM_ACTION_DECORATION(L"DeleteMachineCertificate"); |
277 | if (pbCertificate) | 277 | if (pbCertificate) |
278 | { | 278 | { |
279 | wzRollbackAction = L"RollbackDeleteMachineCertificate"; | 279 | wzRollbackAction = L"RollbackDeleteMachineCertificate"; |
@@ -281,7 +281,7 @@ static HRESULT ConfigureCertificates( | |||
281 | } | 281 | } |
282 | else | 282 | else |
283 | { | 283 | { |
284 | wzAction = L"DeleteUserCertificate"; | 284 | wzAction = CUSTOM_ACTION_DECORATION(L"DeleteUserCertificate"); |
285 | if (pbCertificate) | 285 | if (pbCertificate) |
286 | { | 286 | { |
287 | wzRollbackAction = L"RollbackDeleteUserCertificate"; | 287 | wzRollbackAction = L"RollbackDeleteUserCertificate"; |
@@ -304,13 +304,13 @@ static HRESULT ConfigureCertificates( | |||
304 | // Pick the right action to run based on what store we're installing into. | 304 | // Pick the right action to run based on what store we're installing into. |
305 | if (CERT_SYSTEM_STORE_LOCAL_MACHINE == dwStoreLocation) | 305 | if (CERT_SYSTEM_STORE_LOCAL_MACHINE == dwStoreLocation) |
306 | { | 306 | { |
307 | wzAction = L"AddMachineCertificate"; | 307 | wzAction = CUSTOM_ACTION_DECORATION(L"AddMachineCertificate"); |
308 | wzRollbackAction = L"RollbackAddMachineCertificate"; | 308 | wzRollbackAction = CUSTOM_ACTION_DECORATION(L"RollbackAddMachineCertificate"); |
309 | } | 309 | } |
310 | else | 310 | else |
311 | { | 311 | { |
312 | wzAction = L"AddUserCertificate"; | 312 | wzAction = CUSTOM_ACTION_DECORATION(L"AddUserCertificate"); |
313 | wzRollbackAction = L"RollbackAddUserCertificate"; | 313 | wzRollbackAction = CUSTOM_ACTION_DECORATION(L"RollbackAddUserCertificate"); |
314 | } | 314 | } |
315 | dwCost = COST_CERT_ADD; | 315 | dwCost = COST_CERT_ADD; |
316 | } | 316 | } |