Forum Discussion
Mipumi
Jan 09, 2020Copper Contributor
MSIX package not accepted at Partner Center
I've been trying to upload a MSIX package created with the packaging-tool to a product created in the Partner Center / Windows Developer section but it isn't accepted due to an error: "Package ac...
Dian Hartono
Microsoft
Jan 15, 2020Mipumi Thanks for the clarification. MSIX Packaging Tool automatically adds RunFullTrust as a restricted capability. For your submission to the store, you need to provide a good reason why that capability is there. If your app does not need this capability to run, simply remove the capability using the Package Editor in the MSIX Packaging Tool.
For more information about restricted capability see this page. https://docs.microsoft.com/en-us/windows/uwp/packaging/app-capability-declarations#restricted-capability-list
CloudChen
Feb 17, 2021Copper Contributor
Dian Hartono I have the same problem with remove "runFullTrust" capability.
I removed that, and get this error
[2021/2/17 下午 02:31:00] [Debug] Attempting to read and validate the saved manifest file: %UserProfile%\AppData\Local\Packages\Microsoft.MsixPackagingTool_8wekyb3d8bbwe\LocalState\DiagOutputDir\Logs_20\kftcqhm3.gtp.Manifest
[2021/2/17 下午 02:31:00] [Error] System.Runtime.InteropServices.COMException (0x80080204): 無法指出的錯誤
'SWD7Demo' 違反 '\bms-resource:.{1,256}' 的 'pattern' 條件。
於 System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
於 Microsoft.ApplicationVirtualization.Packaging.Impl.AppxManifestReader..ctor(String path)
於 Microsoft.ApplicationVirtualization.Packaging.AppxPackageFactory.ReadManifest(String path)
於 MsixGenerator.MsixPackageEditor.ValidateManifestOrThrow(String manifestPath)
於 MsixGenerator.MsixPackageEditor.TryParseManifestFile(String manifestPath)
[2021/2/17 下午 02:31:00] [Warning] 無法分析資訊清單。編輯資訊清單檔以修正錯誤。
- Matteo PaganiFeb 17, 2021
Microsoft
CloudChen can you clarify where are you getting this error? If it's a Win32 app packaged as MSIX, the runFUllTrust capability is required, it can't be removed.
- CloudChenFeb 18, 2021Copper Contributor
Another question is in Partner Center
I got this error
"Package acceptance validation error: Your developer account isn’t authorized to submit apps that use the runFullTrust capability."
How to resolve this?
- CloudChenFeb 18, 2021Copper Contributor
Thanks for reply.
I packed installer using Inno Setup Compiler and program was created by Unreal Engine with Visual Studio 2019 Win64.
Is the runFullTrust capability also required?
Error log get from log file
- Matteo PaganiFeb 19, 2021
Microsoft
CloudChen yes, it is required. The only apps which don't need such a capability are Universal Windows Platform applications.
When you upload a package which uses the runFullTrust capability, you should see an extra step in the certification process where you will be asked why you need a restricted a capability.
In such a scenario, it's simply enought to specify that your is a Win32 app packaged as MSIX to get the approval.
Best