[release/7.0] Pass /norestart to Hosting Bundle nested bundles #47543
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.
Backport of #47542 to release/7.0
/cc @wtgodbe
Pass /norestart to Hosting Bundle nested bundles
Ensure that when
/norestartis passed on the command line to the hosting bundle, the user sees the expected behavior (no restart)Description
WiX doesn't pass command line args to nested bundles/packages, since the nested package could be any arbitrary .exe. This means when that today, when the user passes /norestart to the hosting bundle in a
repairoruninstallcommand, they'll still be prompted to restart. Always passing/norestartto these commands will give us the behavior that users would expect (/norestart= no restart, no/norestart= restart, prompted from the hosting bundle itself).Fixes #47544
Customer Impact
Fulfills request from the Office team
Regression?
Risk
These
/norestartargs will only have any effect when the user passes/norestartto the hosting bundle. The risk is if there's a scenario I haven't thought of.Verification
Packaging changes reviewed?
When servicing release/2.1