I’m going to cover two topics, both updating your old Packages to install without error on 1607, and how to enable AppV in 1607 with Powershell / AppModel Deployment.
We have a few AppV Packages that we use, when doing inplace upgrade from 1511 –> 1607, it automatically enables the new AppV that’s built into Windows, and the AppV Apps that were previously installed just work, that’s great!
However, when trying to deploy AppV Packages via ConfigMgr to newly installed 1607 clients, we’d get error:
Windows Installer packages (.msi files) generated by the App-V sequencer (version 5.1 and earlier) fail to install on computers with the in-box App-V client Searching for that error led me to:https://technet.microsoft.com/en-us/itpro/windows/manage/appv-release-notes-for-appv-for-windows
The process outlined worked, just that the script included in the Windows 10 ADK doesn’t. It has some references to old file locations from older SDKs. After minor modification to the Update-AppvMsiPackage.ps1 script, we were able to make it work. (Changes shown in Picture below)
You can download our Modified Script HERE – Thanks Mark (@Geodesicz)
- Windows 10 ADK – AppV Sequencer https://developer.microsoft.com/en-us/windows/hardware/windows-assessment-deployment-kit
- Windows 10 SDK - https://developer.microsoft.com/en-US/windows/downloads/windows-10-sdk
Steps to upgrade package
- Open Elevated Powershell
- Import-Module “Update-AppvMsiPackage.ps1” (Use the modified version you created or downloaded)
- Update-AppvMsiPackage –msiPackage c:\folder\appvpackage.msi
Now when you deploy that package to a 1607 machine, it works!
- AppV Status: Powershell: get-appvstatus
- Enable: Powershell: Enable-AppV
- Corresponding Registry Key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\AppV\Client Enabled = 1
Deploy via Catalog (App Model)
I have two deployment types, one for the MSI installer & one to activate the built-in 1607
First one will run if build NOT equal 14393, and the second will run if 14393
Only covering the new 1607 method here
Content: You can just put anything, you can probably leave it blank. I just have it pointed to my folder for the PowerShell Script and documentation. Just so I remember where to find it.
Requirements: Set to require build 14393 (1607) – You can add this Custom Global Condition by following this awesome guide: http://ccmexec.com/2016/08/using-windows-10-build-numbers-as-global-condition-in-configmgr/
You should now have the ability to use this Application model as a prereq for your AppV Package deployments.
Also, recommend updating your AppV 5.1 Client install to include the detection method for 1607’s. Consider this Senario. You have Several AppV Packages you deploy. You have the 5.1 AppV Client as a pre-req for your AppV Package Deployments. On Windows pre-1607, it will then install the 5.1 Client. On Windows 1607, it will fail the install of the client, and not continue with the AppV Package deployment. However, if you already have AppV enabled on 1607 via GPO or OSD, etc, then you can just add the 1607 detection method to 5.1’s install, then when you deploy your AppV Package, it will see the pre-reqs are already installed if 1607, and continue on.
Found a post about an overview of the new AppV in 1607, along with Group Policy info:
Hope you find this useful, took me a day dealing with the incorrect PowerShell Script provided.