Windows物联网ICD包导出失败
Windows IoT ICD package export fail
我正在尝试为 Windows 10 IoT 创建配置包以控制自动更新设置。我已按照此处显示的说明进行操作:https://developer.microsoft.com/en-us/windows/iot/docs/createiotcorepro
当我尝试构建包时,出现失败消息。据我所知,用于升级版本的许可证是:iotuapcommercial.xml
说明说要输入许可证的更新控制文件。但是我从这里得到的文件:https://www.microsoft.com/en-us/download/details.aspx?id=53899 是一个 ISO 文件。我认为这是问题所在。
如何获取 iotuapcommerical.xml 文件?
以下是日志中有错误的部分:
3/2/2017 9:05:19 AM Error PackageProvisioningSettings: Failed to package provisioning settings
3/2/2017 9:05:19 AM Error Exception caught in Export: Microsoft.Windows.ICD.Common.Exceptions.ProvPackageException: PackageProvisioningSettings: Failed to package provisioning settings ---> System.Xml.XmlException: '.', hexadecimal value 0x00, is an invalid character. Line 1, position 1.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.Throw(String res, String[] args)
at System.Xml.XmlTextReaderImpl.ThrowInvalidChar(Char[] data, Int32 length, Int32 invCharPos)
at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace()
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.Linq.XDocument.Load(XmlReader reader, LoadOptions options)
at System.Xml.Linq.XDocument.Load(String uri, LoadOptions options)
at Microsoft.Windows.ICD.Provisioning.ProvPackage.Datastore.AssetApplySettingProvInfo.GetAssetApplySettingInfoValue()
at Microsoft.Windows.ICD.Provisioning.ProvPackage.Datastore.AssetApplySettingProvInfo.get_ProvValue()
at Microsoft.Windows.ICD.Provisioning.ProvPackage.Datastore.ProvXmlWriter.Write(String filePath)
at Microsoft.Windows.ICD.Provisioning.ProvPackage.Datastore.PackageDatastore.WriteProvXmls(SettingEventType eventType, IEnumerable`1 settingProvInfo, IVariant variant)
at Microsoft.Windows.ICD.Provisioning.ProvPackage.Datastore.PackageDatastore.Create(IImageCustomizations imageCustomizations, String directoryPath)
at Microsoft.Windows.ICD.Provisioning.ProvPackage.ProvisioningPackage.PackageProvisioningSettings(IImageCustomizations imageCustomizations)
--- End of inner exception stack trace ---
at Microsoft.Windows.ICD.Provisioning.ProvPackage.ProvisioningPackage.PackageProvisioningSettings(IImageCustomizations imageCustomizations)
at Microsoft.Windows.ICD.Provisioning.ProvPackage.ProvisioningPackage.PackageCustomizations(String packagePath)
3/2/2017 9:05:19 AM Error CreateProvisioningPackage: Failed to create Provisioning package
Microsoft.Windows.ICD.Common.Exceptions.ProvPackageException: PackageProvisioningSettings: Failed to package provisioning settings ---> System.Xml.XmlException: '.', hexadecimal value 0x00, is an invalid character. Line 1, position 1.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.Throw(String res, String[] args)
at System.Xml.XmlTextReaderImpl.ThrowInvalidChar(Char[] data, Int32 length, Int32 invCharPos)
at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace()
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.Linq.XDocument.Load(XmlReader reader, LoadOptions options)
at System.Xml.Linq.XDocument.Load(String uri, LoadOptions options)
at Microsoft.Windows.ICD.Provisioning.ProvPackage.Datastore.AssetApplySettingProvInfo.GetAssetApplySettingInfoValue()
at Microsoft.Windows.ICD.Provisioning.ProvPackage.Datastore.AssetApplySettingProvInfo.get_ProvValue()
at Microsoft.Windows.ICD.Provisioning.ProvPackage.Datastore.ProvXmlWriter.Write(String filePath)
at Microsoft.Windows.ICD.Provisioning.ProvPackage.Datastore.PackageDatastore.WriteProvXmls(SettingEventType eventType, IEnumerable`1 settingProvInfo, IVariant variant)
at Microsoft.Windows.ICD.Provisioning.ProvPackage.Datastore.PackageDatastore.Create(IImageCustomizations imageCustomizations, String directoryPath)
at Microsoft.Windows.ICD.Provisioning.ProvPackage.ProvisioningPackage.PackageProvisioningSettings(IImageCustomizations imageCustomizations)
--- End of inner exception stack trace ---
at Microsoft.Windows.ICD.Provisioning.ProvPackage.ProvisioningPackage.PackageProvisioningSettings(IImageCustomizations imageCustomizations)
at Microsoft.Windows.ICD.Provisioning.ProvPackage.ProvisioningPackage.PackageCustomizations(String packagePath)
at Microsoft.Windows.ICD.Provisioning.ProvPackage.ProvisioningPackage.Export(String outputPath, Boolean includeICB, CancellationToken cancellationToken)
at Microsoft.Windows.ICD.Core.Wizards.Contexts.ProvisioningPackageCreationContext.CreateProvisioningPackage(IProvisioningPackageCreationContext context, CancellationToken cancellationToken)
System.Xml.XmlException: '.', hexadecimal value 0x00, is an invalid character. Line 1, position 1.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.Throw(String res, String[] args)
at System.Xml.XmlTextReaderImpl.ThrowInvalidChar(Char[] data, Int32 length, Int32 invCharPos)
at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace()
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.Linq.XDocument.Load(XmlReader reader, LoadOptions options)
at System.Xml.Linq.XDocument.Load(String uri, LoadOptions options)
at Microsoft.Windows.ICD.Provisioning.ProvPackage.Datastore.AssetApplySettingProvInfo.GetAssetApplySettingInfoValue()
at Microsoft.Windows.ICD.Provisioning.ProvPackage.Datastore.AssetApplySettingProvInfo.get_ProvValue()
at Microsoft.Windows.ICD.Provisioning.ProvPackage.Datastore.ProvXmlWriter.Write(String filePath)
at Microsoft.Windows.ICD.Provisioning.ProvPackage.Datastore.PackageDatastore.WriteProvXmls(SettingEventType eventType, IEnumerable`1 settingProvInfo, IVariant variant)
at Microsoft.Windows.ICD.Provisioning.ProvPackage.Datastore.PackageDatastore.Create(IImageCustomizations imageCustomizations, String directoryPath)
at Microsoft.Windows.ICD.Provisioning.ProvPackage.ProvisioningPackage.PackageProvisioningSettings(IImageCustomizations imageCustomizations)
任何人都可以指出正确的方向吗?
谢谢!
How can I get the iotuapcommerical.xml file?
下载ISO file并安装后,可以在路径"C:\Program Files (x86)\Microsoft IoT"中找到iotuapcommerical.xml。
那么你就构建成功了。
我正在尝试为 Windows 10 IoT 创建配置包以控制自动更新设置。我已按照此处显示的说明进行操作:https://developer.microsoft.com/en-us/windows/iot/docs/createiotcorepro
当我尝试构建包时,出现失败消息。据我所知,用于升级版本的许可证是:iotuapcommercial.xml
说明说要输入许可证的更新控制文件。但是我从这里得到的文件:https://www.microsoft.com/en-us/download/details.aspx?id=53899 是一个 ISO 文件。我认为这是问题所在。
如何获取 iotuapcommerical.xml 文件?
以下是日志中有错误的部分:
3/2/2017 9:05:19 AM Error PackageProvisioningSettings: Failed to package provisioning settings
3/2/2017 9:05:19 AM Error Exception caught in Export: Microsoft.Windows.ICD.Common.Exceptions.ProvPackageException: PackageProvisioningSettings: Failed to package provisioning settings ---> System.Xml.XmlException: '.', hexadecimal value 0x00, is an invalid character. Line 1, position 1.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.Throw(String res, String[] args)
at System.Xml.XmlTextReaderImpl.ThrowInvalidChar(Char[] data, Int32 length, Int32 invCharPos)
at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace()
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.Linq.XDocument.Load(XmlReader reader, LoadOptions options)
at System.Xml.Linq.XDocument.Load(String uri, LoadOptions options)
at Microsoft.Windows.ICD.Provisioning.ProvPackage.Datastore.AssetApplySettingProvInfo.GetAssetApplySettingInfoValue()
at Microsoft.Windows.ICD.Provisioning.ProvPackage.Datastore.AssetApplySettingProvInfo.get_ProvValue()
at Microsoft.Windows.ICD.Provisioning.ProvPackage.Datastore.ProvXmlWriter.Write(String filePath)
at Microsoft.Windows.ICD.Provisioning.ProvPackage.Datastore.PackageDatastore.WriteProvXmls(SettingEventType eventType, IEnumerable`1 settingProvInfo, IVariant variant)
at Microsoft.Windows.ICD.Provisioning.ProvPackage.Datastore.PackageDatastore.Create(IImageCustomizations imageCustomizations, String directoryPath)
at Microsoft.Windows.ICD.Provisioning.ProvPackage.ProvisioningPackage.PackageProvisioningSettings(IImageCustomizations imageCustomizations)
--- End of inner exception stack trace ---
at Microsoft.Windows.ICD.Provisioning.ProvPackage.ProvisioningPackage.PackageProvisioningSettings(IImageCustomizations imageCustomizations)
at Microsoft.Windows.ICD.Provisioning.ProvPackage.ProvisioningPackage.PackageCustomizations(String packagePath)
3/2/2017 9:05:19 AM Error CreateProvisioningPackage: Failed to create Provisioning package
Microsoft.Windows.ICD.Common.Exceptions.ProvPackageException: PackageProvisioningSettings: Failed to package provisioning settings ---> System.Xml.XmlException: '.', hexadecimal value 0x00, is an invalid character. Line 1, position 1.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.Throw(String res, String[] args)
at System.Xml.XmlTextReaderImpl.ThrowInvalidChar(Char[] data, Int32 length, Int32 invCharPos)
at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace()
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.Linq.XDocument.Load(XmlReader reader, LoadOptions options)
at System.Xml.Linq.XDocument.Load(String uri, LoadOptions options)
at Microsoft.Windows.ICD.Provisioning.ProvPackage.Datastore.AssetApplySettingProvInfo.GetAssetApplySettingInfoValue()
at Microsoft.Windows.ICD.Provisioning.ProvPackage.Datastore.AssetApplySettingProvInfo.get_ProvValue()
at Microsoft.Windows.ICD.Provisioning.ProvPackage.Datastore.ProvXmlWriter.Write(String filePath)
at Microsoft.Windows.ICD.Provisioning.ProvPackage.Datastore.PackageDatastore.WriteProvXmls(SettingEventType eventType, IEnumerable`1 settingProvInfo, IVariant variant)
at Microsoft.Windows.ICD.Provisioning.ProvPackage.Datastore.PackageDatastore.Create(IImageCustomizations imageCustomizations, String directoryPath)
at Microsoft.Windows.ICD.Provisioning.ProvPackage.ProvisioningPackage.PackageProvisioningSettings(IImageCustomizations imageCustomizations)
--- End of inner exception stack trace ---
at Microsoft.Windows.ICD.Provisioning.ProvPackage.ProvisioningPackage.PackageProvisioningSettings(IImageCustomizations imageCustomizations)
at Microsoft.Windows.ICD.Provisioning.ProvPackage.ProvisioningPackage.PackageCustomizations(String packagePath)
at Microsoft.Windows.ICD.Provisioning.ProvPackage.ProvisioningPackage.Export(String outputPath, Boolean includeICB, CancellationToken cancellationToken)
at Microsoft.Windows.ICD.Core.Wizards.Contexts.ProvisioningPackageCreationContext.CreateProvisioningPackage(IProvisioningPackageCreationContext context, CancellationToken cancellationToken)
System.Xml.XmlException: '.', hexadecimal value 0x00, is an invalid character. Line 1, position 1.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.Throw(String res, String[] args)
at System.Xml.XmlTextReaderImpl.ThrowInvalidChar(Char[] data, Int32 length, Int32 invCharPos)
at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace()
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.Linq.XDocument.Load(XmlReader reader, LoadOptions options)
at System.Xml.Linq.XDocument.Load(String uri, LoadOptions options)
at Microsoft.Windows.ICD.Provisioning.ProvPackage.Datastore.AssetApplySettingProvInfo.GetAssetApplySettingInfoValue()
at Microsoft.Windows.ICD.Provisioning.ProvPackage.Datastore.AssetApplySettingProvInfo.get_ProvValue()
at Microsoft.Windows.ICD.Provisioning.ProvPackage.Datastore.ProvXmlWriter.Write(String filePath)
at Microsoft.Windows.ICD.Provisioning.ProvPackage.Datastore.PackageDatastore.WriteProvXmls(SettingEventType eventType, IEnumerable`1 settingProvInfo, IVariant variant)
at Microsoft.Windows.ICD.Provisioning.ProvPackage.Datastore.PackageDatastore.Create(IImageCustomizations imageCustomizations, String directoryPath)
at Microsoft.Windows.ICD.Provisioning.ProvPackage.ProvisioningPackage.PackageProvisioningSettings(IImageCustomizations imageCustomizations)
任何人都可以指出正确的方向吗?
谢谢!
How can I get the iotuapcommerical.xml file?
下载ISO file并安装后,可以在路径"C:\Program Files (x86)\Microsoft IoT"中找到iotuapcommerical.xml。
那么你就构建成功了。