LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Project Installer Does not maintain Registry value if tag already exists

Solved!
Go to solution

Looking to "update" registry keys upon running installer if keys already exist. 

When creating installer, local machine keys can be created and unlocked as seen below.

 

This allows an application to read and write these specific local machine keys without administrator rights.

However, when the installer runs and the keys ready exist/are filled, the keys are cleared. 

Is there any way to maintain the original key value if they already exist? 

Looking for either a VI/EXE to run after the installer to rectify the values, or a solution as per below link to only create non-existing registry keys. 

https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019VtxSAE&l=nl-NL

0 Kudos
Message 1 of 4
(1,121 Views)

Maybe I should elaborate.

When deploying a installer, it will create registry key upon installation.

If these keys already exist, however, the keys will be overwritten instead of skipped.

 

Is there a way for the installer to skip the registry keys if they already exist, so leaving the current key value in tact?

Either by altering the installer or by running a VI upon installation.

0 Kudos
Message 2 of 4
(1,069 Views)
Solution
Accepted by topic author Rubenske1

Hi,

Here You can find a link, it might be useful for You. 

0 Kudos
Message 3 of 4
(1,064 Views)
Solution
Accepted by topic author Rubenske1

Thanks for your reply!

 

So it appears that it is impossible to achieve the result I require with the build-in installer (creator) of labVIEW.

Case Closed!

0 Kudos
Message 4 of 4
(1,050 Views)