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

Updating packaging docs for runFullTrust capability and multiple applications #24

Merged
merged 5 commits into from
May 26, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions docs/packaging/msix-packaging-tool.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ on the size of the package.

In the manifest, the following changes will need to be made.

**Note**: Isolated win32 applications are not compatible with other application types within the same package.

* Add `xmlns:previewsecurity2="http://schemas.microsoft.com/appx/manifest/preview/windows10/security/2"`
to the `<Package>` element

Expand All @@ -72,6 +74,9 @@ on the size of the package.
* In `<Application>` replace any existing entrypoint/trustlevel/runtimebehavior with
`uap10:TrustLevel="appContainer" previewsecurity2:RuntimeBehavior="appSilo"`

* In `<Capabilities>` it is safe to remove the `<rescap:Capability name="runFullTrust">` unless
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does comServer require runFullTrust to support running the Com Server isolated? That seems like a bug to me. Ideally the guidance should be to remove runFullTrust.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A couple extensions do, ComServer, FirewallRules, comInterface. I've forwarded the team an email with some context from the COM team

one of the extensions, such as `comServer`, requires it.

![image](images/11-packaging-manifest.png)

3. The app might need additional capabilities to function correctly now that it has been isolated.
Expand Down