NI Home > Community > NI Discussion Forums

LabWindows/CVI Idea Exchange

Showing results for 
Search instead for 
Do you mean 
Announcements
The NI Idea Exchange is a product feedback forum where NI R&D and users work together to submit ideas, collaborate on their development, and vote for the ones they like best. View all of the NI Idea Exchanges to post an idea or add your opinion on an existing one today!
vix

Specify the configuration to include into installer

Status: New
by Active Participant vix on ‎12-12-2011 01:14 AM

Using CVI 2010 you can create different Custom Configurations

But I think that if a developer creates a new Custom Configuration (debug or release, x86 or x64), he wants to distribute it to a target machine. I don't create a Custom Configuration to have it run on my developer machine!

I've already asked to NI Support, and this can't be done in an automatic way.

 

So I suggest a new feature in the "Edit Installer" window to specify which Configuration (Default or Custom) to include into the installer (see attachments)

Status: New
Comments
by Active Participant LuisG on ‎12-15-2011 02:22 PM

Hi vix,

 

Any custom configuration that you create should appear in the Edit Installer dialog. The only caveat is that it must be a release configuration. For example, I added a "MyConfig" custom configuration to the WebBrowser example program, and this is what the Files tab in the Edit Installer dialog looks like:

 

webbrowser.png

 

My guess is that your "collaudo" custom configuration is a debug configuration and this is probably why it's not showing up for you.

 

There is no automatic inclusion of debug targets in the installer. However, you can always add them manually, which you should only need to do once, by browsing to the actual file on disk, using the "Local Files & Directories" tree.

 

Luis

by Active Participant LuisG on ‎12-15-2011 02:23 PM
Status changed to: New
 
by Active Participant vix on ‎12-20-2011 06:11 AM

Hi Luis,

you're right: mi "collaudo" custom configuration is a debug one.

And I wrote this suggestion because I'd like an automatic way to include debug configurations into the installer.

I know I can do it manually, but if you do this the absolute path of the exe is used, and if you move the project folder you won't be able to create the installer anymore...

by Active Participant LuisG on ‎12-20-2011 03:25 PM

Hi vix,

 

You bring up a good point about how when you move the project, you lose the absolute path of the file that you added to the installer. However, there's actually a simple fix for that: if you add the target file of your debug configuration to the project itself (I know it seems odd to add an .exe to the project, but it's really quite harmless), then the path will be preserved, since CVI preserves the relative paths of all files in your that are included in the project.

 

Once the file is in the project, you can add it to the installer by either browing to it under the My Computer node or, more directly, by expanding the Project Files node.

 

I realize this is not quite the solution you're looking for. But until and unless we add automatic inclusion of debug targets to the installer tool, this is at least a workaround.

 

Luis

About LabWindows/CVI Idea Exchange

Do you have a feature idea for how to improve LabWindows/CVI? Submit and vote on ideas now!
  1. Browse by label or search in the LabWindows/CVI Idea Exchange to see if your idea has previously been submitted. If your idea exists, be sure to vote for the idea by giving it kudos to indicate your approval!
  2. If your idea has not been submitted click New Idea to submit a product idea. You should submit a separate post for each idea. Watch as the community gives your idea kudos and adds their input.
  3. Give kudos to other ideas that you would like to see implemented!
  4. NI R&D will review ideas that have been submitted and update the status.

Note: the LabWindows/CVI Idea Exchange is not the appropriate forum to submit technical support questions.

The LabWindows/CVI R&D team is committed to reviewing every idea submitted via the LabWindows/CVI Idea Exchange. However, we cannot guarantee the implementation of any LabWindows/CVI Idea Exchange submission.

Top Kudoed Authors
User Kudos Count
5
2
1
1
1