Forum Discussion

Peitao Su's avatar
Peitao Su
Copper Contributor
Apr 06, 2023

AddPackageByUriAsync return null use CloudFlare URI

Hi MS Experts and MSIX Community,

 

I was using AddPackageByUriAsync to install MSIX package with URI hosted by CloudFlare. The AddPackageByUriAsync returns null and wasn't able to continue the install.

 

Is there any way to know what caused AddPackageByUriAsync returns null? Logs in somewhere? Or another API to get PackageManager event logs?

 

Thanks,

Peitao

2 Replies

  • Peitao Su

     

    For deployment logs, you can open “Event Viewer” then navigate to “Applications and Services Logs” -> Microsoft -> Windows -> AppxDeployment-Server -> Microsoft-Windows-AppxDeploymentServer/Operational

     

    Please feel free to file feedback using Win+F --> Categories: Developer Platform --> App Deployment

    • Peitao Su's avatar
      Peitao Su
      Copper Contributor
      Hi Aniket,

      Thank you for your reply. I tried to follow your steps to get deployment logs, but AddPackageByUriAsync return null directly without adding any log into Microsoft-Windows-AppxDeploymentServer/Operational.

      I just filed feedback by using Feedback Hub.

      Thanks,
      Peitao

Resources