01-28-2010 07:18 PM
I just got LabVIEW proffesional and am trying to make my first installer in odrer to run my application on another computer and am having some difficulty. So far I have organized my project in the Project Explorer and created an exe that will run on the devlopment computer, and now I want to get it on another computer. I need the Run-Time Engine, as well as other applications (which is where my main problem is), to run my application on a new computer, and the way to do this is by creating an installer, right?
My issue is that I do not know which Additional Installers I need to include in my installer. Right now I am only including "NI LabVIEW Run-Time Engine 8.6.4" and can open my program, but it does not work fully because I need other applications. It is hard to know which additional installers I need and what version I should use. Many different versions of LabVIEW and FieldPoint have been installed on this computer from various CDs and network locations so there are many "Installer Source Locations" that don't exist anymore.
I think, at a minimum, I need two additional installers: one for VISA and one for FieldPoint.
VISA:
I read and write to COM ports and use VIs like VISA Configure Serial Port, VISA read, and VISA write. Do I only nee NI-VISA Runtime or should I be using something else? There are a few different versions and I don't know which one is actually used, does it matter which one is included in the installer?
FieldPoint:
I also read and write to FieldPoint hardware using the VIs FP Read and FP Write. I think this means I need NI-FieldPoint for LabVIEW Real-Time. Is there anything special required to read the configuration files (.iak)?
Assuming I am correct in knowing I need to include these two additional installers, the real problem is that when I try to make the installer, it asks for the discs which I don't have. The installation files are all on our network, but I can't figure out how to tell the installer how to get them from there. How do I point the installer to right location without is asking for discs?
Thank you for any help,
Chris
01-28-2010 10:25 PM
There is thread related to this somewhere in this forum or in LAVA. serach for them
And i do think that its necessary to have the CD (DVD) that the application builder asks while creating the application (once the exact path located application builder will maintain the some in some local cache so that you dont have to locate or insert the cd next time)
01-28-2010 11:22 PM
cbrackert wrote:
My issue is that I do not know which Additional Installers I need to include in my installer. Right now I am only including "NI LabVIEW Run-Time Engine 8.6.4" and can open my program,
There is no LabVIEW Run-Time Engine 8.6.4. Do you mean 8.6.1?
VISA: Yes, you need to install NI-VISA. The target machine requires only the VISA Run-Time.
FieldPoint: Yes, you need to install NI-FieldPoint on the target machine.
As for versions: MAX will tell you what versions of software you are currently using, so the safest versions to install are the same ones you developed with. If you are having trouble getting the installers you can download them from NI's site.
02-09-2010 07:30 PM
I meant 8.6.1, sorry about the typo.
The problem I am still having is that even if I download the installers (or try to use the ones on our network), I don' know how to set the "Installer Source Location" to these files. When I select "Build" I am asked if I have the CDs and I want to be ablie to use the downloaded installers instead.
I tried reinstalling NI-VISA Runtime 4.5 from my work's network so now the "Installer Source Location" is a directory on the network. It still asks me I have the CDs, and if I click yes, the following Build Errors box opens almost immediately:
CDK_Build_Invoke.vi.ProxyCaller >> CDK_Build_Invoke.vi >> CDK_Engine_Main.vi >> CDK_Engine_Build.vi >> NI_MDF.lvlib:MDFDistCopyList_CopyItem.vi
Loading product deployment information
Loading product deployment information
Loading product deployment information
Loading product deployment information
Adding files to installer
Done adding files
Preparing to build deployment
Copying products from distributions
Copying distribution 'NI-VISA Runtime 4.5' from: \\aerolabview\LabVIEW\LabVIEW 2009\DriverDVD\Products\NI-VISA_Runtime\ to: C:\PPG\installer\PPG\
**************
*** Error: Windows SDK function returned an error. (Error code -12)
The system cannot find the path specified.
*** End Error Report
**************
Done building deployment