09-16-2009 11:45 AM
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.
Solved! Go to Solution.
09-16-2009 03:07 PM - edited 09-16-2009 03:09 PM
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
09-16-2009 03:29 PM
09-17-2009 01:07 PM
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.
09-17-2009 04:19 PM
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
09-17-2009 06:00 PM
Hi Mert.
That did it.
Thanks,
you've been a great help.
09-18-2009 02:19 PM
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.
09-19-2009 07:37 AM
09-23-2009 02:28 AM
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.
09-23-2009 05:22 AM
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, 😉