Skip to content

MSIX FindPackageFile*() API Spec#5885

Merged
DrusTheAxe merged 5 commits into
mainfrom
user/drustheaxe/FindPackageFile-spec
Oct 10, 2025
Merged

MSIX FindPackageFile*() API Spec#5885
DrusTheAxe merged 5 commits into
mainfrom
user/drustheaxe/FindPackageFile-spec

Conversation

@DrusTheAxe

@DrusTheAxe DrusTheAxe commented Oct 2, 2025

Copy link
Copy Markdown
Member

API spec for FindPackageFile*() APIs

https://task.ms/59424502

@DrusTheAxe DrusTheAxe added this to the 2.0 milestone Oct 2, 2025
@DrusTheAxe DrusTheAxe self-assigned this Oct 2, 2025
@DrusTheAxe DrusTheAxe added the area-WinAppSDKDeployment Issues related to packaging, installation, runtime (e.g., SelfContained, Unpackaged) label Oct 2, 2025
Comment thread specs/package/Package.md
@DrusTheAxe DrusTheAxe changed the title Package API Spec - FindPackageFile*() MSIX FindPackageFile*() API Spec - Oct 3, 2025
@DrusTheAxe DrusTheAxe changed the title MSIX FindPackageFile*() API Spec - MSIX FindPackageFile*() API Spec Oct 3, 2025
Comment thread specs/package/Package.md Outdated
Comment thread specs/package/Package.md Outdated
Comment thread specs/package/Package.md Outdated
Comment thread specs/package/Package.md Outdated
Comment thread specs/package/Package.md Outdated
Comment thread specs/package/Package.md Outdated
Comment thread specs/package/Package.md Outdated
Comment thread specs/package/Package.md
Comment thread specs/package/Package.md
Comment thread specs/package/Package.md Outdated
@Scottj1s

Scottj1s commented Oct 3, 2025

Copy link
Copy Markdown
Member

Do any of these APIs require admin, as e.g. PM.FindPackage does? Would be really nice to not have that restriction (and a selling point!)

@DrusTheAxe

Copy link
Copy Markdown
Member Author

Do any of these APIs require admin, as e.g. PM.FindPackage does? Would be really nice to not have that restriction (and a selling point!)

No

PM.FindPackage requires admin privilege because it access per-machine and other-user information (not just current user).

These APIs only use current-user information thus no admin privilege needed.

Comment thread specs/package/Package.md Outdated
@DrusTheAxe

Copy link
Copy Markdown
Member Author

How will these APIs play out when Administrator Protection is turned on?

No different than if you call existing APIs today e.g. GetCurrentPackagePath2(), GetPackagePathByFullName2(), GetCurrentPackageInfo2, GetPackageInfo2(), Windows.ApplicationModel.Package.EffectivePath and so on. Administrator Protection should handle these or have a good explanation why not and what to do about it.

Comment thread specs/package/Package.md
Comment thread specs/package/Package.md Outdated
Comment thread specs/package/Package.md Outdated
Comment thread specs/package/Package.md Outdated
Comment thread specs/package/Package.md Outdated
Comment thread specs/package/Package.md Outdated
Comment thread specs/package/Package.md Outdated
Comment thread specs/package/Package.md
Comment thread specs/package/Package.md Outdated
@DrusTheAxe

Copy link
Copy Markdown
Member Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines could not run because the pipeline triggers exclude this branch/path.

@DrusTheAxe
DrusTheAxe requested a review from nieubank October 10, 2025 19:57
@DrusTheAxe
DrusTheAxe merged commit a11b776 into main Oct 10, 2025
2 checks passed
@DrusTheAxe
DrusTheAxe deleted the user/drustheaxe/FindPackageFile-spec branch October 10, 2025 20:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-WinAppSDKDeployment Issues related to packaging, installation, runtime (e.g., SelfContained, Unpackaged) needs-triage

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants