Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

[release/3.0-preview9] Fix bundle installer signing #7822

Merged

Conversation

dagood
Copy link
Member

@dagood dagood commented Aug 23, 2019

Description

#7817. The bundle installers fail to install with 0x80070001 - Incorrect function. The most likely direct cause of that error is the burn engine not being signed. There are several MSBuild authoring problems related to signing that this PR fixes: runtime MSIs are not signed due to a build order issue, and the burn bundle engine is not reattached to the bundle installer.

A validation real-signed build shows that this PR resolves the issue: https://github.com/dotnet/core-setup/issues/7817#issuecomment-524388499.

Clean cherry-pick of #7820 to release/3.0-preview9.

Customer Impact

The .NET Core Runtime and Windows Desktop Runtime bundle installers currently fail to install, with a cryptic error message.

Regression?

Yes, the .NET Core Runtime bundle installer in particular. The changes made to produce the Windows Desktop Runtime bundle inadvertently caused this problem for both bundle installers.

Risk

Low. The authoring errors are simple to correct.

This OrderProjectReference is unnecessary: ensuring the MSI files are signed before bundling them is already handled by the infrastructure in the GetBundledMsiFiles target.
@dagood
Copy link
Member Author

dagood commented Aug 23, 2019

I ran another validation real-signed build with this branch in particular, and results are good: https://dev.azure.com/dnceng/internal/_build/results?buildId=322481.

@dagood dagood merged commit 2be1723 into dotnet:release/3.0-preview9 Aug 23, 2019
@dagood dagood deleted the fix-bundle-signing/3.0-preview9 branch August 23, 2019 18:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants