From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Copying folders with Application builed installer

Solved!
Go to solution

Hello,

As I near to finish the project I want to build an installer.

Is there a way for the installer to save folders which are not under the project and copy them while installing the project to an another foler?

Thanks!

Gil,

0 Kudos
Message 1 of 6
(1,037 Views)

When you build the application (not the installer) in the "Source Files" section of the build properties you can select files or entire directories to be included in the "Always Include" box beneath the Startup VIs box.

 

 

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 2 of 6
(1,023 Views)

Thanks for the prompt reply.

In the source files I only see files and folders that reside under the project.

The files that I want to copy are in an another folder on the HD.

Thanks!

Gil,

0 Kudos
Message 3 of 6
(989 Views)
Solution
Accepted by gilmaor1

@gilmaor1 wrote:

Thanks for the prompt reply.

In the source files I only see files and folders that reside under the project.

The files that I want to copy are in an another folder on the HD.


Yes. Simply add those files and folders to your project tree into a Virtual folder called Resources, Installer Files or whatever else you would like. Maintain For this virtual folder the structure in the project tree as you want to have in the Installer. The LabVIEW project does not dictate to you that you can only put VI files in it.

 

They are after all a required part of your project to create the final installation files.

Rolf Kalbermatter
My Blog
0 Kudos
Message 4 of 6
(986 Views)

Thanks!

That solves it.

GIl

0 Kudos
Message 5 of 6
(966 Views)

Put the directory or files you want to include in the Always Include box in the Executable build specifications.

b1.PNG 

 

Then when you build your Installer the files or directory will be included

b2.PNG

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 6 of 6
(946 Views)