-
Notifications
You must be signed in to change notification settings - Fork 298
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
6348 - Deunify FilesInUse messages in Burn #67
Conversation
// | ||
// Return: |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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...
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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, |
There was a problem hiding this comment.
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)?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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...
Fixes wixtoolset/issues#6348
Also related to wixtoolset/issues#5208