Add bal:DisplayFilesInUseDialogCondition to disable Files In Use dialog - #676
Merged
Merged
Conversation
robmen
enabled auto-merge (rebase)
January 3, 2026 00:30
Member
Author
barnson
reviewed
Jan 3, 2026
robmen
force-pushed
the
robmen/add-display-files-in-use-dialog-attribute
branch
from
January 3, 2026 06:54
cd46cf0 to
fddc536
Compare
Disabling display skips showing the "Files In Use" dialog and returning a result as if the user had chosen to ignore the dialog and reboot in the case of files that were unable to be replaced.
robmen
force-pushed
the
robmen/add-display-files-in-use-dialog-attribute
branch
from
January 3, 2026 07:40
fddc536 to
07e4d88
Compare
barnson
approved these changes
Jan 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A couple of fixes rebased into @charles-juicelabs original PR 573:
We develop an application with a DLL that is loaded into many processes, largely outside of our control. It is confusing for our users when they are prompted to close these seemingly unrelated applications when we update the DLL. Updating the DLL requires a reboot independently of any files being in use anyway, so hiding the "Files In Use" dialog is a nice solution for us.
There are other examples of people wanting to disable the "Files In Use" dialog:
Add
bal:DisplayFilesInUseDialogCondition, similar tobal::DisplayInternalUICondition, to be added toMsiPackageelements to control the display of "Files In Use" inWixStandardBoostrapperApplication.For example:
Fixes wixtoolset/issues#8807.
Closes #573 (could not update source branch)