对需要重启设备的桌面安装程序的支持Support for desktop installers that require device restart

从1.2019.701.0 版本的 .MSIX 打包工具开始,你可以在安装过程中触发重启。Beginning in the 1.2019.701.0 version of the MSIX Packaging Tool, you can trigger a restart during conversion for your installer.

通过交互式用户界面和命令行都支持重启。Restarts are supported both through our interactive UI and through the command line. 此外,通过命令行,还可以指定在重新启动后自动登录,以便进行无缝的无人参与转换。In addition, through the command line, you can also specify you want to auto-login after the restart to have a seamless hands-free conversion.

你可以在 "设置" > 安装程序退出代码 "页中指定哪些退出代码指示重启。You can specify which exit codes indicate a restart in the Settings > Installer exit codes page.

可以在执行转换工作流期间通过 UI 触发重启,或者通过转换计算机的开始菜单触发重启。You can trigger a restart through the UI during your conversion workflow or through the start menu of your conversion machine. 发生重启后,你将返回到先前在工具中的同一位置,以继续转换。After the restart has happened, you will return to the same place you were in the tool to continue with your conversion.

我们始终希望收到你的反馈,因此如果你有任何反馈,请确保与我们进行 反馈We always want to hear from you, so if you have any feedback, please be sure to file feedback with us.