none
Does appxbundle sideloading use Powershell RRS feed

  • Question

  • Hello,

    I have an UWP app and I built appx for sideloading. I would like to know what's happening behind the scene when I'm installing it by double-clicking the *.appxbundle file. Especially I need to know if it's calling PowerShell internally or not.

    Thank you in advance.

    • Moved by CoolDadTx Wednesday, August 8, 2018 1:51 PM UWA related
    • Moved by Barry Wang Thursday, August 23, 2018 3:19 AM
    Wednesday, August 8, 2018 1:13 PM

Answers

  • Hello,

    "I suggested to use the double click install option instead of running the PS script but it seems to be using the script anyway."

    Per my understanding, PowerShell is not required here. The reason why you cannot work by just click the installer may related to that powershell actually installed test certificate for you. But when you click to directly install your package, if you does not also install a certificate, then your app cannot work. Would you mind to check this? When you manually run your appx on your client machine you will see the failed info. 

    Best regards,

    Barry


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Thursday, August 9, 2018 9:41 AM
  • Hi Michal,

    If the customer has an existing MDM solution they should check with their MDM vendor and see if they can user their existing MDM solution to deploy appx packages. While I am not an MDM expert AFAIK a vast majority of Windows MDM solutions do allow for the deployment of appx packages.

    If you need further help on this I would recommend that you check with the TechNet forums:

    https://social.technet.microsoft.com/Forums/en-US/home

    I hope this helps,

    James


    Windows SDK Technologies - Microsoft Developer Services - http://blogs.msdn.com/mediasdkstuff/

    Wednesday, August 15, 2018 6:31 PM

All replies

  • Hello,

    Can you help us understand why you want to know whether PowerShell is used internally? First please see here to know what is appxbundle. You will find that it is just another package which may contains x86,x64, arm package for different platform. And when we are using powershell, we are using the exist script to help us batch install the app in local windows store. This does not mean it will run PowerShell every time. 

    Best regards,

    Barry


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Thursday, August 9, 2018 6:52 AM
  • Hello,

    Thank you a lot for your reaction. I'll try to clarify the situation a little bit. Our client asked us if it's possible to install app we developed for them without PowerShell since they have it blocked on some target devices. We don't distribute the app using Store so we need to provide them an installer.

    I suggested to use the double click install option instead of running the PS script but it seems to be using the script anyway. I tried to search for some explanation how the installer works but I haven't found much resources on that.

    I can probably simplify my question: Is it possible to sideload an application without using PowerShell?

    Thursday, August 9, 2018 7:26 AM
  • Hello,

    "I suggested to use the double click install option instead of running the PS script but it seems to be using the script anyway."

    Per my understanding, PowerShell is not required here. The reason why you cannot work by just click the installer may related to that powershell actually installed test certificate for you. But when you click to directly install your package, if you does not also install a certificate, then your app cannot work. Would you mind to check this? When you manually run your appx on your client machine you will see the failed info. 

    Best regards,

    Barry


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Thursday, August 9, 2018 9:41 AM
  • Hi Michal,

    While deployment is actually off topic for this forum I would recommend that you take a look at the Microsoft Store for Business. It might be a good option for your client. 

    Microsoft Store for Business and Microsoft Store for Education overview

    https://docs.microsoft.com/en-us/microsoft-store/microsoft-store-for-business-overview

    You can also look into using tools like Configuration Manger for enterprise deployment

    Create Windows applications in Configuration Manager

    https://docs.microsoft.com/en-us/sccm/apps/get-started/creating-windows-applications

    Beyond that we do have deployment APIs that allow you to automate the deployment process. 

    Windows.Management.Deployment Namespace

    https://docs.microsoft.com/en-us/uwp/api/Windows.Management.Deployment

    I hope this helps,

    James


    Windows SDK Technologies - Microsoft Developer Services - http://blogs.msdn.com/mediasdkstuff/

    Friday, August 10, 2018 8:08 PM
  • Hello, 

    Do I understand it correctly that if the certificate is installed in advance, the PS wouldn't be involved?

    Thank you,

    Michal

    Monday, August 13, 2018 1:45 PM
  • Hello James,

    Thank you for your response. I'll definitely check the resources. I'm afraid that our client already uses some MDM for managing all their devices and software. So I don't recon they would like to use another solution for our app. But it can be useful for other clients in future.

    Regards,

    Michal

    Monday, August 13, 2018 1:51 PM
  • Hi Michal,

    If the customer has an existing MDM solution they should check with their MDM vendor and see if they can user their existing MDM solution to deploy appx packages. While I am not an MDM expert AFAIK a vast majority of Windows MDM solutions do allow for the deployment of appx packages.

    If you need further help on this I would recommend that you check with the TechNet forums:

    https://social.technet.microsoft.com/Forums/en-US/home

    I hope this helps,

    James


    Windows SDK Technologies - Microsoft Developer Services - http://blogs.msdn.com/mediasdkstuff/

    Wednesday, August 15, 2018 6:31 PM
  • Hello James,

    you are right that it's more a matter of the particular MDM and the configuration of the target device. Customer accepted that they have to allow powershell it they want to use the installer we provided them.

    Thank you a lot!

    Friday, September 14, 2018 10:21 AM
  • Hello Barry,

    thank you for the clarification of what the powershell is used for by installer.

    Friday, September 14, 2018 10:23 AM