Skip to content

[BUG] Unable to create msix #305

@ShreemanMassTech

Description

@ShreemanMassTech

Config

msix_config:
  display_name: Golden Game
  publisher_display_name: Company Namey
  identity_name: com.user.goldengame
  msix_version: 1.0.0.0
  logo_path: assets/images/login_image.png
  capabilities: internetClient, location, allowElevation
  publisher: CN=PublisherName, O=Msix Testing
  install_certificate: false
  build_windows: false

terminal

C:\Users\shree\Documents\mverse\golden_new\GoldenNEW>dart run msix:create
Building package executable... (1.7s)
Built msix:create.
building msix files...                 7.4s
packing msix files...                   
Microsoft (R) MakeAppx Tool
Copyright (C) 2013 Microsoft.  All rights reserved.

Option /v specified, switching to verbose output.
Option /o specified, existing files will be overwritten.
Using default hash method: SHA256.
The path (/p) parameter is: "\\?\C:\Users\shree\Documents\mverse\golden_new\GoldenNEW\build\windows\x64\runner\Release\goldengame.msix"
The content directory (/d) parameter is: "\\?\C:\Users\shree\Documents\mverse\golden_new\GoldenNEW\build\windows\x64\runner\Release"
Enumerating files from directory "\\?\C:\Users\shree\Documents\mverse\golden_new\GoldenNEW\build\windows\x64\runner\Release"
Packing 158 file(s) in "\\?\C:\Users\shree\Documents\mverse\golden_new\GoldenNEW\build\windows\x64\runner\Release" (content directory) to "\\?\C:\Users\shree\Documents\mverse\golden_new\GoldenNEW\build\windows\x64\runner\Release\goldengame.msix" (output file name).
Memory limit defaulting to 8511936512 bytes.
Using "\\?\C:\Users\shree\Documents\mverse\golden_new\GoldenNEW\build\windows\x64\runner\Release\AppxManifest.xml" as the manifest for the package.
MakeAppx : error: Failure at appxFactory->CreateManifestReader(manifestStream, &manifestReader) - 0x80080204 - The specified package format is not valid: The package manifest is not valid.
MakeAppx : error: Error info: /*[local-name()="Package" and namespace-uri()="http://schemas.microsoft.com/appx/manifest/foundation/windows10"]/*[local-name()="Properties" and namespace-uri()="http://schemas.microsoft.com/appx/manifest/foundation/windows10"][1]/*[local-name()="Description" and namespace-uri()="http://schemas.microsoft.com/appx/manifest/foundation/windows10"][1]
'' violates minLength constraint of '1'.
The element '{http://schemas.microsoft.com/appx/manifest/foundation/windows10}Description' with value '' failed to parse.
Cleaning up output file "\\?\C:\Users\shree\Documents\mverse\golden_new\GoldenNEW\build\windows\x64\runner\Release\goldengame.msix".
MakeAppx : error: Failure at (CreatePackage( overwrite, hashAlgorithm, fileList, outputPath, manifestStream.Get(), forceCompressionNone, performanceOptions, encryptPackage, encryptionOptions, cgmPath, mainPackagePathForResourceExemption, makepriExeFullPath)) - 0x80080204 - The specified package format is not valid: The package manifest is not valid.
MakeAppx : error: Package creation failed.
MakeAppx : error: 0x80080204 - The specified package format is not valid: The package manifest is not valid.

Unhandled exception:

#0      ProcessResultExtensions.exitOnError (package:msix/src/method_extensions.dart:61:7)
#1      MakeAppx.pack (package:msix/src/makeappx.dart:28:9)
<asynchronous suspension>
#2      Msix._packMsixFiles (package:msix/msix.dart:137:5)
<asynchronous suspension>
#3      Msix._createMsix (package:msix/msix.dart:103:5)
<asynchronous suspension>
#4      Msix.create (package:msix/msix.dart:59:5)
<asynchronous suspension>
#5      main (file:///C:/Users/shree/AppData/Local/Pub/Cache/hosted/pub.dev/msix-3.16.9/bin/create.dart:4:3)
<asynchronous suspension>

@YehudaKremer May i know the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions