10-15-2010 02:10 AM
When you configure a Distribution kit, in the "Drivers & Components" tab you can select or deselect a lot of different components.
On the right side there is a box called "Component Source" where you can see the path of every component.
Below the path there is a "Change Source..." button which you can use to change the path. If I'm right this button is dimmed for every path inside C:\ drive, and so you can only change the source of components loaded from different drives (D:\, E:\, ...)
Unfortunately this gives me a lot of problems: some days ago I loaded one of the components from another CVI installer I had created, and saved in C:\ drive, and I select "Cache for future builds". I thought that with this options CVI would have copied this component to a "cache" location, so I deleted the original installer.
Since that moment, CVI has been asking me for that specific installer, and I can't change the source anymore (the button is dimmed for C:\ paths). I tried to use that component out of the installer, but CVI only searches for the whole installer.
I also noticed that the process of creating an installer needs a lot of improvement: one of the most problematic situations is when you move a whole project (source files, additional files, folders, ...) from a developing PC to another. You must be very lucky to rebuild the installer without errors....
I think that if you move a whole project to a different machine you should be able to rebuild the installer;
if some files or components are missing, you should be notified with meaningful and clear messages.
If all the components are actually installed to a different location, it must be possible to change the paths...
When a component is cached, it should be copied into a CVI cache location, even if it has been loaded from somewhere in c:\
What do you tink about this issues?
05-10-2012 01:17 AM
The problem with "Cache for future builds" hasn't been fixed yet in CVI 2010 SP1!
Moreover I found another annoying issue:
could you fix this issue, please?
05-11-2012 04:44 PM
When you cache a component, it creates an copy in C:\Program Files (x86)\National Instruments\Shared\ProductCache. This is the reason for the dimmed path, it is not related to the drive that the installer is stored on. Some components are dimmed because an equivalent of a cached installer already exists in some other location (e.g. 3D Graph Control Support).
Do you have a directory for IVI or for the component in your original post at that location? If so, remove the corresponding directory (keep a backup just in case) and then restart the Edit Installer dialog. The Change Source option should no longer be dimmed.
05-14-2012 01:48 AM
Hi D.
on my Win 7 machine most of the components are cached into C:\ProgramData\National Instruments\MDF\ProductCache.
Only few components (for example the run time engines) are cached into C:\Program Files (x86)\National Instruments\Shared\ProductCache
I solved my problem deleting the folder C:\ProgramData\National Instruments\MDF\ProductCache and then restarting Edit Installer dialog.
So I checked "cache for future builds" and now everything is OK.