LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

distribute VI with supported directory

Hi,
 
I want to know if Labview can generate a intallation application with supported directory. For example, I have \Resource and \Report in my development folder. Then I use application builder to build a stand-alone application. When I install the application to c:\Program file, I hope the installer application could also create \Resource and \Report at the same time. How can I do it? Thanks! 
0 Kudos
Message 1 of 8
(3,499 Views)
Yes you can do that. What is your LabVIEW version? (Around 8.0, the application builder changed significantly.)
0 Kudos
Message 2 of 8
(3,493 Views)
My Labview version is 7.1. Does it support?
0 Kudos
Message 3 of 8
(3,484 Views)
I have not tested it, but in the app builder tab "Source Files" there is a button called "Custom destinations".

After this button is pressed a new window will appear an allow you to change the destination directories for every file.

I can't say how the installer will handle these paths, you would have to try.


Regards,
André (CLA, CLED)
0 Kudos
Message 4 of 8
(3,468 Views)
Thanks! I tried it but this setting can only set up the installation file folder. After I install the application, all the files will go to \data this folder which is not I want.
0 Kudos
Message 5 of 8
(3,448 Views)
Admittedly, it's been awhile since I've built an application in LabVIEW 7.1. But to my knowledge, I believe you can specify Custom Destinations for specific source files in the Build Destination Settings Dialog Box.
 
From the LabVIEW Help:

Build Destination Settings Dialog Box

Click the Custom Destinations button on the Source Files tab of the Build Application or Shared Library (DLL) dialog box to display this dialog box.

Use this dialog box to configure the build destination settings for a stand-alone application or shared library.

This dialog box includes the following components:

  • Files in build—Lists files included in the build of the application or shared library.
  • Source file path—Shows the path to the file you select in the listbox.
  • Build destination—Lists the default build directory for the selected file. To change the location, enter in a path or use the Browse button to navigate to the new build destination.

Let me know if I've misunderstood what you are looking for.

Cheers,
Emilie K | Applications Engineer | National Instruments

0 Kudos
Message 6 of 8
(3,442 Views)

I know it is possible because I did this it myself. I created a "samples" folder that contain sample data files for the program tutorial.

Sorry, I can not you the exact steps because I no longer have access to LabVIEW 7.1.

0 Kudos
Message 7 of 8
(3,438 Views)
Thanks! I found the way to set up it. It should be in Installer setting tab, and click files... button to set up all the locations. Thanks for your help!
0 Kudos
Message 8 of 8
(3,432 Views)