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. Run all installers first, and return to this window.

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

  4. Close the console window and run normal Windows installation for each of the applications that you want to capture.
    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 this feature is available, you can also run ThinApp MSI packages. You can install these packages in the same way that you install other application MSI packages. See the latest ThinApp documentation for information about how to create ThinApp MSI packages.
  5. Finish virtual disk creation.
    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 virtual disk creation.

      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 your system.