Login to participate
Endpoint Management & Virtualization BlogsRSS

Capturing Batch Files using Single Program Capture

Wm Jesse Foster's picture

Even though the browse dialog in SVS Admin for Single Program Capture does not accept .bat as a valid file type, you can still use batch files. You can either paste or manually type the path to the batch you want to run into the Program name text field.

Procedure

  1. Create a batch (.bat) file containing the command lines for launching each of the programs you want to capture to a single layer.

In Software Virtualization Solution Admin:

  1. Click File > Create New Layer.
  2. Select Install application.
  3. Click Next.
  4. Type in a name for the layer.
  5. Click Next.
  6. Select Single program capture.
  7. Under Program name type in the path and name of your batch file.
  8. Click Next.
  9. Click Finish.

Capture mode will start and your batch file will be launched. Capture mode will end after the batch file has been processed. If capture mode does not end after the batch file has completed, check for and end any child process the program installers launched. For example, some installers execute a "quick launch" program and place an icon in the system tray.

tfronza's picture

Handy Hint

I ran into this one just a few days ago with a Java app that installed via a Batch File. Had I not found this I would have never known a Single Program capture would see that!!

Thanks - Tom Fronza