How to manage applications from ZAV server's command-line interface

  • 7011711
  • 25-Jan-2013
  • 02-Apr-2013

Environment

Novell ZENworks Application Virtualization 10

Situation

ZAV Server provides a command line interface for managing aspects of the server configuration. 2 common scenarios where command-line interface is preferred are:
  •     Applications of size 2GB of larger cannot be uploaded through the web interface and must be added from the command line.
  •      The command-line interface provides a way to automate the addition of applications to the server potentially saving time for deployments with a large number of applications.
This document provides information on how to manage applications from the command line.

Resolution

Shown below is an example where an application named 'Inkscape' is added via commandline.

This is the list of applications shown on the Administrator >Apps page of the Administrator site.



1. Adding an application from command-line interface.

Command line example for adding 'Inkscape':
"C:\Program Files (x86)\Novell\ZENworks Application Virtualization Server\Spoon.exe" admin /create /a "Inkscape"


This is the list of applications after adding application 'Inkscape' from the command line.



2. Adding an application version from command-line interface

Command-line example for adding application version:

"C:\Program Files (x86)\Novell\ZENworks Application Virtualization Server\Spoon.exe" admin /create /a "Inkscape" /v 2.2.0.0 /f C:\svms\Inkscape.svm


This is the list of applications after new application version is created.