This content is not available in your preferred language.

The content is shown in another available language. Your browser may include features that can help translate the text.

Find the Version Number and the Upgrade Code of an Installer

Updated Feb 26, 2024

Reported In

Software

  • LabVIEW
  • LabVIEW Application Builder Module

Issue Details

In the build specifications of an installer in LabVIEW, we can set the product version and the upgrade code:
 

How can I find these information after I have built the installer?

Solution

When LabVIEW finishes to build the installer, you can find the upgrade code by going directly to the registry and searching for the Product ID of that specific program which can be found in the ini generated file associated to the installer. It is going to be under the [install.msi] section which is the last one in the list of the msi components:
 
installer product id.png

In order to find the upgrade code directly in the registry, you need to go to the following location: HKLM\SOFTWARE\Wow6432node\National Instruments\Common\Installer\Parts. The specific location for a program is labeled with an alphanumeric code, this should match the ProductId. Within the folder denoted by the code, you can find product information including the version and upgrade code:
 
upgrade code.png

Additional Information

When LabVIEW builds an installer, it creates several folders and files in the location you entered in the build specification for the installer.
The files created collect a lot of information about the configuration of your application like the drivers you used to create it or the initialization file for example.