VerProductVerPartsFromVer
InstallShield 2025 » InstallScript Language Reference
Project:
                                                    
The VerProductVerPartsFromVer function retrieves as separate numeric values the version parts of the packed DWORD specified by nVersion.
Syntax
VerProductVerPartsFromVer ( nVersion, nvVersionMajor, nvVersionMinor, nvVersionBuild );
Parameters
| 
                                                                 Parameter  | 
                                                            
                                                                 Description  | 
                                                        
| 
                                                                 nVersion  | 
                                                            
                                                                 Specifies version information as a four-byte value, that is, a number in the range 0 to 4294967295.  | 
                                                        
| 
                                                                 nvVersionMajor  | 
                                                            
                                                                 Returns the first byte of nVersion.  | 
                                                        
| 
                                                                 nvVersionMinor  | 
                                                            
                                                                 Returns the second byte of nVersion.  | 
                                                        
| 
                                                                 nvVersionBuild  | 
                                                            
                                                                 Returns the last two bytes of nVersion.  | 
                                                        
Return Values
| 
                                                                 Return Value  | 
                                                            
                                                                 Description  | 
                                                        
| 
                                                                 ISERR_SUCCESS  | 
                                                            
                                                                 This function always returns ISERR_SUCCESS.  |