Skip to content
New issue

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

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

Already on GitHub? # to your account

6348 - Deunify FilesInUse messages in Burn #67

Merged
merged 2 commits into from
Dec 30, 2021

Conversation

rseanhall
Copy link
Contributor

@rseanhall rseanhall commented Dec 15, 2021

//
// Return:
Copy link
Member

Choose a reason for hiding this comment

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

Why remove these? This is the only "doc" without spelunking source.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You mean source code? Burn doesn't own how the return codes are processed. The BA needs to look at the source of the FilesInUse message and return a value based on that source's documentation which is provided as a link here.

Copy link
Member

Choose a reason for hiding this comment

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

I didn't realize it was just pass-through. Hopefully we'll never need more than an int...

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 it's not exactly pass-through, there's still some coercion by calling UserExperienceCheckExecuteResult. I wasn't sure whether to remove that, too.

Copy link
Member

Choose a reason for hiding this comment

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

Seems that it should be completely pass-through (though we still want to be able to talk to Burn) or translate Burn return values to the underlying engine (as Burn is hard-coded for the ones it supports).

/// <summary>
/// Generated from INSTALLMESSAGE_RMFILESINUSE.
/// </summary>
MsiRm,
Copy link
Member

Choose a reason for hiding this comment

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

Should we be spelling out Restart Manager (here and/or in the native code)?

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 I was following Microsoft's lead here, they always used RM - INSTALLMESSAGE_RMFILESINUSE, MsiRMFilesInUse (Dialog), etc.

Copy link
Member

Choose a reason for hiding this comment

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

Yeah, that's a typical Microsoft native-code approach. Not so much with managed code, though. And Burn hasn't shied away from long-ass names...

@rseanhall rseanhall merged commit c7bd5d0 into wixtoolset:develop Dec 30, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Dec 30, 2021
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

When getting a files in use message on .NET chainer the response is wrongly returned to .NET installer
2 participants