diff options
author | Nir Bar <nir.bar@panel-sw.co.il> | 2023-06-05 13:27:56 +0300 |
---|---|---|
committer | Bob Arnson <github@bobs.org> | 2024-01-20 22:27:41 -0500 |
commit | dfea4478a4938ce738fd49282350d36c73fb9a35 (patch) | |
tree | 8445e774b7a79a76f239ed523c6689f445961da2 /src/burn/engine/bundlepackageengine.cpp | |
parent | cde596e1bb9288f8cebb447a5f8cb79ca684cfe1 (diff) | |
download | wix-dfea4478a4938ce738fd49282350d36c73fb9a35.tar.gz wix-dfea4478a4938ce738fd49282350d36c73fb9a35.tar.bz2 wix-dfea4478a4938ce738fd49282350d36c73fb9a35.zip |
Fixes wixtoolset/issues#5220: Automatically add logging flag for any burn ExePackage, BundlePackage, and related bundles
Diffstat (limited to 'src/burn/engine/bundlepackageengine.cpp')
-rw-r--r-- | src/burn/engine/bundlepackageengine.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/burn/engine/bundlepackageengine.cpp b/src/burn/engine/bundlepackageengine.cpp index 61911fb4..d3f59e5d 100644 --- a/src/burn/engine/bundlepackageengine.cpp +++ b/src/burn/engine/bundlepackageengine.cpp | |||
@@ -1000,6 +1000,9 @@ static HRESULT ExecuteBundle( | |||
1000 | ExitOnFailure(hr, "Failed to allocate obfuscated bundle command."); | 1000 | ExitOnFailure(hr, "Failed to allocate obfuscated bundle command."); |
1001 | } | 1001 | } |
1002 | 1002 | ||
1003 | // Append logging to command line if it doesn't contain '-log' | ||
1004 | CoreAppendLogToCommandLine(&sczBaseCommand, &sczCommandObfuscated, fRollback, pVariables, pPackage); | ||
1005 | |||
1003 | // Log obfuscated command, which won't include raw hidden variable values or protocol specific arguments to avoid exposing secrets. | 1006 | // Log obfuscated command, which won't include raw hidden variable values or protocol specific arguments to avoid exposing secrets. |
1004 | LogId(REPORT_STANDARD, MSG_APPLYING_PACKAGE, LoggingRollbackOrExecute(fRollback), pPackage->sczId, LoggingActionStateToString(action), sczExecutablePath, sczCommandObfuscated ? sczCommandObfuscated : sczBaseCommand); | 1007 | LogId(REPORT_STANDARD, MSG_APPLYING_PACKAGE, LoggingRollbackOrExecute(fRollback), pPackage->sczId, LoggingActionStateToString(action), sczExecutablePath, sczCommandObfuscated ? sczCommandObfuscated : sczBaseCommand); |
1005 | 1008 | ||