

Asset Management › Software Folder › Definitions Folder › Categories Folder › Create New Release/Suite/Patch Dialog - Recognition Tab › Advanced Recognition Parameter Dialog: Package Tab › Get Package Release in Windows
Get Package Release in Windows
To get the package release number in Windows
- Click Start, Run and enter regedit.exe.
The Registry Editor window opens.
- Scan all the subkeys of HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
- Extract the version information from any of the following methods:
- Extract the Version value and convert it to a string in X.Y.Z format where:
X is the most significant 8 bits.
Y the next 8 bits and.
Z the low order 16 bits in decimal format.
- If Version is not found, extract the DWORD values VersionMajor and VersionMinor and create a string in the format VersionMajor.VersionMinor or simply VersionMajor if VersionMinor is missing.
- If the DWORD value is also not found extract the string versions of VersionMajor and VersionMinor and concatenate them as VersionMajor.VersionMinor, or as simply VersionMajor if VersionMinor is undefined.
This forms the package release number.
Copyright © 2014 CA Technologies.
All rights reserved.
 
|
|