Distributing a LabWindows/CVI Application With the SQL Toolkit
Primary Software: LabWindows/CVI Add-ons>>Enterprise Connectivity Toolset
Primary Software Version: 1.1
Primary Software Fixed Version: N/A
Secondary Software: N/A
Problem: I am building a distribution kit in LabWindows/CVI for a program that uses the SQL toolkit. When I install my program on the target machine, everything but the SQL functions work fine. What do I need to do to include the SQL toolkit in my distribution kit?
Solution:
- Open the CVI workspace for your project
- Click on Build » Distributions » Edit <Name of Distribution>
- Click on the Files tab
- In the Local Files & Directories box, browse to C:\Program Files\National Instruments\CVI85\sql20\distsupp
- Click on the Add Contents button. This will create a folder named distsupp in the Installation Files & Directories box below with all of the contents of the distsupp folder included
- Select the newly created distsupp folder
- Right click on Distsupp.exe and select DistSupp.exe Options...
- Click the checkbox next to Lauch After Installation and type install in the Cmd Line Args box. Select Launch and wait for completion as the Launch style
- Right click in the empty area in the Installation Files & Directories box and select All Installation Locations » [System]. The [System] folder will now appear
- In the Local Files & Directories box at the top of the window, browse to C:\WINDOWS\System32
- Select the file named cvidb32.dll in the box at the top right and click Add File. This should put the cvidb32.dll file in the [System] folder
- Build the distribution. When you install the distribution on the target machine, it will install all of the needed SQL toolkit files at the end of the installation process
Related Links: LabWindows/CVI SQL Toolkit Reference Manual
Attachments:
Report Date: 12/04/2007
Last Updated: 12/04/2007
Document ID: 4G37GFPO