问题描述
虽然 从setup.exe创建appx; DAC在特定点冻结提及 "等待安装程序进程完成内部隔离 环境"。$
While creating appx from setup.exe; DAC freezes at specific point mentioning "Waiting for installer process to complete inside Isolated Environment".
考虑到安装程序具有用户界面并可能等待 用户输入我们尝试使用各种-installerArguments,例如SILENT,NO 启动,执行但仍然无法工作。
DAC命令:
$
DesktopAppConverter.exe -Installer E:\ setup.exe - InstallerArguments " / S" -InstallerValidExitCodes 0 -Destination E:\ LatestPkg -PackageName" MyAppx" -Publisher"CN = Ankush" -Version 0.0.0.1 -MakeAppx -Sign -Verbose
我们需要知道安装程序DAC进程等待用户输入以外的所有可能情况/场景。
Considering the fact that installer has user interface and may wait for user input we tried with various -installerArguments such as SILENT, NO LAUNCH, VERYSILENT but still won't work.
DAC Command :
DesktopAppConverter.exe -Installer E:\setup.exe -InstallerArguments "/S" -InstallerValidExitCodes 0 -Destination E:\LatestPkg -PackageName "MyAppx" -Publisher "CN=Ankush" -Version 0.0.0.1 -MakeAppx -Sign -Verbose
We need to know all possible cases/scenarios were installer DAC process would wait for completion other than user input.
推荐答案
请不要使用DAC工具直接测试这些参数。因为我不确定你是否知道这些静音参数对你的包是正确的。
Please don’t use DAC tool to test these parameters directly. Because I’m not sure if you know these silent parameters was correct for your package.
要验证参数是否正确,你可以在管理模式下打开命令提示符并输入包使用参数的路径,然后按[Enter]并查看它是否会成功安装而不会弹出任何窗口。
To validate whether the parameter is correct, you could open the command prompt in admin mode and input the package path with the parameter, then press [Enter] and see if it will install successfully without popping out any windows.
最好的问候,
Xavier Eoro
Xavier Eoro
这篇关于[UWP] [DAC] DAC在指定SILENT,NOLAUNCH,VERYSILENT选项后在特定点冻结的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!