Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Wrong executable "crashpad_handler.exe" in generated AppxManifest.xml #287

Open
hig-dev opened this issue Dec 16, 2024 · 0 comments · May be fixed by #288
Open

[BUG] Wrong executable "crashpad_handler.exe" in generated AppxManifest.xml #287

hig-dev opened this issue Dec 16, 2024 · 0 comments · May be fixed by #288

Comments

@hig-dev
Copy link

hig-dev commented Dec 16, 2024

ℹ️ Info

Version: msix: 3.16.8

💬 Description

I am using the command:

When I inspect the created .msix, I can see that the AppxManifest.xml contains the wrong executable:

📜 AppxManifest.xml

(...)
<Applications>
  <Application Id="myapp" Executable="crashpad_handler.exe" EntryPoint="Windows.FullTrustApplication">
    (...)
    <Extensions>
     <uap3:Extension Category="windows.appExecutionAlias" Executable="crashpad_handler.exe" EntryPoint="Windows.FullTrustApplication">
       <uap3:AppExecutionAlias>
         <desktop:ExecutionAlias Alias="myappalias.exe" />
         </uap3:AppExecutionAlias>
     </uap3:Extension>
    </Extensions>
 </Application>
</Applications>
(...)

The build directory contains the following executables:

  • crashpad_handler.exe
  • myapp.exe

The msix package chooses the wrong executable and as a result the installed app crashes on the start.

📜 Pubspec.yaml

name: myapp
description: My app.
version: 1.0.0
environment:
  sdk: '>=3.2.0 <4.0.0'

publish_to: none

dependencies:
  (...)

dev_dependencies:
  msix: ^3.16.8
  (...)

msix_config:
  display_name: My App
  publisher: CN=(...)
  publisher_display_name: HIG Studio
  identity_name: (...)
  logo_path: "../Graphics/AppIcon/icon.png"
  trim_logo: false
  capabilities: internetClient
  languages: en-us, de-de, nl-nl
  execution_alias: myappalias
  store: true
  build_windows: false
hig-dev added a commit to hig-dev/msix that referenced this issue Dec 17, 2024
@hig-dev hig-dev linked a pull request Dec 17, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant