LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error adding XControl to installer

When I try to add an XControl to my installation I get the error "The LabVIEW project library does not share a common path to disk with the files the project library owns."  The XControl and all its associated files are in the same directory and it is one directory under the main application project, but this should not matter.  I tried moving the .xctl file up one to the main directory, but got the same error.  Anyone have any ideas?
 
Thanks,
--Matt
0 Kudos
Message 1 of 9
(3,953 Views)
Hey Matt,
   The only documentation that I can find on that error deals with including variable libraries with installers.  Here's a KB that talks about it.  Are you sure that the XControl is causing the error?  Can you include it as a support file?
Brian B
Account Manager
National Instruments
0 Kudos
Message 2 of 9
(3,934 Views)
Brian,
  Yeah, I saw that KB item, but it did not seem to help.
  The problem seems to be the property node.  It may be that the problem only crops up when the property node is referenced by another vi in the installed project, but after removing it I still get the same error.
  I have included an XControl that does nothing except demonstrate the problem.
 
--Matt

Message Edited by mviele on 02-08-2007 10:25 PM

0 Kudos
Message 3 of 9
(3,930 Views)
Hey Matt,
    I was able to download your files, add them to a project, and build an installer with them just fine.  Are there some steps that I'm missing to reproduce this error?  All I did was add the .ctl and main VI to a project, then build the main VI into an exe, then into an installer.  It all worked fine for me.

Brian B
Account Manager
National Instruments
0 Kudos
Message 4 of 9
(3,913 Views)
Brian,
  Don't know why you did not get the error.  I have updated the attachment to include a project and an updated version of the test VI.  Try adding the .xcll to the included project in the install and see what you get.
 
Thanks,
--Matt
0 Kudos
Message 5 of 9
(3,910 Views)
Hey Matt,
    I used your project to try and add the .xctl to the installer, and encounter the same error that you do.  Is there a specific reason you want to add the .xctl to the installer?  It is included with the VI that you include it in.
Brian B
Account Manager
National Instruments
0 Kudos
Message 6 of 9
(3,899 Views)

Brian,

  I am distributing a toolkit that includes an executable and a number of VIs, Express VIs, and XControls.  I can wrap the XControls in a "source distribution" and add that to the installer, but the more steps in the final distribution after most of the testing the more likely something gets out the door wrong.  Looks like we will just have to hope for this in LV9.0.

 

Thanks,

--Matt

0 Kudos
Message 7 of 9
(3,896 Views)
Try to put the XControl inside one .llb file?

Ton
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
0 Kudos
Message 8 of 9
(3,893 Views)

I started out with everything nicely tucked in to .llbs.  I had the same problem, but nice idea. 

I also ran in to some other .llb problems trying to generate a source distribution, besides version control of individual files in an LLB is impossible, so I ended up pulling everything out of .llbs and putting them in to directories.

Thanks,

--Matt

0 Kudos
Message 9 of 9
(3,890 Views)