summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@microsoft.com>2015-10-08 16:55:49 (GMT)
committerSteve Dower <steve.dower@microsoft.com>2015-10-08 16:55:49 (GMT)
commit5ae56919ab46e07e9bd6e5530cddac75e0276505 (patch)
tree66c98bd4f60c21dc9772d1dc2925dd048627e272 /Tools
parent3cc6da2b07a8aa78ec53a3ff5ea8d620f4753db6 (diff)
downloadcpython-5ae56919ab46e07e9bd6e5530cddac75e0276505.zip
cpython-5ae56919ab46e07e9bd6e5530cddac75e0276505.tar.gz
cpython-5ae56919ab46e07e9bd6e5530cddac75e0276505.tar.bz2
Issue #25089: Adds logging to installer for case where launcher is not selected on upgrade.
Diffstat (limited to 'Tools')
-rw-r--r--Tools/msi/bundle/bootstrap/PythonBootstrapperApplication.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/Tools/msi/bundle/bootstrap/PythonBootstrapperApplication.cpp b/Tools/msi/bundle/bootstrap/PythonBootstrapperApplication.cpp
index 99884e4..bc418e0 100644
--- a/Tools/msi/bundle/bootstrap/PythonBootstrapperApplication.cpp
+++ b/Tools/msi/bundle/bootstrap/PythonBootstrapperApplication.cpp
@@ -687,6 +687,13 @@ public: // IBootstrapperApplication
if (hr == S_FALSE) {
hr = LoadLauncherStateFromKey(_engine, HKEY_LOCAL_MACHINE);
}
+ if (FAILED(hr)) {
+ BalLog(
+ BOOTSTRAPPER_LOG_LEVEL_ERROR,
+ "Failed to load launcher state: error code 0x%08X",
+ hr
+ );
+ }
} else if (BOOTSTRAPPER_RELATED_OPERATION_NONE == operation) {
if (_command.action == BOOTSTRAPPER_ACTION_INSTALL) {
LOC_STRING *pLocString = nullptr;