CygNet Version Info Utility

The CygNet Version Info utility (CVersionInfo) displays and exports file names and versions to a text file. The utility can keep track of files with extensions .exe, .ocx, .dll, or all the files in a main directory. The utility does not update any files, but can be used to register a file. You can run the utility whether or not the CygNet system is running.

Using CygNet Version Info

Use the CygNet Version Info utility to view file version information, to register files with the Microsoft Windows registry, or to write current version information to a .txt file.

The utility is stored in the CygNet\Utilities directory (CVersionInfo.exe) on the host server. To start the utility, browse to the directory using Windows Explorer and double-click the program icon.

Note: You can also set up this utility to be installed and launched (started) via CygNet Client Installer so that the application can be version managed. See Version Management for instructions on how to do this.

The CygNet Version Info dialog box appears:

CygNet Version Info

CygNet Version Info

To Use the CygNet Version Info Utility

  1. Find the desired Directory by browsing to the correct location.
  2. Select the desired file types from the File Spec drop-down. The options are:
    • *.exe;*.dll;*.ocx
    • *.dll;*.ocx
    • * wildcard (*) option

  3. Keep the default Include Subdirectories enabled to also retrieve files from all of the subfolders under the selected directory . To exclude those files, and retrieve files only from the level of the directory specified, clear it.
  4. Select Relative Paths to display the path only relative to the directory specified.
  5. Click List Files to display files for the selected directory.
  6. Select the file entry (use Ctrl+Click and Shift+Click for multiple file selections) and click Register to register files in the Microsoft Windows registry. Successfully registered and failed file results will be displayed. Click OK.
  7. Click Write to File to export the file to a .txt file. Select a location for the file and click Save.
  8. Click Close when complete.

CygNet Version Info Properties

The following table lists and describes properties of the CygNet Version Info utility.

Option Description

Directory

Browse to and select, or type in, the desired directory within which to find files.

File Spec

Select the file type(s) to find within the selected directory. Options in the File Spec submenu include any chosen file extensions you wish to find and view. There is also a wildcard option (*).

Default is to include all file types where CygNet versioning is possible.

Include Subdirectories

Enables Find Files to also retrieve files from the subdirectories of the selected directory.

List Files

Displays all files with extensions matching the file type(s) selected in the File Spec submenu in the main grid of the utility.

Relative Paths

Enables the display of Relative Paths in the Path column, or in a generated file, to be shown relative to the currently selected Directory location.

Grid

Columns displayed include the following:

  • File — the file name
  • Type — the file type
  • Date — the date and time the file was modified according to the filesystem
  • File Version — the string file version
  • File Version (numeric) — the numeric file version
  • Product Version — the string product version
  • Product Version (numeric) — the numeric product version
  • File Size — the size of the file in bytes
  • Arch. — the architecture of the file: 32-bit or 64-bit
  • Path — the path to the file. Shows a relative path if Relative Paths is checked.
  • Link Time — the linker time for the file, when the file was actually generated

Status Bar

Displays the file count for the selected directory.

Register

Registers selected files with the Microsoft Windows registry.

Note: CVersionInfo does not support the registration of .exe files. Attempting to register .exe files will return a "failed" message, while supported file types (for example, .ocx and .dll files) will be registered successfully. A message appears indicating files that have registered successfully and files that have failed.

Note: Registering files requires administrator-level permission. If running as a standard user, you will be prompted to elevate and provide administrative credentials. See UAC for more information.

Write to File

Writes the current version information for the selected files to a .txt file for further review. The text file defaults to the desktop as VersionInfo.txt. A message appears verifying that the file has been created.

Close

Click to close the CygNet Version Info utility.

Back to top