LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
mniedernhuber

Application Builder, Installer Registry -> allow variables like %productversion, %productname, %installdir in the Registry

Status: Declined

Any idea that has received less than 9 kudos within 9 years after posting will be automatically declined.

The Registry Settings within the Build Spec from an installer is using fixed values only.

 

It would be nice to have somthing like varaibles that contain the information that are entered on the page
"Productinformation" in the settings window from the installer.

 

Productname -> %productname

Productversion -> %productversion

User selected Path for installation -> %installdir

 

This would allow something like this:

 

22863iA75EB0F1A77A1685

 

The values {%productversion} etc. will be replaced during the setup with the real values. The %installdir contain

the selected installation dir from the user.

 

2 Comments
codeman
Member

Actually, some of this is already available.  I forget where I found it originally, but you can use the following values with square brackets in the registry editor and the installer will fill in values at install:

 

[INSTALLDIR]

[Date]

[ProductName]

[ProductVersion]

 

I think these are msi installer properties.

 

 

 

Darren
Proven Zealot
Status changed to: Declined

Any idea that has received less than 9 kudos within 9 years after posting will be automatically declined.