LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW cannot locate some components necessary to build the installer - looking for "Setup" installer

Hi,

I have an application that has been upgraded to LabVIEW 8.  I have previously been able to build the exe and installer but recently the installer part of the build has been failing with the following error message:

Unable to locate the installer source for "Setup" distribution.
Locate the distribution and try again


The dialog includes a file path prompt that is pointing at the Installer\Volume directory where Installer is the target directory for the build.  The installer build is configured to span CD-sized volumes (650MB)

There are no sources or support files named anything like Setup that I can see.

The installer includes DaqMX and the LabVIEW 8 runtime engine as additional installers

The build works ok If I turn off the DaqMX driver installer

Cheers,
Brett Percy
Senior Software Development Engineer
Certified LabVIEW Architect and LabVIEW Champion
https://theLonelyAnt.com
https://GDevConANZ.org.au


Message 1 of 11
(6,147 Views)
Hey Brett!

It seems to be having some problems finding where the DAQmx installer is located, since you are able to build this without the driver option selected.  I might recommend uninstalling the DAQmx drivers, copy the installer to your computer, and install from that location.  This should take care of the issue since LabVIEW won't be looking for the distribution on a CD or the network.  If you don't want to go through the process of the uninstallation, you may be able to put the CD in the drive and point LabVIEW to that location when it is asking for the distribution. 

Let me know if you have any problems!
Andy F.
-----------------------------------------------------------------
National Instruments
0 Kudos
Message 2 of 11
(6,116 Views)
Hi Andy,

I've reinstalled the daqMX driver from a copy on my HD to no avail.

I forgot to mention that the installer path to the driver is pointing to this copy of the installer on my HD.

If I click on the folder icon in the error dialog and try to find the file/folder that the app builder is looking for, it seems to be looking for a *.id file

I've tried pointing it at the nidist.id file under the Installer/Volume directory as well as the one in the root of the copied driver CD directory (both disks) and it doesn't like any of them

Cheers,
Brett
Senior Software Development Engineer
Certified LabVIEW Architect and LabVIEW Champion
https://theLonelyAnt.com
https://GDevConANZ.org.au


Message 3 of 11
(6,106 Views)
Brett,

That is certainly odd.  When you say it doesn't like any of them, what does it do?  Do you point it to the ID file for DAQmx and then it just comes up with the dialog again?  I don't know why this would be the case since the drivers were installed from that location.  I do have a couple more things to try though.  I might suggest trying to download the drivers from ni.com and try a re-install using these drivers.  This should be the most up-to-date driver so maybe the upgrade will help.  There is also an option in the installer to run an EXE after the installer finishes, which you could use to run the DAQmx driver installer.  This isn't optimal I know, but could be a last resort. 

Let me know how it goes!
Andy F.
-----------------------------------------------------------------
National Instruments
0 Kudos
Message 4 of 11
(6,093 Views)
Hi Andy, The response to selecting one of the directories with the nidist.id file in (it is apparently looking for a directory, not the actual file) is a line of red text at the bottom of the dialog saying "Invalid location for "Setup.". (see attached file)


Senior Software Development Engineer
Certified LabVIEW Architect and LabVIEW Champion
https://theLonelyAnt.com
https://GDevConANZ.org.au


0 Kudos
Message 5 of 11
(6,080 Views)
 

Hey Brett,

Well I found this KB on our site and thought it might be helpful.  I also wanted to point out that 8.0.1 is available for download as well, but I don't think that this issue has been addressed.  It might be worth a try if nothing else works.  Let me know if you make any progress!

Thanks!
Andy F.

 

Message Edited by Andy F. on 03-17-2006 03:57 PM

-----------------------------------------------------------------
National Instruments
Message 6 of 11
(6,080 Views)
Hi Andy,

I've upgraded DAQmx to 8.0.1 and the installer build now works....sometimes.

And sometimes it gives me a different error:

CDK_Build_Invoke.vi.ProxyCaller >> CDK_Build_Invoke.vi >> CDK_Engine_Main.vi >> CDK_Engine_Build.vi >> NI_MDF.lvlib:MDFBuildDist_Build.vi


Loading product deployment information
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-DAQ 8.0.1' from: C:\Documents and Settings\brettper\Desktop\NIDAQ801\8.0.1\ to: C:\Documents and Settings\brettper\My Documents\Work\Deakin University\433 VuPlate Software Upgrade\builds\VUPlate\VuPlate Installer\
Copying distribution 'Setup' from: C:\Documents and Settings\brettper\My Documents\Work\Deakin University\433 VuPlate Software Upgrade\builds\VUPlate\VuPlate Installer\Volume\ to: C:\Documents and Settings\brettper\My Documents\Work\Deakin University\433 VuPlate Software Upgrade\builds\VUPlate\VuPlate Installer\
Building deployment
Copying setup files
Setting merged database information
Setting product information
Setting developer part information
Starting final build
Validating...
 
