08-15-2010 06:10 AM
I'm trying to deploy a teststand system with Developer Suite 2010 DS2, XP sp3 Eng
I have tried everything, uninstalling, reinstall of computer, create a new deployment...
This is from my log:
*** WARNING ***
Product 'NI Measurement & Automation Explorer 4.7' depends on a product that cannot be found on the system. ID of missing product: {A1DD654C-E897-4C46-8077-12873C75D79D}
Product 'NI Measurement & Automation Explorer 4.7' depends on a product that cannot be found on the system. ID of missing product: {11D580A9-CAA9-4FAE-ACCE-008751A7AE9F}
Adding files to installer
Done adding files
Preparing to build deployment
Copying products from distributions
*** WARNING ***
Product 'NI Measurement & Automation Explorer 4.7' depends on a product that cannot be found on the system. ID of missing product: {A1DD654C-E897-4C46-8077-12873C75D79D}
Product 'NI Measurement & Automation Explorer 4.7' depends on a product that cannot be found on the system. ID of missing product: {11D580A9-CAA9-4FAE-ACCE-008751A7AE9F}
Adding files to installer
Done adding files
Preparing to build deployment
Copying products from distributions
**************
*** Error: Caught an exception of an unknown type. (Error code -1)
**************
*** Error Details:
Error in MDF API function: _MDFDistCopyList_GetCount
*** End Error Report
**************
Done building deployment
Internal error code -1 Making an installer, please wait...
TestStand - Deployment Utility Splash Screen.vi >> TestStand - Distribution Wizard GUI.vi >> TestStand - Build.vi >> TestStand - Create Meta Installer.vi >> TestStand - Build Meta Installer.vi >> TestStand - Copy Meta Installer Parts to Cache.vi >> MDFDistCopyList_GetIAlltemsInfo.vi >> MDFDistCopyList_GetCount.vi
The installer is finished
The build process is done.
12:47
Aborted
+++++++++++++++++++++++++++++++++++++++
I have also tried to uncheck 'NI Measurement & Automation Explorer 4.7', but I still can't make a deployment.
If i add more components to the installer it only get reported as missing like MAX in the log file
/Jonas
08-16-2010 08:41 AM
You are not alone...
When I include the 'TestStand Engine' in my build I receive very similar errors, my build is not complaining about Measurement & Automation Explorer but something else relating to 'NI .NET Framework 2.0 Language Pack x86 Installer.
I get the same errors as you have received:
****************************************************************************************************************
*** Error: Caught an exception of an unknown type. (Error code -1)
**************
*** Error Details:
Error in MDF API function: _MDFDistCopyList_GetCount
*** End Error Report
**************
Done building deployment
Internal error code -1 Making an installer, please wait...
TestStand - Deployment Utility Splash Screen.vi >> TestStand - Distribution Wizard GUI.vi >> TestStand - Build.vi >> TestStand - Create Meta Installer.vi >> TestStand - Build Meta Installer.vi >> TestStand - Copy Meta Installer Parts to Cache.vi >> MDFDistCopyList_GetIAlltemsInfo.vi >> MDFDistCopyList_GetCount.v
******************************************************************************************************************
Performing the build with TestStand 4.2.1 & LV 2010. Another engineer attempted a build on his PC, and received the same issues.
Thanks,
PH
08-17-2010 03:00 PM
Perhaps this will work for you....
Try clearing your Proudct cache:
The first is due to old cache data, namely when you build a deployment, you have the option to cache information about the additional installers you include in your deployment so you don't have to insert the disk each time. This error code means that the deployment utility is looking for cached information to add for your additional installers, but it can't find it.
Clear out everything in your cache folders (C:\Program Files\National Instruments\Shared\ProductCache and/or C:\Documents and Settings\All Users\Application Data\National Instruments
\MDF\ProductCache) and build again.
The deployment utility should ask for any disk it needs to add to the installer, and it will create a new cache.
Thanks,
PH
08-18-2010 01:19 AM
Thanks for your help!
But it didn't work, same error as before.
The only difference is that I got two new rows in my log:
Product 'NI System API Framework (RT)' depends
on a product that cannot be found on the system. ID of missing product: {D45A0A7F-370C-43C8-ACB9-65B010B91D01}
Product 'NI System API Framework (RT)' depends on a product that cannot be found on the system. ID of missing product: {E5F00A1C-D99D-4801-A390-B1BB30FEDFBC}
Product 'NI System API Framework (RT)' depends on a product that cannot be found on the system. ID of missing product: {D45A0A7F-370C-43C8-ACB9-65B010B91D01}
Product 'NI System API Framework (RT)' depends on a product that cannot be found on the system. ID of missing product: {E5F00A1C-D99D-4801-A390-B1BB30FEDFBC}
/Jonas
08-18-2010 02:22 AM
Found a solution!
When I disable "Copy Installer to Product Cache by Default" on the first tab it only give me the warnings as before but now it completes the build process.
After the first build I can enable "Copy Installer to Product Cache by Default" and it works as it should, except that it complains about MAX 4.7 dependency.
/Jonas
08-18-2010 04:01 PM
Hi /Jonas and/or PH,
We are trying to find the root cause of the 'Error Code -1' error message and haven't been able to reproduce it yet.
Would you be able to attach a log of the TSDU build after the error occurs?
For TS4.2.1 the log should be located in the temp directory (start>run>%temp%) and named 'Detailed_Installer.log'.
Also, would you be able reproduce in a simple case and could you give the steps you used to generate the error? I've tried deploying TS examples and the tutorial without seeing this error. I've been using TS4.2.1 and LV2010 (with and without the patches from the update service) and toggled every option in the TSDU.
Thanks,
Jim
08-19-2010 08:27 AM
Hello TSJim
I have a system with TestStand 4.2.1 and LV 2010. I installed the patch to allow TS 4.2.1 to work with LV2010.
Open the TestStand Deployment Utility. I created a new workspace, project, and sequence file. The sequence file contained only one step that is simply a Message Box.
System Source tab I selected the appropriate workspace file. Analyzed the files via the Distributed Files tab.
Go to the Installer Options tab and select the 'Install TestStand Engine' option. I left all the defaults checked within the Engine Options. Select the Build button.
Build gives the -1 error in about 10 seconds. In fact, the ONLY time I get this error is when I attempt to build a deployment with the 'Install TestStand Engine' option selected. I can build a simply test sequence when the TestStand Engine is NOT selected.
I have attempted to select different options within the 'TestStand Engine Options' dialog but to no avail, everything I select gives a -1 error.
Log is attached, I had to zip it due the fact it was about 14 MB in size.
Thanks,
PH
08-19-2010 10:19 AM
Hi PH,
Thanks for the great response. I'll let you know what we find.
Jim
08-19-2010 04:50 PM
We found that this may be caused because the installer is looking for the installation DVD(s) in the drive that it was installed from. This is preliminary - I'm doing testing now.
If you could check to see if this fixes the problem and get back to us it would help.
Thanks,
Jim
08-20-2010 02:49 AM
For me it works when I have a have the installation dvd in my drive.
It's only necessary to have the dvd in the drive the first time if i have checked "Copy Installer to Product Cache by Default".
/Jonas