05-09-2007 05:12 PM
05-09-2007 06:20 PM
10-29-2008 09:46 AM - edited 10-29-2008 09:48 AM
I've been hunting the Lab Windows CVI Help, this forum, and the Edit Installer for building a distribution (using Lab Windows CVI 8.5.1), and this post hinted how to do what I've been looking for.
I'm thinking something needs to be added to Help in CVI.
I have an app from CVI 6.0 that I'm now using with CVI 8.5 and when I create the distribution kit it creates it to install to C:\Documents and Settings\<username>/Start Menu\Program\<MyApp>
this was very frustrating and I could not find anything on changing this.
There is no documentation on it.
The mentioning of "Group Destination" and details that follow from Mert hinted at some setting that I was not finding.
In the Edit Installer panel, the lower left window I noticed (after too much looking and not finding it) the directories to install.
Mine had the install going to [Start>>Programs] ------ which seems a ridiculous install location -- but perhaps this is set goofy-ly because I ported my app from CVI 6.0.
But, there was no other setting there to change it to, and no obvious way to change it.
I stumbled upon the right mouse click in that window, and it displayed the option "All Install Locations"
When I clicked that, there was an option to select "[Program Files]".
When I did that ... WOW ... it displayed the Program Files option, and I was then able to easily move my install files (drag and drop) to the right location.
Aside from my frustration at not being able to find documentation on this, I hope someone else having this problem can quickly find this by searching and from my description figure out how to do this quicker than I did.
10-29-2008 10:17 AM
Ken,
The references to "Group Destination" and so forth are specific to pre-8.0 CVI. The original poster was using CVI 7.1. As far as not finding information, the UI and options of the distribution editor are fairly well documented in the CVI help. In the Edit Installer dialog, if you click the Help button, it will bring up the relevant help for that tab. For the Files tab, this includes explanation of the various UI elements, including what's in the right click menus. I'd recommend giving it a look, as you'll probably find some things you didn't know about.
[Start>>Programs] is not a terribly common directory for installing files, but it is very common for shortcuts. Any directories specified on the Shortcuts tab will be displayed on the Files tab, which is also the only place you can specify a new subdirectory. That is, if you want a shortcut in [Start>>Programs]\MyApp, you must set up that MyApp subdirectory in the Files tab before it you can use it in the Shortcuts tab.
I'm not sure why all your files ended up under [Start>>Programs]\MyApp initially. Could you post your .prj file? That file will still contain the original 6.0 distribution settings, so I can try to see what went wrong.
Thanks.
Mert A.
National Instruments
10-29-2008 10:34 AM
Thanks Mert.
I did find the help, but I think I originally was looking at Help from the General tab and browsed from there, and didn't get to the place the help goes when you open it from the Files tab.
Can you let me know an e-mail address or some place to send my prj file, rather than posting to the forums?
Thanks
10-29-2008 10:56 AM
You can point an explorer window, internet browser, or other ftp client to ftp://ftp.ni.com/incoming/ and post the file there. It's not publicly readable.