本文介绍了DesktopAppConverter失败:错误'E_EXPANDED_BASEIMG_INVALID的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我从App商店下载最新的DesktopAppConverter并设置BaseImage-14393,当我尝试运行转换器。我收到一个错误:

I download the latest DesktopAppConverter from the App store and Setup the BaseImage-14393, and when I try to run the converter. I get an error:


DesktopAppConverter:错误'E_EXPANDED_BASEIMG_INVALID':'C:\ProgramData \ Microsoft的ExpandedBaseImage \\ windows\Images\BaseImage-14393'无效。使用-ExpandedBaseImage指定有效图像,或者通过运行'-Setup
-BaseImage< wim>'


我的OS:14393&NBSP;赢得10&NBSP;   Enterprise
edition。


以下是日志,  有什么建议吗?





[2017-01-11T13:36:28] Log file can be found in C:\DesktopAppConverter\6a5ddd81-4487-4299-8088-fc0dba5f635b\logs\DesktopAppConverter.log
[2017-01-11T13:36:28] Desktop App Converter 1.0.4.release_2016-12-13_15-11_2efc3e3318329bd96f1274f1cf58567b5e843736
[2017-01-11T13:36:28] --------------------------------------------------


Checking Prerequisites


[2017-01-11T13:36:28] Checking Windows Version to ensure it meets minimum requirements
[2017-01-11T13:36:28] Minimum Windows Version requirement is met.
[2017-01-11T13:36:28] Testing for required feature enabled...
[2017-01-11T13:36:54] Required feature is enabled. Checking if reboot is required
[2017-01-11T13:44:33] Required feature is enabled.
[2017-01-11T13:44:33] Checking network config...
[2017-01-11T13:44:33] Checking virtual network: "Windows Desktop App Converter Network"
[2017-01-11T13:44:33] Using virtual network: "Windows Desktop App Converter Network"
[2017-01-11T13:44:33] Checking if Microsoft Windows 10 SDK is installed
[2017-01-11T13:44:33] Checking if MAKEAPPX.exe is available in the Microsoft Windows 10 SDK tools
[2017-01-11T13:44:33] Checking if SIGNTOOL.exe is available in the Microsoft Windows 10 SDK tools
[2017-01-11T13:44:33] Checking Windows SDK version to ensure it meets minimum requirements.
[2017-01-11T13:44:34] The installed Windows SDK version is supported (10.0.14393.33)
[2017-01-11T13:44:34] --------------------------------------------------


Initializing AppxManifest.xml


[2017-01-11T13:44:34] Creating working directory structure at C:\DesktopAppConverter\6a5ddd81-4487-4299-8088-fc0dba5f635b
[2017-01-11T13:44:34] Attempting to set appx manifest property 'Package.Identity.Name' to 'MyApp'.
[2017-01-11T13:44:34] Attempting to set appx manifest property 'Package.Identity.Publisher' to 'CN=Joe'.
[2017-01-11T13:44:34] Attempting to set appx manifest property 'Package.Identity.Version' to '1.0.0.0'.
[2017-01-11T13:44:34] No value provided for appx manifest property 'Package.Properties.PublisherDisplayName'. Attempting to set it to the default value 'Joe'
[2017-01-11T13:44:34] Attempting to set appx manifest property 'Package.Properties.PublisherDisplayName' to 'Joe'.
[2017-01-11T13:44:34] No value provided for appx manifest property 'Package.Properties.DisplayName'. Attempting to set it to the default value 'MyApp'
[2017-01-11T13:44:34] Attempting to set appx manifest property 'Package.Properties.DisplayName' to 'MyApp'.
[2017-01-11T13:44:34] No value provided for appx manifest property 'Package.Applications.Application.VisualElement.Description'. Attempting to set it to the default value 'MyApp'
[2017-01-11T13:44:34] Attempting to set appx manifest property 'Package.Applications.Application.VisualElement.Description' to 'MyApp'.
[2017-01-11T13:44:34] No value provided for appx manifest property 'Package.Applications.Application.VisualElement.DisplayName'. Attempting to set it to the default value 'MyApp'
[2017-01-11T13:44:34] Attempting to set appx manifest property 'Package.Applications.Application.VisualElement.DisplayName' to 'MyApp'.
[2017-01-11T13:44:34] No value provided for appx manifest property 'Package.Applications.Application.Id'. Attempting to set it to the default value 'MyApp'
[2017-01-11T13:44:34] Attempting to set appx manifest property 'Package.Applications.Application.Id' to 'MyApp'.
[2017-01-11T13:44:34] --------------------------------------------------


