Skip to content

[Bug]: After creating msix package, installation fails if SplashScreen assets specified in manifest #313

@chiaramooney

Description

@chiaramooney

Describe the bug

After creating msix package, installation fails if SplashScreen assets specified in manifest. Error: App installation failed with error message: AppxManifest.xml(51,27): error 0x80070002: Cannot install or update package electron-gallery_s9y1p3hwd5qda because the splash screen image [SplashScreen.png] cannot be located. Verify that the package contains an image that can be used as a splash screen for the application, and that the package manifest points to the correct location in the package where this splash screen image can be found. (0x80070002)

SplashScreen.png exists in my project, it appears SplashScreen.png doesn't get copied into the packaging directory along with the other assets specified in appxmanifest.

To Reproduce

  1. Create an electron app
  2. Create a set of assets for your Electron app which should include a SplashScreen.png
  3. Specify the SplashScreen.png in your appxmanifest.
  4. Create an Electron package and run winapp pack.
  5. Install the msix. Observe error.

Expected behavior

No error should occur. App should run successfully.

Screenshots

No response

OS Version and details

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions