[UWP] [DAC] DesktopAppConverter.exe卡在VERBOSE上:启动隔离环境 [英] [UWP][DAC]DesktopAppConverter.exe Stuck on VERBOSE : Starting the Isolated Environment

查看:48
本文介绍了[UWP] [DAC] DesktopAppConverter.exe卡在VERBOSE上:启动隔离环境的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨专家


我尝试使用Windows 10企业版64位操作系统版本10.0.16299.492将我的桌面应用程序转换为通用Windows应用程序,方法如下:


1.下载基本图像并将其放在 C:\ BaseImage-16299.wim


2。以运行管理员身份运行DesktopAppConverter.exe


然后使用以下命令:


(1) 
Set-ExecutionPolicy bypass


(2) DesktopAppConverter.exe -Setup -BaseImage C:\ BaseImage-16299.wim
- Verbose


(3)DesktopAppConverter.exe -Installer C:\Installer \ MyApp.exe -InstallerArguments" / S" -Destination C:\ Output -PackageName" MyApp" -Publisher"CN = MyPublisher" -Version 8.0.0.0 -MakeAppx -Sign -Verbose


现在 DesktopAppConverter.exe卡住了on


在隔离环境中运行安装程序



VERBOSE:未指定安装程序有效的退出代码。使用默认值:0

VERBOSE:替换< log_folder>的任何出现in -InstallerArguments with C:\ shared\logs

VERBOSE:创建隔离环境

VERBOSE:启动隔离环境


如果我使用 -AppExecutable变量尝试命令,则创建包但在午餐时它会给出错误消息


而我的MyApp.exe没有给出这样的类型当我在桌面上使用这个exe时出现错误。


谢谢



















解决方案

< blockquote>



你好Kumar Anuj,



请首先检查本文档中有关桌面桥接应用程序的所有要求:  准备
打包应用程序(桌面桥)



一般来说,  需要用户交互的安装程序(非静默)。因此安装程序正在等待隔离容器中的用户,并且永远不会完成。



您可以尝试在DAC外部使用静音平面运行安装程序,以查看您是否使用了正确的静音标志,或者静音标志是否真的是静音。



祝你好运,



Roy



Hi Experts

I am try to convert my Desktop Application into Universal Windows App using Windows 10 Enterprise 64 bit OS version 10.0.16299.492 with following methods :

1.Download the Base Image and put it on C:\BaseImage-16299.wim

2. Run DesktopAppConverter.exe as Run as administrator

Then use following commands :

(1)  Set-ExecutionPolicy bypass

(2)DesktopAppConverter.exe -Setup -BaseImage C:\ BaseImage-16299.wim -Verbose

(3) DesktopAppConverter.exe -Installer C:\Installer\MyApp.exe -InstallerArguments "/S" -Destination C:\Output -PackageName "MyApp" -Publisher "CN=MyPublisher" -Version 8.0.0.0 -MakeAppx -Sign -Verbose

Now DesktopAppConverter.exe stuck on

Running Installer in Isolated Environment

VERBOSE: No installer valid exit codes specified. Using defaults: 0
VERBOSE: Replace any occurence of <log_folder> in -InstallerArguments with C:\shared\logs
VERBOSE: Creating Isolated Environment
VERBOSE: Starting the Isolated Environment

If I try the command using -AppExecutable variable then package created but at lunch time it give error message

while my MyApp.exe not give such type of error when I am using this exe on desktop.

Thanks







解决方案

Hi Kumar Anuj,

Please first check all the requirements from this document for Desktop bridge apps: Prepare to package an app (Desktop Bridge)

Generally, the installer requiring user interaction (not silent). So the installer is waiting for the user in the isolated container and never finishes.

You could try to run the installer with silent flat locally outside of DAC to see if you are using the correct silent flag or if the silent flag is truly silent.

Best regards,

Roy


这篇关于[UWP] [DAC] DesktopAppConverter.exe卡在VERBOSE上:启动隔离环境的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