LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

building distribution - Copy file into a folder

Solved!
Go to solution

How do I configure the Distribution Manager to place a file into a folder?

 

I want to place fce32.dll into the WINDOWS folder.

I can include the file but I am not sure how to get the installer to place it in the WINDOWS folder.

Windows XP, CVI 9.0

 

Thanks.

0 Kudos
Message 1 of 15
(4,593 Views)

You just have to add the [Windows] root install location to the directory tree, select it, then add fce32.dll to the right-hand (files) side of the browser. All the root install locations are accessible from the right click menu.

 

Mert A.

National Instruments

 

 

 install.jpg

Message Edited by Mert A. on 09-16-2009 03:09 PM
0 Kudos
Message 2 of 15
(4,582 Views)
Solution
Accepted by NI Nubie
Thanks Mert, that's what I needed!
0 Kudos
Message 3 of 15
(4,575 Views)

Hi Mert.

 

I now need to create a folders for log and report files.

Can this be done?

 

C:\CCU\Logs

C:\CCU\Reports-xls

C:\CCU\Reports-pdf

 

The options do not allow me to choose a custom folder that is not a systems folder.

I tried creating readme.txt files in each folder to help create them but did not work.

 

Thanks.

0 Kudos
Message 4 of 15
(4,548 Views)

Distributions built with CVI do not have the ability to create empty directories. If you want to install some files to directories like those listed below, you can use the [Windows Volume] base location as your root, then build up your subdirectories (e.g. [Windows Volume]\CCU\Logs, etc.) by repeatedly selecting "New Subdirectory" from the right-click menu. Note that [Windows Volume] may not always resolve to "C:\" -- it will resolve to whatever drive Windows is installed on.

 

However, if you have an application that creates logs or report, the application should be able create the directories it needs before it writes the files out.

 

Mert A.

National Instruments

0 Kudos
Message 5 of 15
(4,538 Views)

Hi Mert.

 

That did it.

 

Thanks,

you've been a great help.

0 Kudos
Message 6 of 15
(4,535 Views)

Hi Mert.

 

I have a question for you regarding the uir file.

 

The uir file is added to the distribution as a separate file.

For revision control we would normally add details in the file name, however, the automatically created header file (from the uir file) is used as #includes to all files accessing information about the uir file not to mention the opening of the main panel.

 

It would be undesirable to name it with revision info as each above mentioned file would have to be touced to change the name.

 

Has anyone else encountered this and how did they handle it?

 

Thanks.

0 Kudos
Message 7 of 15
(4,521 Views)
Could this item be solved by embeddding UIRs into the executable? This is an option during creation of the executable and prevents you from distributing the UIR files together with the exe.


Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 8 of 15
(4,501 Views)

Hi Roberto.

 

Yes, that worked.

 

I now have an entry in my build manager the relates to rev1.

I made changes and now have rev2.

I want to make a new entry in the build manager that is a copy of the one I used to make rev1.

I can only make a new one but I need all the same files and folder setting as the old one.

Is there a way to do this? The new entry has no file or folder settings.

 

Thanks.

0 Kudos
Message 9 of 15
(4,451 Views)

Hi Nubie,

 

The "solution" to your question is what Mert provided, not your "thank you" post.

For the sake of healthy forum statistics mark the "answer" that solves your problem, not your own messages.

 

Take care,  😉

S. Eren BALCI
IMESTEK
0 Kudos
Message 10 of 15
(4,442 Views)