Client Management Suite

 View Only
  • 1.  Metro-style App Deployment?

    Posted Sep 28, 2015 08:09 PM

    I was wondering if anyone has had experience deploying Windows 8.x metro-style apps via Altiris/SMP?  Is it just a matter of pointing to a .ps1 file, or more complex than this?  Would appreciate any tips that you may have as I've never installed anything via Powershell before.  Thanks in advance!

    Clint



  • 2.  RE: Metro-style App Deployment?

    Trusted Advisor
    Posted Sep 29, 2015 04:43 AM

    I think a file copy followed by a powershell script should be fine. The cmdlet you're looking for is add-appxpackage


    add-appxpackage C:\myMetroStyleApp.appx


    I've notice that my visual studio folder has the powershell script Add-AppDevPackage.ps1, and googling around it seems that others use this. It's a very comprehensive script though, and not sure if this is overkill for your needs!

    Kind Regards,
    Ian./



  • 3.  RE: Metro-style App Deployment?

    Trusted Advisor
    Posted Oct 07, 2015 03:46 PM

    Hi Clint,

    Does this answer your question? Do you need anymore assistance?



  • 4.  RE: Metro-style App Deployment?

    Posted Oct 09, 2015 05:14 PM

    Found out that even before doing the install of a 3rd-party app on Win 8.x, I'll need to set a GPO to allow this action.  Apparently best practice is to enable the "Allow all trusted apps to install" GPO, load the app via PowerShell, then disable the GPO.  Also appears that I have to set some execution policy as well.

    Thinking maybe the easiest would be to put everything in a batch file but not sure how to detect when the metro-style app install is done before disabling the GPO.  Am I headed in the right direction or is there a better way of getting this done?