LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

building distribution is missing parts

Solved!
Go to solution

I am using Labwindows CVI 2012 on Windows 7x64

I want to build a distribution that needs my exe-file, CVI shared runtime engine, and NI variable engine.

I have the CVI full development distribution from a download, unzipped on my local harddisk in C:\Archive\NationalInstriuments\LabWindows\CVI_2012.

 

The first time that I start to build the distribution, it asks where it can find some extra's from DVD. This is solved after referring to the above unzipped subdirectory.

Later on during building and with all repeated tries, building starts but aborts after some action with an error log. In the error log, it reports that it is missing some parts for mxs.msi and for mxs64.msi. It seems that it looks in the wrong subdirectory that does not exist on my harddisk: C:\Archive\NationalInstruments\Common\Products (The error log has been added).

The building has made a subdirectory with a setup.exe and a bin-subdirectory with some content. But trying this reports errors (as to be expected after build error).

 

Q: How can I solve this ?

Can I update a line in a text file where these path are defined ?

Can I add a subdirectory on my harddrive ... and which files/tree do I have to put in it ?

Do you know another work-around ?

 

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

P.S.

Making a subdirectory where the builder looks for (C:\Archive\NationalInstruments\Common) and copying into that the full subdirectory "Products" from the inzipped CVI installation does not help. This gives the same abort and the same error logfile.

I am not sure if I should have expected any results, because I do not see any subdirectories "p5" or "p8" or "p9" as reported in this error logfile.

0 Kudos
Message 2 of 4
(4,572 Views)

P.P.S.

NI Variable Engine seems part of the problem

 

I tried the build a distribution for a different exe. This works until I added the NI Variable Engine in the tab for Drivers&Components. I need this because the distributed program will use network variable to export meausurement data.

I have searched if I can install this engine seperately. But the messages I found in this forum, all refer to a Distribution as the way to do this.

 

Ergo: do yoy know how to set/repair the build, or do you know how to install the Variable Engine without building a distribution ?

0 Kudos
Message 3 of 4
(4,558 Views)
Solution
Accepted by topic author JGS

P.P.P.S.

It is working (today).

I do not know which (single or multiple) action did solve my problems. I found communication about Variable Engine, building error, and cached products. So I tried plenty, lost track of sequences, but finished with a working labwindows after:

- run application as Administrator (on top of admin rights)

- rename Manifest-file and ProductCache-subdirectory for NI Variable Engine

- Labwindows build setup shows possibility to select source for this component

 

Possible corrupt cache information or corrupt cached product. Possible problems with write access to Program Files (x86). Possible conflict with update of any dependent drivers..... So it can happen again. And it is working today.

Therore for NI: please consider the pros and contras of a button to re-read cached product (with abort when source cannot be found).

 

Thanks everybody for reading (although not solving) the messages. Jos

0 Kudos
Message 4 of 4
(4,505 Views)