NI Package Manager (NIPM)

cancel
Showing results for 
Search instead for 
Did you mean: 

Identifying installation destination

Solved!
Go to solution

Hi!

 

Is there a way of identifying installaton destination using NIPM after the package has been installed? Say.... I want to know where a certain package has been installed to?

 

Cheers

Oli

0 Kudos
Message 1 of 4
(271 Views)

Oli, a package can specify files that install to many location. More specifically, a file in a File package specifies any of the target roots supported. A file in an WinInst package is installed by an MSI. Many of the target roots are what NI calls NIPaths which correspond to locations specified by registry keys. NIPM tracks whether a package is installed. NIPM does track in a database both the WinInst and File packages that have been installed, and where files from File packages were installed so that they can be uninstalled when required, but that information is not exposed to end-users via any API. NIPM relies on the MSI Engine and its caching to know where WinInst files were installed.

 

Can you give more details about what you are trying to do?

Scott Richardson
0 Kudos
Message 2 of 4
(246 Views)

Hi Scott,

 

in this particular case, I am trying to find out, where the LabVIEW Runtime Engines are installed to.

 

Cheers

Oli

0 Kudos
Message 3 of 4
(233 Views)
Solution
Accepted by topic author Oli_Wachno

You can use these registry keys to determine this (and parallel registry keys in the 64-bit registry for the 64-bit run-time):

WesW_0-1708623386937.png

 

Message 4 of 4
(222 Views)