VerProductGetInstalledVersion

InstallShield 2015 ยป InstallScript Language Reference

Project: This information applies to InstallScript projects.

The VerProductGetInstalledVersion function returns in svVersionInstalled the string equivalent of the data in the Version value of the application uninstallation registry key if that data is a packed DWORD.

Syntax

VerProductGetInstalledVersion ( svVersionInstalled );

Parameters

VerProductGetInstalledVersion Parameters

Parameter

Description

svVersionInstalled

Returns the string equivalent of the data in the application uninstallation registry key's Version value. If the function fails, the value of svVersionInstalled is not changed.

Return Values

VerProductGetInstalledVersion Return Values

Return Value

Description

>= ISERR_SUCCESS

The function successfully retrieved the installed version information.

< ISERR_SUCCESS

The function failed to retrieve the installed version information; the registry key or value does not exist or the data is not a packed DWORD.