LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Registry key with Installer

Solved!
Go to solution

I know that the subject was already posted but not completed for my case, somebody could help me on this problem, please? Previous post

 

Thanks.

0 Kudos
Message 1 of 4
(3,168 Views)

J.DECHET wrote:

I know that the subject was already posted but not completed for my case, somebody could help me on this problem, please? Previous post

 

Thanks.


Have you tried to create a registry key with [TARGETDIR]\\<Your app name> in the installer? The whole installer business is after all based on MSI so you best try to find how that would be solved in MSI and try then to apply that knowledge in LabVIEW.

 

And reading through one of the posts it would seem to me that this suggestion was already sort of linked to in one of the posts. If this can't be made to work in this way then I'm afraid there won't exist another solution directly in the installer, but I do think it will work.

Message Edited by rolfk on 12-29-2009 10:55 AM
Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
Message 2 of 4
(3,141 Views)
Solution
Accepted by topic author J.DECHET

Yeeeeeeeeeeeeeeee, find!

 

You must use [INSTALLDIR] as root of key data.

 

[INSTALLDIR] corresponds to the user selcted path for installation.

 

Create your key AppPath then name it [INSTALLDIR]AppFolder\AppSubFolder

where AppFolder and AppSubFolder is your relative path

 

Warning : No '\' between [INSTALLDIR] and AppFolder

 

In fact, I tested it at first with {} instead of [] so, it didn't work Smiley Mad

 

Note : [TARGETDIR] is a more general path

 

Thanks to rolfk.

Message Edité par J.DECHET le 12-29-2009 12:32 PM
Could I suggest it as solution or is only reserved for moderator?
Message Edité par J.DECHET le 12-29-2009 12:35 PM
0 Kudos
Message 3 of 4
(3,124 Views)
You are the one that decides whether it is a solution to your question, so go ahead and mark it as such if it solved your problem.
Putnam
Certified LabVIEW Developer

Senior Test Engineer North Shore Technology, Inc.
Currently using LV 2012-LabVIEW 2018, RT8.5


LabVIEW Champion



0 Kudos
Message 4 of 4
(3,100 Views)