New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Command line /passive /promptrestart is not showing the restart dialog #4975
Comments
The /passive switch requires that there be no modal prompts so /promptrestart can't cause a modal prompt.
|
But then the WiX deviates from the command line used by the Dot.NET installer itself, see .NET Framework Deployment Guide for Developers on MSDN Quote:
|
|
MSI behavior is to essentially ignore /promptrestart: It has no effect when /passive is specified.
|
|
In looking at the Burn code, if you order the arguments
|
Thanks for the response, I have tested both "/promptrestart /passive" and "/passive /promptrestart" with burn from WiX 3.9 but both variants do restart without prompting the user.
|
@wixbot Is this feature implemented? |
I would guess probably not. It's not assigned to anyone, and no one has touched it for nearly 3 years now. But, it is marked v4.0 (rather then v4.x) so it is on the list to be addressed in some form before v4 ships. |
Since restart prompts are UI, the Burn engine in v4 is no longer responsible for parsing the restart prompt modes. It's up to the BA to decide when to prompt for a restart. This fixes the ordering issues. The prereq BA still does not support prompting for restarts during |
Have a burn bundle that installs Dot.NET as prerequisite. Run the bootstrapped installer with "/passive /promptrestart"
Expected results:
Actual results:
The Dot.NET prerequisite is defined as follows:
The text was updated successfully, but these errors were encountered: