Skip to content

Conversation

Copy link

Copilot AI commented May 22, 2025

Documentation for CreateProcess in MSIX Packages

This PR adds comprehensive documentation explaining how to make CreateProcess work correctly when launching helper executables within MSIX packaged applications. The documentation addresses an issue where packaged applications receive ERROR_ACCESS_DENIED when attempting to launch helper executables included in their package.

Key additions:

  • Created a new guide msix-createprocess-guide.md that explains:

    • Different requirements between Windows 10 and Windows 11
    • How to configure AppxManifest.xml correctly for helper executables
    • The role of app execution aliases on Windows 10
    • Advanced options using thread attributes
    • Common troubleshooting steps and known issues
  • Added an FAQ entry addressing why CreateProcess fails with helper executables

  • Updated the main docs README to reference the new documentation

  • Included information about Store submission challenges when using app execution aliases

  • Added reference to Windows App SDK's own approach to process launching in RestartAgent

This documentation should help developers avoid common pitfalls when packaging applications that need to launch helper executables.

Fixes #7.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI changed the title [WIP] Docs for making CreateProcess work on a packaged win32 exe could be improved Add documentation for CreateProcess with MSIX packaged helper executables May 22, 2025
Copilot AI requested a review from haonanttt May 22, 2025 08:32
Copilot finished work on behalf of haonanttt May 22, 2025 08:33
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 this pull request may close these issues.

Docs for making CreateProcess work on a packaged win32 exe could be improved

2 participants