Skip to content

PackageDeploymentManager: IsReadyOrNewerAvailable(), FrameworkUdk update, Implement not-implemented functions, Tests! #4453

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

Merged

Conversation

DrusTheAxe
Copy link
Member

@DrusTheAxe DrusTheAxe commented May 28, 2024

This PR does multiple things

  • Add contract version 2
    • Is*ReadyOrNewerAvailable*()
    • EnsureReadyOptions.RegisterNewerIfAvailable=bool
    • Is*Provisioned*()
  • Fix progress updates when PackageSet.Items.Count>=2 (was (re)set to 0-1.0 for each item, not collectively for the whole operation)
  • Update to recent FrameworkUdk
  • Implement previously not-implemented functions (Remove, Repair, Reset)
  • Expanded test coverage
  • Updated TAEF to 10.92.240405002
  • Fixed DevCheck error accessing non-existent registry value if DeveloperMode was never set. Changed to use more resilient mechanism; this was the last of the older less-resilient syntax in the code

KNOWN ISSUES:

  1. Need updated Platform SDK to resolve known issues
  2. Register*Async() errors on 20H2/Vb3.
  3. Reset*Async() succeeds but ends w/o the package being registered
  4. RemovePackageByUriAsync() throws E_NOTIMPL
  5. RemovePackageSetAsync() throws E_NOTIMPL if PackageUri=ms-uup
  6. Provision*Async() not supported yet
  7. Deprovision*Async() not supported yet

https://task.ms/49555034
https://task.ms/48914090
https://task.ms/48964562

…eAsync()m RemovePackageByFamilyNameAsync(), IsPackageRegistrationPending*(). Added tests for Register*(). Fix some test bugs.
…echanism. Figured out the FrameworkUdk problem; fixed up to build correctly but need a FrameoworkUdk turn
…movePackageOptions.FailIfNotFound default (was true, supposed to be false). Mostly implemented RemovePackageSetAsync; URI handling is blocked awaiting FrameworkUdk update (imminent).
@DrusTheAxe
Copy link
Member Author

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).
@DrusTheAxe
Copy link
Member Author

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).
@DrusTheAxe
Copy link
Member Author

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).
@DrusTheAxe
Copy link
Member Author

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).
@DrusTheAxe
Copy link
Member Author

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).
@DrusTheAxe DrusTheAxe merged commit c6c2234 into main Jun 25, 2024
24 checks passed
@DrusTheAxe DrusTheAxe deleted the user/drustheaxe/pkgmgmt-fwudk-and-isreadyorneweravailable branch June 25, 2024 20:52
kythant added a commit that referenced this pull request Jun 26, 2024
…kUdk update, Implement not-implemented functions, Tests! (#4453)"

This reverts commit c6c2234.
kythant added a commit that referenced this pull request Jun 27, 2024
…kUdk update, Implement not-implemented functions, Tests! (#4453)" (#4514)

This reverts commit c6c2234.
DrusTheAxe added a commit that referenced this pull request Jun 27, 2024
…rkUdk update, Implement not-implemented functions, Tests! (#4453)" (#4514)

This reverts commit 684fdf1.
kythant added a commit that referenced this pull request Jun 27, 2024
…FrameworkUdk update, Implement not-implemented functions, Tests! (#4453)" (#4514)"

This reverts commit 684fdf1.
DrusTheAxe added a commit that referenced this pull request Jun 27, 2024
* Reapply "PackageDeploymentManager: IsReadyOrNewerAvailable(), FrameworkUdk update, Implement not-implemented functions, Tests! (#4453)" (#4514)

This reverts commit 684fdf1.

* Added #include sddl.h as WindowsAppRuntime.sln was fine for all users but the WindowsAppRuntimeInstaller.sln wasn't. Better to be self-fulfilling in case code changes again in the future to avoid unknown-symbol pains
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-Deployment Issues related to packaging, installation, runtime (e.g., SelfContained, Unpackaged)
2 participants