summaryrefslogtreecommitdiff
path: root/Tools/msi/bundle/bootstrap/PythonBootstrapperApplication.cpp
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@microsoft.com>2015-03-24 23:46:55 -0700
committerSteve Dower <steve.dower@microsoft.com>2015-03-24 23:46:55 -0700
commitffe8f3c36426972bb4b71cd8a550b715b1c85e9a (patch)
treec1fece3f42a6bdc526ecae1b06fca738fb63a0ad /Tools/msi/bundle/bootstrap/PythonBootstrapperApplication.cpp
parentcad130aad8666b83f88293f2591a8582c12a4f58 (diff)
downloadcpython-ffe8f3c36426972bb4b71cd8a550b715b1c85e9a.tar.gz
Missing brace and minor formatting in Windows installer
Diffstat (limited to 'Tools/msi/bundle/bootstrap/PythonBootstrapperApplication.cpp')
-rw-r--r--Tools/msi/bundle/bootstrap/PythonBootstrapperApplication.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tools/msi/bundle/bootstrap/PythonBootstrapperApplication.cpp b/Tools/msi/bundle/bootstrap/PythonBootstrapperApplication.cpp
index 87ec6f2102..bc40846735 100644
--- a/Tools/msi/bundle/bootstrap/PythonBootstrapperApplication.cpp
+++ b/Tools/msi/bundle/bootstrap/PythonBootstrapperApplication.cpp
@@ -707,8 +707,7 @@ public: // IBootstrapperApplication
HRESULT hr = S_OK;
BAL_INFO_PACKAGE* pPackage = nullptr;
- if (_nextPackageAfterRestart) // after force restart, skip packages until after the package that caused the restart.
- {
+ if (_nextPackageAfterRestart) {
// After restart we need to finish the dependency registration for our package so allow the package
// to go present.
if (CSTR_EQUAL == ::CompareStringW(LOCALE_NEUTRAL, 0, wzPackageId, -1, _nextPackageAfterRestart, -1)) {
@@ -723,6 +722,7 @@ public: // IBootstrapperApplication
BalLog(BOOTSTRAPPER_LOG_LEVEL_STANDARD, "Skipping package: %ls, after restart because it was applied before the restart.", wzPackageId);
*pRequestState = BOOTSTRAPPER_REQUEST_STATE_NONE;
+ }
} else if ((_plannedAction == BOOTSTRAPPER_ACTION_INSTALL || _plannedAction == BOOTSTRAPPER_ACTION_MODIFY) &&
SUCCEEDED(BalInfoFindPackageById(&_bundle.packages, wzPackageId, &pPackage))) {
BOOL f = FALSE;