Validating Input


[2017-01-11T13:44:34] Checking that the ExpandedBaseImage 'C:\ProgramData\Microsoft\Windows\Images\BaseImage-14393' is valid
[2017-01-11T13:44:34] ValidateExpandedBaseImage : error 'E_EXPANDED_BASEIMG_INVALID': ExpandedBaseImage at 'C:\ProgramData\Microsoft\Windows\Images\BaseImage-14393' is not valid. Either specify a valid image using -ExpandedBaseImage, or try expanding a base image by running with '-Setup -BaseImage <wim>'
[2017-01-11T13:44:34] An error occurred converting your application. Here is the full error record: 
[2017-01-11T13:44:34] 

PowerShell Error Record:
DesktopAppConverter : error 'E_EXPANDED_BASEIMG_INVALID': ExpandedBaseImage at 'C:\ProgramData\Microsoft\Windows\Images\BaseImage-14393' is not valid. Either specify a valid image using -ExpandedBaseImage, or try expanding a base image by running with '-Setup -BaseImage <wim>'
PowerShell Stack Trace:
在 RaiseUserException、C:\Program Files\WindowsApps\Microsoft.DesktopAppConverter_1.0.4.0_x64__8wekyb3d8bbwe\converter_util\DACLogger.ps1 中: 第 155 行
在 RaiseUserException、C:\Program Files\WindowsApps\Microsoft.DesktopAppConverter_1.0.4.0_x64__8wekyb3d8bbwe\converter_util\DACLogger.ps1 中: 第 128 行
在 ValidateExpandedBaseImage、C:\Program Files\WindowsApps\Microsoft.DesktopAppConverter_1.0.4.0_x64__8wekyb3d8bbwe\converter_util\InputValidation.ps1 中: 第 235 行
在 <ScriptBlock>、C:\Program Files\WindowsApps\Microsoft.DesktopAppConverter_1.0.4.0_x64__8wekyb3d8bbwe\DesktopAppConverter.ps1 中: 第 424 行
在 <ScriptBlock>、<无文件> 中: 第 1 行

Inner Exception[0]:
System.Configuration.ConfigurationErrorsException: DesktopAppConverter : error 'E_EXPANDED_BASEIMG_INVALID': ExpandedBaseImage at 'C:\ProgramData\Microsoft\Windows\Images\BaseImage-14393' is not valid. Either specify a valid image using -ExpandedBaseImage, or try expanding a base image by running with '-Setup -BaseImage <wim>'
[2017-01-11T13:44:34] The full error record is saved in the logs at C:\DesktopAppConverter\6a5ddd81-4487-4299-8088-fc0dba5f635b\logs









推荐答案

其实我认为这是重新你的系统。你能检查一下你的图像是否放在这里:

Actually I think this is related to your System. Can you check whether your image has been put under here:

C:\ProgramData\Microsoft\Windows\Images\BaseImage-14393

转换器需要您首先使用以下命令设置环境:

The converter need you to setup your environment first by using this command:

CMD PS C:\> DesktopAppConverter.exe -Setup -BaseImage .\BaseImage-1XXXX.wim -Verbose

由于你找不到有效的baseimage,我想你需要先检查一下。或者你需要确保你没有任何软件可以阻止它从baseimage读取或运行。

As you cannot find the valid baseimage, I think you need to check it first. Or you need to make sure that you don't have any software which can prevent it from reading or running from baseimage.

祝你好运,

巴里


这篇关于DesktopAppConverter失败:错误'E_EXPANDED_BASEIMG_INVALID的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-20 08:40