Deploying a package in standalone mode in App-V 5.0 is really really simple! I recommend having a standalone client somewhere to everyone I talk to regardless of infrastructure choices because it is the easiest way to quickly test a package before deploying to an environment.
There are two main steps to stand alone package delivery in App-V 5.0; adding and publishing.
Adding a package will register it with the client however will not make the package available to user or computer.
Firstly lets import the appvclient module:
Then run Add-AppvClientPackage
Add-AppvClientPackage -Path C:\Packages\iTunes\iTunes.appv
The –Path parameter simply specifies where your .appv package exists.
An additional parameter we can use when adding a package is –DynamicDeploymentConfiguration whereby we can specify the location of a dynamic configuration file.
Next step is to now publish the package we have just added by running the following command:
Publish-AppvClientPackage -Name iTunes
As you will notice the command we issued publishes the package to the user. Now the application is ready to be used!
Another switch we can use when publishing is –DynamicUserConfigurationPath which will allow us to specify a user configuration xml.
If we want to publish a package globally to a machine all we have to do is add a –Global to our command: