You can run AppCapture from a command line.

About this task

Note:

You must capture applications from the same operating system into which you mount them. For example, if users are operating a Win7x64 operating system, you must capture the applications by using a similar or an identical base operating system Win7x64 image.

Prerequisites

  1. You must run AppCapture as administrator.

  2. Verify that User Account Control (UAC) in Windows is disabled. To turn off UAC, see http://windows.microsoft.com/en-us/windows/turn-user-account-control-on-off#1TC=windows-7.

  3. Verify that the CLI command AppCapture.exe is installed in C:\Program Files (x86)\VMware\AppCapture (64-bit machines) or C:\Program Files\VMware\AppCapture (32-bit machines).

  4. To view options of the AppCapture.exe command, see AppCapture Command-Line Options.

Procedure

  1. Take a snapshot of the system.

    You can revert to the snapshot after the capture session.

  2. Open a console window.
  3. Run the AppCapture.exe command: AppCapture.exe /n your_appstack_name.

    Do not press Enter at this point.

    The AppStack virtual machine disk is usually ready in less than a minute.

  4. Minimize the AppCapture console window and run the regular Windows installation process to capture each of the application installers.
    1. Accept the default installation of all applications on the C: drive. The installation activity redirects to the virtual output disk.
    2. If an installer requires a reboot, wait for the reboot to finish.
    3. If the ThinApp feature is available in your environment, you can also capture ThinApp MSI packages. You can install these packages in the same way that you install other application MSI packages. See the latest VMware ThinApp documentation for information about how to create ThinApp MSI packages.
  5. Finish creating the virtual disks.
    1. After all installers that are required to be captured in this AppStack have run, return to the console window.
    2. Press Enter to initiate a reboot and finish the process.

      After the reboot, you see new AppStacks containing applications.

    3. Verify that you have new VHD and VMDK files in C:\ProgramData\VMware\AppCapture\appvhds.
  6. Run the AppCapture.exe command to view applications in the VHD file and VMDK files. For VHD files: AppCapture.exe /list my_AppStack_Name.vhd and for VMDK files: AppCapture.exe /list my_AppStack_Name.vmdk
  7. Copy the AppStacks that you have created to a staging file share of your choice.
  8. Revert to the system snapshot that you captured before you started the first capture session.
  9. Copy the AppStacks from the staging file share to the file share connected with your environment.