

Asset Management › Software Folder › Definitions Folder › Categories Folder › Create New Release/Suite/Patch Dialog - Recognition Tab › Advanced Recognition Parameter Dialog: Package Tab › Get Package Version in Windows
Get Package Version in Windows
To specify the package version in the Package tab, you must know the package version to be recognized.
To get the package version 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 DisplayVersion string and use it for the version string to compare against. If the DisplayVersion is not defined, set the version to be the same as the release string.
- Add an entry in the package database with the key name as the package name.
- Add another package entry in the database with that name as the package name if the DisplayName value is defined.
- Add a package with that name if DisplayName is not defined, but QuietDisplayName is defined.
Copyright © 2014 CA Technologies.
All rights reserved.
 
|
|