InstallShield 2018 » InstallScript Language Reference
Project • This information applies to InstallScript projects.
The VerProductIsVersionSupported function checks whether the version string in szVersionCheck is one of the versions in szVersionSupported.
Syntax
VerProductIsVersionSupported ( szVersionCheck, szVersionSupported );
Parameters
| 
                         Parameter  | 
                    
                         Description  | 
                
| 
                         szVersionCheck  | 
                    
                         Specifies a version string in packed DWORD format (for example, the initial value of the system variable IFX_PRODUCT_VERSION.  | 
                
| 
                         szVersionSupported  | 
                    
                         Specifies a pipe(|)-delimited list of version strings in packed DWORD format (for example, the initial value of the system variable IFX_SUPPORTED_VERSIONS).  | 
                
Return Values
| 
                         Return Value  | 
                    
                         Description  | 
                
| 
                         TRUE  | 
                    
                         szVersionCheck is one of the versions in szVersionSupported, or szVersionSupported is a null string ("").  | 
                
| 
                         FALSE  | 
                    
                         szVersionCheck is not one of the versions in szVersionSupported.  | 
                
                        InstallShield 2018 Help LibrarySeptember 2018 | 
                    Copyright Information | Flexera |