01-10-2011 03:09 AM
Hi,
when building an installer of an application I made I get the errormessage listed below (it's in german but the important point can easily be extracted).
The point is: It seems like the builder can't allocate NI-DAQmx 8.8 - which makes sense since it is not installed on my machine. What I don't get is why it tries to include that NI-DAQmx 8.8 in the first place. In the additional installers tab of the installer properties I checked the box for NI-DAQmx 8.5 which is the one installed on the PC. NI-DAQmx 8.8 isn't even listed there. One explanation could be the fact that NI-DAQmx 8.8 was once installed on my PC - but I uninstalled all NI software completely and reinstalled LabVIEW.
Also when I uninstall LV and reinstall it the installer can be built again, but after some time (one day at most) it fails to build again. I haden't made any changes to the LV installation or the build specification meanwhile, but only to the code/vis.
A final note: The obvious fix is to try and install NI-DAQmx 8.8 - and indeed that does let me build the installer. Unfortunately that is not an option because of other issues, it has to work with a plain LV 8.2 installation
Regards
Florian
CDK_Build_Invoke.vi.ProxyCaller >> CDK_Build_Invoke.vi >> CDK_Engine_Main.vi >> CDK_Engine_Build.vi >> CDK_Engine_PromptForMissingDist.vi
Laden der Produktdistributionsinformation
**************
*** Fehler: Interner Fehler. (Fehlercode -40)
Beim Lesen der Information über die Quellendistribution trat ein Fehler bei Produkt 'NI-DAQmx 8.8' auf
*** Ende des Fehlerprotokolls
**************
*** WARNUNG ***
Distributionsinformation für ein nicht identifiziertes Produkt wird übersprungen, da der Fehlercode -40 während des Ladens der folgenden Datei auftrat: C:\Program Files (x86)\National Instruments\Shared\MDF\Manifests\NI-DAQmx 8.8 {B06767E6-7ABE-4E92-A81E-711CD65F813E}.xml
Laden der Produktdistributionsinformation
**************
*** Fehler: Interner Fehler. (Fehlercode -40)
Beim Lesen der Information über die Quellendistribution trat ein Fehler bei Produkt 'NI-DAQmx 8.8' auf
*** Ende des Fehlerprotokolls
**************
*** WARNUNG ***
Distributionsinformation für ein nicht identifiziertes Produkt wird übersprungen, da der Fehlercode -40 während des Ladens der folgenden Datei auftrat: C:\Program Files (x86)\National Instruments\Shared\MDF\Manifests\NI-DAQmx 8.8 {B06767E6-7ABE-4E92-A81E-711CD65F813E}.xml
Laden der Produktdistributionsinformation
**************
*** Fehler: Interner Fehler. (Fehlercode -40)
Beim Lesen der Information über die Quellendistribution trat ein Fehler bei Produkt 'NI-DAQmx 8.8' auf
*** Ende des Fehlerprotokolls
**************
*** WARNUNG ***
Distributionsinformation für ein nicht identifiziertes Produkt wird übersprungen, da der Fehlercode -40 während des Ladens der folgenden Datei auftrat: C:\Program Files (x86)\National Instruments\Shared\MDF\Manifests\NI-DAQmx 8.8 {B06767E6-7ABE-4E92-A81E-711CD65F813E}.xml
**************
*** Fehler: Interner Fehler. (Fehlercode -40)
Beim Lesen der Information über die Quellendistribution trat ein Fehler bei Produkt 'NI-DAQmx 8.8' auf
*** Ende des Fehlerprotokolls
**************
*** WARNUNG ***
Distributionsinformation für ein nicht identifiziertes Produkt wird übersprungen, da der Fehlercode -40 während des Ladens der folgenden Datei auftrat: C:\Program Files (x86)\National Instruments\Shared\MDF\Manifests\NI-DAQmx 8.8 {B06767E6-7ABE-4E92-A81E-711CD65F813E}.xml
Dateien zu Installationsprogramm hinzufügen
Hinzufügen von Dateien beendet
Vorbereiten zur Erzeugung der Distribution
Produkte von Distributionen kopieren
01-12-2011 06:19 AM
Hi Xeledon,
try uninstalling DAQmx and then install DAQmx 8.5.
Best Regards,
01-12-2011 07:10 AM
Hi Andreas,
thanks for your suggestion, I tried it immediately.
Unfortunately it didn't help, not even temporarily like un- and reinstalling all NI software does. The error message is just the same.
Any other suggestions? Anyone?
Best Regards
Florian
01-12-2011 08:36 AM
Does the installer build if you don't include DAQmx?
01-12-2011 10:18 AM
Thanks again for another sensible suggestion I had not thought of myself.
It seems however that I solved the Problem (at least fo now) before I had the chance to put it to the test:
The VIs and the project are on a server and I opened the project from a network drive pointing to the actual place of storage - a bad idea for more than one reason 🙂
After opening the project from its real path (like \\server\etc.) and correcting some entries by hand building works again.
What puzzles me is the seemingly random behavior I experienced before - well not that random, since it always worked after reinstalling LV, but why did it stop working?.
I won't mark this as the Solution yet. Maybe I'll have to report back in the near future with bad news 😉
Best Regards
Florian