Installing CVL Silently

It is possible to install CVL unattended, without the need for operator intervention to click on screen dialog buttons. This is known as silent operation. Note that when you install CVL silently, if you wish to also install Cognex device drivers silently a separate operation is required. For information on installing Cognex device drivers silently, see Installing 32-bit Device Drivers Silently.

The CVL silent install is run from a DOS prompt command line. Arguments you include on the command line name CVL features you wish to install. These are the same features you see in the screen dialog of an interactive Custom install. See Setup Type under Installing CVL 8.0 Software. These features are summarized in the table below (for the 32-bit installer) and in the bottom table (for the 64-bit installer).

Command line argument

Defaults

Screen dialog names

devvc110

ü

Visual Studio C++ 2012 Development Files

devvc120

ü

Visual Studio C++ 2013 Development Files

devvc140

ü

Visual Studio C++ 2015 Development Files

docsw

ü

CVL Developer Manuals

dochw

ü

Acquisition Hardware Manuals

sample

ü

Sample Code

gigecfg

ü

GigE Vision Configuration Tool

dplvc110a

  Visual Studio C++ 2012 ANSI1

dplvc110u

  Visual Studio C++ 2012 UNICODE1

dplvc120a

  Visual Studio C++ 2013 ANSI1

dplvc120u

  Visual Studio C++ 2013 UNICODE1

dplvc140a

  Visual Studio C++ 2015 ANSI1

dplvc140u

  Visual Studio C++ 2015 UNICODE1

Note 1: Deployment-only files

CVL installation Features (32-bit installer)

Command line argument

Defaults

Screen dialog names

dev110x64

ü

Visual Studio C++ 2012 x64 Development Files

dev120x64

ü

Visual Studio C++ 2013 x64 Development Files

dev140x64

ü

Visual Studio C++ 2015 x64 Development Files

docsw

ü

CVL Developer Manuals

dochw

ü

Acquisition Hardware Manuals

sample

ü

Sample Code

gigecfg

ü

GigE Vision Configuration Tool

dpl110a64

 

Visual Studio C++ 2012 x64 ANSI1

dpl110u64

 

Visual Studio C++ 2012 x64 UNICODE1

dpl120a64

 

Visual Studio C++ 2013 x64 ANSI1

dpl120u64

 

Visual Studio C++ 2013 x64 UNICODE1

dpl140a64

 

Visual Studio C++ 2015 x64 ANSI1

dpl140u64

 

Visual Studio C++ 2015 x64 UNICODE1

Note 1: Deployment-only files

CVL installation Features (64-bit installer)

To run a silent install, execute setup.exe located in the root directory of your CVL release installer. For example:

setup /s /v”/qn ADDLOCAL=dpl80a64,dpl80u64
INSTALLDIR=\”c:\Program Files\Cognex\CVL\””

This command installs CVL into the c:\Program Files\Cognex\CVL directory. You can install it in another directory if you wish by changing the Path in the above command line.

Following ADDLOCAL= is a comma-separated list (with no spaces) of the features you wish to install. These must be names from the left-hand column of the top table (32-bit) and the bottom table (64-bit). If you omit ADDLOCAL= the installer installs the defaults which are the same as the defaults used in the interactive installation when you choose a Complete install. These defaults are shown in CVL installation Features (32-bit installer).

To install all features, use ADDLOCAL=ALL.

Note that the path you specify following INSTALLDIR must be enclosed with quotes if there are any spaces in the path name.