The Microsoft Application Virtualization (App-V) 5.x provider for OneGet can be installed in numerous ways depending on the version of the Windows Management Framework (WMF) installed and/or whether you have the OneGet/Microsoft Package Management bits installed.
Duh?! The OneGet/Package Management module and the App-V 5.x client of course!
Everything you need is included in the Windows Management Framework 5.0 April 2015 (or later) preview. If you don’t want to install the full WMF 5.0 preview you can download and install the latest experimental OneGet build instead on Windows 7 and upwards.
Note: due to internal namespace changes you will need to have OneGet version 126.96.36.19927 or later installed.
If you have installed WMF 5.0 or the OneGet experimental bits you should be able to install the module via the Powershell Gallery. This process may change once we can get the provider natively bootstrapping. We’re working with @fearthecowboy on this – so watch this space!
To get busy, trying running Install-Module –Name AppvProvider
Until the bootstrapping is working you can manually download and install the provider without having to use PowershellGet.
- Download the latest provider release from GitHub.
- Unblock the .zip file.
- Extract the .zip file contents into the %ProgramFiles%\WindowsPowershell\Modules.
Is It Working?!
To determine whether you have followed the above instructions correctly and everything is working, fire up a Powershell prompt and run the Get-PackageProvider cmdlet. All being well, you should see the App-V provider listed:
Once you have the provider installed, you can find more details on how to use it in the Using the OneGet App-V Provider post.
Remember that this is an open-source project. This means that if there are changes you would like to see implemented or you have found a bug, head over to the project page and start to contribute!