Previous Topic: RAC Container Job FailsNext Topic: Network Installation of MSI Package Fails


Virtual Application Software Package Deployment Fails

Symptom:

When I attempt to deploy a virtual application software package, the deployment fails and I receive the following error message: "ERROR (number) Install package_name failed.” What do I do now?

Solution:

To troubleshoot an error while deploying a virtual application software package, perform the following steps:

  1. Navigate to the Computers and Users, All Computers, computer_name, Jobs, Software Jobs folder.

    The right pane displays the available software delivery jobs.

  2. Select the job that failed, right-click, and select Properties.

    The Job Properties dialog appears.

  3. View the Status Message on the Computer Job tab.
  4. Open the Job Output tab and view the trace information.

    Note: There is no trace information shown if the deployment is successful.

  5. Scroll down to the Starting postprograms section.

    This section displays information related to virtual application package installation.

  6. View the postprogram return code. The following list includes all return codes and their meanings:
    -1

    Indicates an internal error with wrong or incomplete parameters (install script not executed).

    0

    Indicates successful termination (no error).

    1

    Indicates that the process could not find the DSM installation (files, directories, registry keys, or environment were not found).

    2

    Indicates that the process could not create or remove files or folders.

    3

    Indicates that the process could not find required files for the package (for example, .sft files for Microsoft App-V packages).

    4

    Indicates that the creation or removal of net shares failed.

    5

    Indicates that the process could not restart App-V services.

    6

    Indicates that the execution of sftmime.exe (App-V) or ThinReg.exe (VMware ThinApp) failed. These required tools create or remove links (icons) on the desktop and entries in the Start > Programs menu.

    7

    Indicates that the process failed to connect to the ThinApp streaming server.

  7. View the command line that caused the deployment failure in the Action output of installation section of the trace information. Scroll right to view the command line parameters and return code.
  8. Determine the cause of the error and fix the problem.
  9. Redeploy the virtual application software package.