From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problems with Installer LabVIEW 2010 SP1

Hi,

 

I am trying to build an installer for an .exe using the project tool.  I can build the .exe, but I get the following error message when I try to build the installer:

 

CDK_Build_Invoke.vi.ProxyCaller >> CDK_Build_Invoke.vi >> CDK_Engine_Main.vi >> IB_MSI.lvclass:Build.vi >> IB_MSI.lvclass:Engine_Build.vi >> NI_MDF.lvlib:MDFBuildDist_Build.vi

Loading product deployment informationAdding files to installerDone adding filesPreparing to build deploymentCopying products from distributionsCopying distribution 'NI-Serial 3.7' from: C:\National Instruments Downloads\NI-Serial\3.7.0\ to: D:\workspace\swarm\trunk\LabVIEW\builds\SWARM Analysis Viewer v1.0.1\SWARM Analysis Viewer v1.0.1 Application Installer\Copying distribution 'sapphire_sw_packet_reader' from: D:\workspace\Sapphire GSE\LabView\LabVIEW 2009\source\builds\sapphire_sw_packet_reader\Sapphire Sub Window Packet Reader Installer\Volume\ to: D:\workspace\swarm\trunk\LabVIEW\builds\SWARM Analysis Viewer v1.0.1\SWARM Analysis Viewer v1.0.1 Application Installer\Building deploymentCopying setup filesSetting merged database informationSetting product informationSetting developer part informationStarting final buildValidating... ***************** Error: An internal tool or library returned an error. (Error code -21)Error MessagesInput directory 'C:\National Instruments Downloads\NI-Serial\3.7.0\Products\MDFSupport\MDF' not found for part 'MDFSupport.msi' in product 'C:\Program Files\National Instruments\Shared\MDF\Manifests\MDF Support {1814BD68-741C-429B-9EA7-C6D1385777C8}.xml'.Input directory 'C:\National Instruments Downloads\NI-Serial\3.7.0\Products\MDFSupport\MDF' not found for part 'EulaDepot.msi' in product 'C:\Program Files\National Instruments\Shared\MDF\Manifests\MDF Support {1814BD68-741C-429B-9EA7-C6D1385777C8}.xml'.Input directory 'D:\workspace\Sapphire GSE\LabView\LabVIEW 2009\source\builds\sapphire_sw_packet_reader\Sapphire Sub Window Packet Reader Installer\Volume\Products\LabVIEW_Web_Server_RTE_2010\LVRTEWebServer' not found for part 'NIWebServer_LVRTE.msi' in product 'C:\Program Files\National Instruments\Shared\MDF\Manifests\NI LabVIEW 2010 Run-Time Engine Web Server {DB68B420-5382-48EE-9A2A-CB984FEBB192}.xml'.Input directory 'D:\workspace\Sapphire GSE\LabView\LabVIEW 2009\source\builds\sapphire_sw_packet_reader\Sapphire Sub Window Packet Reader Installer\Volume\Products\LabVIEW_RT_NBFIFO_2010\LVRT_NBFifo' not found for part 'LVRT_NBFifo_2010.msi' in product 'C:\Program Files\National Instruments\Shared\MDF\Manifests\NI LabVIEW 2010 Real-Time NBFifo {2BC9B2CE-D569-4ADC-A8A0-170F2FD57139}.xml'.Input directory 'D:\workspace\Sapphire GSE\LabView\LabVIEW 2009\source\builds\sapphire_sw_packet_reader\Sapphire Sub Window Packet Reader Installer\Volume\Products\LabVIEW_SysStatePublisher_2010' not found for part 'NI_SysStatePub.msi' in product 'C:\Program Files\National Instruments\Shared\MDF\Manifests\NI System State Publisher {19F59734-0740-49E6-818D-53C1CA6B4ABE}.xml'.Input directory 'D:\workspace\Sapphire GSE\LabView\LabVIEW 2009\source\builds\sapphire_sw_packet_reader\Sapphire Sub Window Packet Reader Installer\Volume\Products\LabVIEW_SysStatePublisher_2010' not found for part 'NI_SysStatePub64.msi' in product 'C:\Program Files\National Instruments\Shared\MDF\Manifests\NI System State Publisher {19F59734-0740-49E6-818D-53C1CA6B4ABE}.xml'.
***************** Error Details:Error in MDF API function: _MDFBuildDist_BuildError List.\InputParser.cpp(255): IInstallerError 120Input directory 'C:\National Instruments Downloads\NI-Serial\3.7.0\Products\MDFSupport\MDF' not found for part 'MDFSupport.msi' in product 'C:\Program Files\National Instruments\Shared\MDF\Manifests\MDF Support {1814BD68-741C-429B-9EA7-C6D1385777C8}.xml'.While validating input parts.
.\InputParser.cpp(255): IInstallerError 120Input directory 'C:\National Instruments Downloads\NI-Serial\3.7.0\Products\MDFSupport\MDF' not found for part 'EulaDepot.msi' in product 'C:\Program Files\National Instruments\Shared\MDF\Manifests\MDF Support {1814BD68-741C-429B-9EA7-C6D1385777C8}.xml'.While validating input parts.
.\InputParser.cpp(255): IInstallerError 120Input directory 'D:\workspace\Sapphire GSE\LabView\LabVIEW 2009\source\builds\sapphire_sw_packet_reader\Sapphire Sub Window Packet Reader Installer\Volume\Products\LabVIEW_Web_Server_RTE_2010\LVRTEWebServer' not found for part 'NIWebServer_LVRTE.msi' in product 'C:\Program Files\National Instruments\Shared\MDF\Manifests\NI LabVIEW 2010 Run-Time Engine Web Server {DB68B420-5382-48EE-9A2A-CB984FEBB192}.xml'.While validating input parts.
.\InputParser.cpp(255): IInstallerError 120Input directory 'D:\workspace\Sapphire GSE\LabView\LabVIEW 2009\source\builds\sapphire_sw_packet_reader\Sapphire Sub Window Packet Reader Installer\Volume\Products\LabVIEW_RT_NBFIFO_2010\LVRT_NBFifo' not found for part 'LVRT_NBFifo_2010.msi' in product 'C:\Program Files\National Instruments\Shared\MDF\Manifests\NI LabVIEW 2010 Real-Time NBFifo {2BC9B2CE-D569-4ADC-A8A0-170F2FD57139}.xml'.While validating input parts.
.\InputParser.cpp(255): IInstallerError 120Input directory 'D:\workspace\Sapphire GSE\LabView\LabVIEW 2009\source\builds\sapphire_sw_packet_reader\Sapphire Sub Window Packet Reader Installer\Volume\Products\LabVIEW_SysStatePublisher_2010' not found for part 'NI_SysStatePub.msi' in product 'C:\Program Files\National Instruments\Shared\MDF\Manifests\NI System State Publisher {19F59734-0740-49E6-818D-53C1CA6B4ABE}.xml'.While validating input parts.
.\InputParser.cpp(255): IInstallerError 120Input directory 'D:\workspace\Sapphire GSE\LabView\LabVIEW 2009\source\builds\sapphire_sw_packet_reader\Sapphire Sub Window Packet Reader Installer\Volume\Products\LabVIEW_SysStatePublisher_2010' not found for part 'NI_SysStatePub64.msi' in product 'C:\Program Files\National Instruments\Shared\MDF\Manifests\NI System State Publisher {19F59734-0740-49E6-818D-53C1CA6B4ABE}.xml'.While validating input parts.

