Previous Topic: Get Package Release in WindowsNext Topic: Advanced Recognition Parameter Dialog: Registry Tab


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

  1. Click Start, Run and enter regedit.exe.

    The Registry Editor window opens.

  2. Scan all the subkeys of HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
  3. 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.
  4. Add an entry in the package database with the key name as the package name.
  5. Add another package entry in the database with that name as the package name if the DisplayName value is defined.
  6. Add a package with that name if DisplayName is not defined, but QuietDisplayName is defined.