LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Application Builder: Additional Installers Source Location

I am having trouble creating an installer for my application. I can build the installer when I only inculde the NI LabVIEW Run-Time Engine, but I also need NI-FieldPoint for LabVIEW Real-Time and NI-VISA Runtime. When I try to include these I run into problems.

 

I think the problem is that I installed some of these from the discs, but now my company has an installer on the network that I have used as well, so now I don't have the discs. Is there a way to change the Installer Source Location in the Installer Properties? When I try to build the installer I am asked if I have the discs, but I do not. I want to be able to get the installers from my company's network or maybe I can download them from ni.com and have them on my computer, but I need to know how to change the Installer Source Location.

 

I reinstalled NI-VISA Runtime from my company's network and the Installer Source Location changed to the network location (which is what I thought I wanted), but it still asks for CDs and if I click throught I get the following errors: 

 

 

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

Loading product deployment information

Loading product deployment information

 

**************

*** Error: An internal error occurred for which the cause is unknown. (Error code -41)

*** End Error Report

**************

 

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

 

 

0 Kudos
Message 1 of 7
(4,584 Views)

Now I am getting this error:

 

 

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

Adding files to installer

Done adding files

Preparing to build deployment

Copying products from distributions

Copying distribution 'FieldPoint 6.0.1' from: C:\Documents and Settings\Administrator\Desktop\FIELDPOINT_601_20080201_final\ to: C:\PPG\installer\PPG\

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

 

 

0 Kudos
Message 2 of 7
(4,567 Views)
What does the first line of the error mean?
0 Kudos
Message 3 of 7
(4,566 Views)

From your description of the problem, it sounds like the Installer Builder *thinks* you really do have all the parts you need cached locally on the system (or available elsewhere), but then fails when it tries to copy one of the parts. Changing the Installer Source Location is possible, but only after we've checked and determined the part is not cached locally or currently available on disc or network share. At that point, we should have prompted you with a dialog asking from the media. This prompt includes a browse button allowing you to select an alternative source location, but it sounds like you're not getting to that state.

 

Why that process isn't happening, I'm not sure. But there should be a log file that might tell us more. Check in your Windows temp directory (start >> run >> %temp%) and look for a .log file matching the name of your Installer build specification. There will probably be two: a *_edit.log and a *_build.log. Grab the build log and attach it to this thread. I'll see what I can do.

 

Bob

0 Kudos
Message 4 of 7
(4,530 Views)

Hi Bob, 

 

My most recent attempt gave me this error immediately after clicking Yes on the Distribution Needed window.  I was never prompter for anything after clicking Yes:

 

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 

 

CDK_Item_OnDoProperties.vi.ProxyCaller >> CDK_Item_OnDoProperties.vi >> CDK_InstallerConfiguration_Editor.vi >> 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

 

**************

*** Abort requested.

**************

 

Done building deployment

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 'FieldPoint 6.0.1' from: C:\Documents and Settings\Administrator\Desktop\FIELDPOINT_601_20080201_final\ to: C:\PPG\installer\PPG\

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

 

 --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

 

 

When I build the application, I get a lvapp.lib.tmp file in the temp directory, but I get no new temp files when I try to build the installer.

 

I would also like to point out that if if I uncheck FieldPoint 6.0.1 from the Additional Installers, and select either FieldPoint 6.0 or FieldPoint 6.0.3 (which are other optiions that show up in the list), I still get the same error as above that references 6.0.1

 

-Chris 

0 Kudos
Message 5 of 7
(4,503 Views)

Hi Bob,

 

Is it possible to change the Installer source location?

 

Please let me know the procedure to do the same.

 

Thanks,

Suresh

0 Kudos
Message 6 of 7
(3,792 Views)

It is possible, but Installer Builder has to discover the product is missing first and then prompt you to locate the new location. From an earlier comment I made in this thread:

 

Changing the Installer Source Location is possible, but only after we've checked and determined the part is not cached locally or currently available on disc or network share. At that point, we should have prompted you with a dialog asking from the media. This prompt includes a browse button allowing you to select an alternative source location, but it sounds like you're not getting to that state.

 

LabVIEW 2011 Installer Builder includes an option to "Copy selected installers to this computer before building". When that option is checked (on the Additional Installers page), you will be prompted after clicking OK in the Installer Builder editor dialog. This option will verify your installers are present and prompt you if any are missing, allowing you to change the source location.

0 Kudos
Message 7 of 7
(3,776 Views)