*** End Error Report************** Done building deployment

 

Any ideas?

 

Thanks.

 

Bob

0 Kudos
Message 1 of 5
(3,190 Views)

The installer build seems to be unable to find the following directory:

 

'C:\National InstrumentsDownloads\NI-Serial\3.7.0\Products\MDFSupport\MDF'

 

Can you browse to this directory using the Windows Explorer, or is this not present on your system anymore?

Message 2 of 5
(3,170 Views)

CDK_Build_Invoke.vi.ProxyCaller >> CDK_Build_Invoke.vi >> CDK_Engine_Main.vi >> IB_MSI.lvclass:Build.vi >> IB_MSI.lvclass:Engine_Build.vi >> NI_MDF.lvlib:MDFBuildDist_Build.vi Loading product deployment information Adding files to installer Done adding files Preparing to build deployment Copying products from distributions Building deployment Copying setup files Setting merged database information Setting product information Setting developer part information Starting final build Validating... Copying files... Updating files... Creating merged database... ************** *** Error: Windows SDK function returned an error. (Error code -12) ************** *** Error Details: Error in MDF API function: _MDFBuildDist_Build ERROR: Caught Windows Error: The operation completed successfully. Unable to CreateFile for MSI ReadStream target file *** End Error Report ************** Done building deployment

I have same errors, plz see above, can anyone help?
MJ
0 Kudos
Message 3 of 5
(3,083 Views)

I had a corrupted installation due to a computer crash that happened around the same time.  I fixed my problems by removing LabVIEW and reinstalling from scratch.  🙂

 

Bob

Message 4 of 5
(3,077 Views)

Yes I fixed my problem as well, after I hook up the called dll file with my project file.

 

Cheers

MJ
0 Kudos
Message 5 of 5
(3,072 Views)