Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIXFEAT:3249 - Allow BA to run elevated async process through the engine. #79

Merged
merged 2 commits into from Jun 19, 2014

Conversation

rseanhall
Copy link
Contributor

Add ApprovedExeForElevation element, IBootstrapperEngine::LaunchApprovedExe, IBootstrapperApplication::OnLaunchApprovedExeBegin, IBootstrapperApplication::OnLaunchApprovedExeCompleted, and enable WixStdBA to use them.

Edit: WIP is at http://wixtoolset.org/development/wips/3249-allow-ba-to-run-elevated-aync-process-through-engine/

…vedExe, IBootstrapperApplication::OnLaunchApprovedExeBegin, IBootstrapperApplication::OnLaunchApprovedExeCompleted, and enable WixStdBA to use them.
HRESULT hr = S_OK;
LPWSTR sczCommand = NULL;
LPWSTR sczExecutableDirectory = NULL;
STARTUPINFOW si = {};
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Common convention is a space between brackets.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess that's where the style guide would come in handy. From what I could find in Burn, no space was more common.

}
MemFree(pApprovedExes->rgApprovedExes);
}
return S_OK;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Uninitialize functions are generally void since they can't fail.

@barnson barnson merged commit f38ab2b into wixtoolset:develop Jun 19, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants