You can run AppCapture using Microsoft PowerShell.
Verify that you are logged in as administrator and you are taking the appropriate precautions:
- Run AppCapture as administrator.
- Disable User Account Control (UAC). See http://windows.microsoft.com/en-us/windows/turn-user-account-control-on-off#1TC=windows-7
- Become familiar with the AppCapture cmdlets. See PowerShell Options and Parameters
- Take a snapshot of the system.
You can revert to the snapshot after the capture session.
- Open a 32-bit or 64-bit PowerShell console,
- Import the PowerCLI module using the import-module vmware.appcapture command.
This imports the AppCapture module.
- (optional) To see a list of all modules, run the get-module command.
- Run the command Start-AVAppCapture -Name appStackFile, where appStackFile is the name of the AppStack .vhd file to create.
Do not press Enter yet.appStackFile .vhd is created.
- Leave the PowerShell console and install, on this machine, any applications to be provisioned.
- After all of the applications have been installed, open the PowerShell console again.
- Press Enter.
- Reboot your machine if necessary.
In the AppCapture console window you see the locations of the AppStack files .json, .vhd and .vmdk. By default, these files are stored in C:\ProgramData\VMware\AppCapture\appvhds.
- (Optional) Examine the .json, .vhd, and .vmdk files in that directory to ensure that the applications have been bundled.
- Copy the AppStacks that you have created to a staging file share.
- Revert to the system snapshot that you captured before you started the first capture session.
- Copy the AppStacks from the staging file share to your system.