Microsoft App-V is a software package that allows applications installed on a server to be packaged and then setup to run on client computers under user contexts. App V comprises of 3 installations: App-V Server, App-V Seuqncer and App-V Client.
Installing App-V 5 Server
Prior to installing Microsoft App-V on the server from which you want to publish virtualised applications, you must be running .NET 4 or above with Windows updates installed, which you can install from Windows Updates. You must also install Microsoft C++ Runtime, which is also available as a Microsoft download. You will also need:
- Web Server (IIS)
- PowerShell 3.0
Finally, you must have a SQL server to install the DB and reporting components of App-V onto. The installer suggests that you can have the SQL server on another machine, but errors if SQL isn’t installed locally. I got around this by installing SQL Express 2012, then pointing the database to another SQL server during the App-V installation.
Once the App-V prerequisits are installed, run the App-V Server setup as an Administrator (Right click, Run as Administrator). Failure to run the setup as an Administrator will result in the following error:
Microsoft Application Virtualization (App-V) Server 5.0 Setup Setup lacks the privileges necessary to complete installation. Please re-run setup using elevated administrative privileges.
To install App-V, click install, accept the agreement, use updates and select:
- Management Server
- Management Server DB (which should really be installed on a seperate computer, but there’s little point as I don’t think App-V can host it’s database on a SQL server with other databases on – specifically System Center 2012 component databases)
- Publishing Server
- Reporting Server
- Reporting Server DB
Then hit Next, specify the install location and database names (You can leave these as default if you’re installing this as the only database on the server).
Note that Microsoft App-V doesn’t support installing App-V database components on a server that doesn’t have SQL installed; You cannot install the components on a server and point it to a different server with SQL installed on it.
Installing Microsoft App-V 5 on a Server with Microsoft SQL Express Edition 2012 Advanced Tools doesn’t work, despite SQL Express 2012 Advanced Edition including Reporting Services.
Follow through the rest of the install, until complete.
Installing App-V 5 Sequencer
Once you’ve installed App-V 5 Server, you’ll need to install the App-V Sequencer. The App-V Sequencer lets you take running applications and turn them into packages to be deployed from the App-V Server.
I recommend installing the App-V 5 Sequencer on a Virtual Machine so you can revert back snapshots because the sequencer requires that you install software onto it in order to create packages. For the same reason, I recommend installing the App-V Sequencer on a computer with no other services running.
How To Create An App-V Package With App-V Sequencer
The installation of App-V 5 Sequencer is very simple, once it’s installed you need to take a VM snapshot then launch the Sequencer and click Create a New Virtual Application Package. Follow through the steps to package an application. In the App-V server, publish the application (you’ll need to assign permissions and setup a connection group).
If you get an error when creating a package, you may need to stop the following services while you create the package:
- Windows Defender
- Windows Update
- Windows Search
Once your application is packaged and published, save the package on another machine and revert back to your snapshot (otherwise yuo will get an error when you try to create another package).
Next install the App-V Client on users computers, log off and on and the applications (once downloaded by the App-V Client) should appear installed to for the user to use.