|
Normally you have to distribute UIR fiels side by side with an executable. Instead, you can embed it directly into your executable and use just a single file to distribute your project, as most Windows users are accustomed to. Simply check the "Embed project UIRs" box in menu Build>Target Settings... on the project window.
Here is an excerpt from the offical help text: "Embeds .uir files into the executable. Enabling this option allows you to ship only the executable, instead of including the .uir files also. Make sure that you include all .uir files loaded through LoadPanel or LoadPanelEx in your project if you want to ship only the executable file. If you pass an absolute filename to LoadPanel or LoadPanelEx, the function will always look on disk for the .uir file. If you pass a simple filename, LoadPanel or LoadPanelEx will look first for an embedded .uir"
I know this feature is available in 8.0.1 (and later) but not in CVI 6.0. I do not know about 7.x versions.
Submitted by ebalci
Original forum post: http://forums.ni.com/ni/board/message?board.id=180&message.id=33989#M33989
There are no comments on this document