PreviousNext
Macrovision

Version-Checking Functions

InstallShield 2008 ยป InstallScript Language Reference

The following functions allow you to access version information present on Windows systems. In order to use the functions, you need to know background information about version resources. Review the Microsoft Windows Programmer's Reference, Volume 4: Resources manual to gain a better understanding of the version resource. The descriptions of the functions assume that you are completely familiar with the concepts behind the version resource.

The following functions obtain a specific file's version, find a file and get its version, or search for an existing file and try to install a newer version of the file. The functions work with either compressed or uncompressed files.

Version-Checking Functions 

Function

Description

VerCompare

Compares two strings containing version information.

VerFindFileVersion

Searches for the specified file and retrieves its version and location.

VerGetFileVersion

Retrieves the version of a specified file.

VerSearchAndUpdateFile

Replaces an existing file with a more recent version. If the specified file does not exist, the more recent version is installed.

VerUpdateFile

Replaces an existing file with a more recent version. If the specified file does not exist, the more recent version is installed.




Copyright Information | Contact Macrovision