LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Creating distribution kit gives "Internal API function call order violation"

Hello Co,

Unfortunately the problem is more involved than I had anticipated.  I'm going to suggest that you use a tool called MsiBlast which will allow you to selectively remove NI components regardless of dependencies.  You're going to have to use that tool to uninstall the older versions of NI-MDBG for Phar Lap ETS, NI-MRU for Phar Lap ETS, and NI-MXDF for Phar Lap ETS.  Check your Program Files\National Instruments\Shared\MDF\Manifests directory to see if you have an .xml file for each of those products.  If you do, then you will see multiple versions of these products in MsiBlast (see the attached screenshot), and you should leave the newest version there.  Otherwise, you will probably want to re-run your DAQmx installer to make sure the removed components get replaced with the newer ones.

I would hope that would be the end of your problems.  If something more comes up, please post back.

Mert A.
National Instruments

0 Kudos
Message 11 of 18
(2,626 Views)
Hallo Mert,

The msiblast did the trick, so ne can now create distribution kits.

thanks, Co
0 Kudos
Message 12 of 18
(2,597 Views)
Hello,
 
I am having the same problem as posted in the previous messages...I tried everything in the post, including the MSIblast with no luck.
 
Attached is a copy of my debug printout...looks like im missing some files, but im not sure how. I have completely unistalled CVI and reinstalled it and still have the same issue.
 
ANy thoughts?
0 Kudos
Message 13 of 18
(2,466 Views)
Hello,

It is very surprising that these files are missing.  It looks like the components are installed, but the manifest files for the two components NI MetaUninstaller and MDF Support are somehow gone.  If you repair your CVI installation from Add/Remove Programs, the files should be restored.  Because these two components are needed by other installed software, uninstalling CVI does not remove them, and thus they are still present and unaffected by a reinstall of CVI.

I would be very interested to hear any information about how you may have gotten into this state.  I assume you did not manually remove the C:\Program Files\National Instruments\Shared\MDF\Manifests directory or any of the files in it.  Can you confirm that the directory does not actually contain the files "MDF Support {...}.xml" and "NI MetaUninstaller {...}.xml"?

Please let me know if repairing does not solve your problem.

Mert A.
National Instruments
0 Kudos
Message 14 of 18
(2,454 Views)
I verifed those files are not in the shared/MDF directory.
 
Now this is strange...I went to repair this from the Add /remove programs and there is no sign of and NI software installed there so I cannot repair this from there. Is there a way to repair using the setup discs?
 
Thanks
 
Tom
0 Kudos
Message 15 of 18
(2,428 Views)
Hi Tom,

The lack of a "National Instruments Software" entry in Add/Remove Programs indicates that the NI (Meta) Uninstaller component is actually entirely missing from your system.  This is depended on by all NI software, so it should never normally be uninstalled until the last piece of NI software is uninstalled.  Did you remove it with MSIBlast?  Did you remove anything else?  MSIBlast can be dangerous to use, unless you know exactly what you are removing.  In Han's case, the problem components were side-by-side installed versions of a real-time support component, the older of which could harmlessly be removed.

I would recommend just running the CVI installer again.  That should replace any missing components that are part of the CVI installation.  I assume you tried the uninstall/reinstall of CVI before trying MSIBlast.  If you run the installer again now, you should get fixed up.

Let me know if that takes care of your problems.

Mert A.
National Instruments
0 Kudos
Message 16 of 18
(2,427 Views)

Mert,

I uninstalled all of CVI from my machine and re-installed it. Still doesnt show up in my add/remove programs window. Not sure what that is all about.

Despite this I still tried to build the disribution kit, i am now worse off than I was before, when I go to build-distribution-manage distributions-new i get the error message attached when I click ok. This only happens the first time I open CVI and try to do this. If i try it a second time I get past this step but then when I go to build-distribution-Build"filename" i get an error that says "failed to load specification from dirs, the specification file may be corrupt". This is very repeatable, if i shutdown CVI and open again the same thing happens.

Any thoughts?

Tom

 

0 Kudos
Message 17 of 18
(2,378 Views)
Hi Tom,

I'm sorry for the delay in my reply; I was out of the office on vacation.  The new problem you describe sounds like it is due to the MDF Support component's absence.  I've tried to replacate your system's state without much luck; I can't get the error popup that you posted.  It looks like you are in a complicated state of misfortune (MSIBlast can complicate things), so at this point, I think the quickest solution would be to just bite the bullet and do a complete unstallation/reinstallation of all your NI software and drivers.  To do this, it will be helpful to get the NI MetaUninstaller component back on your system.  From your CVI cd, run the file Parts\MU\MetaUninstaller.msi.  If for some reason this performs an uninstall, run the file again to make sure you get the component installed.  After this, the missing NI entry in Add/Remove Programs should be back.  Go through the list of installed NI software and remove everything.  Once it's all gone, go ahead and install what you need again, making sure to install CVI before any of the drivers.

Once again, let me know how it goes.

Mert A.
National Instruments
0 Kudos
Message 18 of 18
(2,339 Views)