**************
*** Error: An internal tool or library returned an error. (Error code -21)
Error Messages
Input directory 'C:\Documents and Settings\brettper\My Documents\Work\Deakin University\433 VuPlate Software Upgrade\builds\VUPlate\VuPlate Installer\Volume\bin\p2' not found for part 'palSetupLVRT.msi' in product 'C:\Program Files\National Instruments\Shared\MDF\Manifests\NI-PAL for Phar Lap ETS {3263845B-95F2-43C0-817E-B7BF25BCB742}.xml'.
Input directory 'C:\Documents and Settings\brettper\My Documents\Work\Deakin University\433 VuPlate Software Upgrade\builds\VUPlate\VuPlate Installer\Volume\bin\p3' not found for part 'infInstaller.msi' in product 'C:\Program Files\National Instruments\Shared\MDF\Manifests\NI-DAQ INF Files {2146CF1A-5ACD-4A50-8B36-6A7DD095B08C}.xml'.

-- SNIP --

Input directory 'C:\Documents and Settings\brettper\My Documents\Work\Deakin University\433 VuPlate Software Upgrade\builds\VUPlate\VuPlate Installer\Volume\bin\p43\nilm' not found for part 'nilm.msi' in product 'C:\Program Files\National Instruments\Shared\MDF\Manifests\NI License Manager {FB6DF036-C3A7-4A89-92DA-B4364A8E9373}.xml'.
Input directory 'C:\Documents and Settings\brettper\My Documents\Work\Deakin University\433 VuPlate Software Upgrade\builds\VUPlate\VuPlate Installer\Volume\bin\p44\LVRealTimeErrorDialog' not found for part 'LVRealTimeErrorDialog.msi' in product 'C:\Program Files\National Instruments\Shared\MDF\Manifests\NI LabVIEW RT Error Dialog {3DFF45F7-C12C-4A3A-BA9E-1946A4E92424}.xml'.
Input directory 'C:\Documents and Settings\brettper\My Documents\Work\Deakin University\433 VuPlate Software Upgrade\builds\VUPlate\VuPlate Installer\Volume\bin\p45\LVBrokerAux800' not found for part 'LVBrokerAux80.msi' in product 'C:\Program Files\National Instruments\Shared\MDF\Manifests\Broker Aux 8.0 {88BBB9A9-C034-466E-BB83-8197AFD1669C}.xml'.

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

---

And underneath all this (in the Details of the Build Errors dialog) I get
"Visit the Request Support page at ni.com/ask to learn more about resolving this problem. Use the following information as a reference:"
followed by nothing...

So it's sort of working but not entirely reliable.  I think I've seen the path to the DAQmx installer in the Additional Installers tab replaced with the path into the installer build directory I was being prompted with earlier but I haven't been able to replicate this.


Senior Software Development Engineer
Certified LabVIEW Architect and LabVIEW Champion
https://theLonelyAnt.com
https://GDevConANZ.org.au


0 Kudos
Message 7 of 11
(6,051 Views)
Hey Brett,

Thanks for the log file.  It looks like it sometimes just can't find the DAQmx installer for some reason or another.  I too have seen the path reset when trying to set the path in the Additional Installers tab.  Usually the error that you see means it can't build the installer and to try again, but i know that this isn't a very good solution.  As I mentioned previously 8.0.1 is out, so you may consider that as an option.  The only thing that I might suggest trying would be to see if you can build an installer with any other driver, or if is just DAQmx that is causing the problem.   As a last resort you might just repair the installation of LabVIEW, just to make sure that everything is correctly installed, but I don't know if this would make any difference since you are able to occasionally build the installer. 

Let me know if you make any progress!
Andy F.
-----------------------------------------------------------------
National Instruments
0 Kudos
Message 8 of 11
(6,039 Views)

I am using Labview 8.20 and DAQmx 8.3, I am receiving the same error. I have located the DAQmx 8.3 xml file when I try to point to the folder I receive the following error.

If i have this addtional installer checked the installer fails to build. With DAQmx 8.3 unchecked the installer is built successfully. I need to include the DAQmx 8.3 installer for my application, how do I fix this.

Message Edited by AndrewAlford on 09-25-2006 01:27 PM

Andrew Alford
Production Test Engineering Technologist
Sustainable Energy Technologies
www.sustainableenergy.com
0 Kudos
Message 9 of 11
(5,622 Views)
Andrew,

That long alphanumeric looks like a registry key.  Have you tried searching your registry to see what that references?  I have a feeling it is going to be the location of the DAQmx driver.  Have you tried to uninstall the driver, copy the installer to the harddrive and then reinstall it from that location?  I would also try to see if changing the drop down menu selection from Full to Runtime helps.  Please let me know if any of these steps have any effect. 

Thanks!
Andy F.
-----------------------------------------------------------------
National Instruments
0 Kudos
Message 10 of 11
(5,597 Views)