aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Hall <r.sean.hall@gmail.com>2021-07-06 10:59:36 -0500
committerSean Hall <r.sean.hall@gmail.com>2021-07-06 12:28:54 -0500
commit237fba1e28e4f75068e509f38da7db1ba75fc0a9 (patch)
tree3f2ed5467ef28efcc256bfe944f0bc01f6ce904b
parent666737664cef051fa5a118bb8d14f7708b7db8af (diff)
downloadwix-237fba1e28e4f75068e509f38da7db1ba75fc0a9.tar.gz
wix-237fba1e28e4f75068e509f38da7db1ba75fc0a9.tar.bz2
wix-237fba1e28e4f75068e509f38da7db1ba75fc0a9.zip
Always append Windows Installer logs in Burn.
Fixes #4828
-rw-r--r--src/burn/engine/msiengine.cpp2
-rw-r--r--src/burn/engine/mspengine.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/burn/engine/msiengine.cpp b/src/burn/engine/msiengine.cpp
index a579fa17..4ff129fd 100644
--- a/src/burn/engine/msiengine.cpp
+++ b/src/burn/engine/msiengine.cpp
@@ -1146,7 +1146,7 @@ extern "C" HRESULT MsiEngineExecutePackage(
1146 1146
1147 if (pExecuteAction->msiPackage.sczLogPath && *pExecuteAction->msiPackage.sczLogPath) 1147 if (pExecuteAction->msiPackage.sczLogPath && *pExecuteAction->msiPackage.sczLogPath)
1148 { 1148 {
1149 hr = WiuEnableLog(dwLogMode, pExecuteAction->msiPackage.sczLogPath, 0); 1149 hr = WiuEnableLog(dwLogMode, pExecuteAction->msiPackage.sczLogPath, INSTALLLOGATTRIBUTES_APPEND);
1150 ExitOnFailure(hr, "Failed to enable logging for package: %ls to: %ls", pPackage->sczId, pExecuteAction->msiPackage.sczLogPath); 1150 ExitOnFailure(hr, "Failed to enable logging for package: %ls to: %ls", pPackage->sczId, pExecuteAction->msiPackage.sczLogPath);
1151 } 1151 }
1152 1152
diff --git a/src/burn/engine/mspengine.cpp b/src/burn/engine/mspengine.cpp
index 4a82598f..d547b130 100644
--- a/src/burn/engine/mspengine.cpp
+++ b/src/burn/engine/mspengine.cpp
@@ -623,7 +623,7 @@ extern "C" HRESULT MspEngineExecutePackage(
623 623
624 if (pExecuteAction->mspTarget.sczLogPath && *pExecuteAction->mspTarget.sczLogPath) 624 if (pExecuteAction->mspTarget.sczLogPath && *pExecuteAction->mspTarget.sczLogPath)
625 { 625 {
626 hr = WiuEnableLog(dwLogMode, pExecuteAction->mspTarget.sczLogPath, 0); 626 hr = WiuEnableLog(dwLogMode, pExecuteAction->mspTarget.sczLogPath, INSTALLLOGATTRIBUTES_APPEND);
627 ExitOnFailure(hr, "Failed to enable logging for package: %ls to: %ls", pExecuteAction->mspTarget.pPackage->sczId, pExecuteAction->mspTarget.sczLogPath); 627 ExitOnFailure(hr, "Failed to enable logging for package: %ls to: %ls", pExecuteAction->mspTarget.pPackage->sczId, pExecuteAction->mspTarget.sczLogPath);
628 } 628 }
629 629