LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Distribution kit with DLL

I use LabWindows CVI 8.0.1 on an XP machine.
I have distributed several applications to other PCs without any problem.
Now I try to distribute an application with the name "client" that includes a DLL and I do not seem to be able to install it on another PC.
On the destination PC, I see the following message:
"Error 1334. The file CLIENT.EXE.MDF100 cannot be installed because it cannot be found in the cabinet file 'Distfile.cab'"

I checked the contents of this file and indeed it holds the file "Client.exe" and "adb_dll.dll". But the client.exe.MDF100 file is not included.

As a check I verified the distribution of another application without a dll and there is indeed an MDF100 file with the application name.

If I use a PC on which there is already a CVI 8.0.1 application installed (and hence all the CVI dlls are in place) and I just copy the client.EXE and the adb_dll.DLL file to new directory, the application works.
I concluded that the problem lies in the installer who somehow puts the EXE file in the distfile.cab instead of the compacted version MDF100.

How can I solve this ?

Francis

 

0 Kudos
Message 1 of 3
(2,886 Views)

Hi Francis,

Do you have any special characters (non-alpha/numeric i.e.: "+","-","/", ...) in your file names or directories in this project or distribution? This is usually the cause of this error, but there could be something else as well.

Keep me inform about the problem.

Julien Roland - District Sales Manager
NI Belgium - Technical Support

Don't forget to rate a good answer
Message 2 of 3
(2,862 Views)

I have a customer with this same issue.  

 

Error 1334. The file POS0.BIN' cannot be installed because the file cannot be gound in cabinet file 'DistFile.cab'.

 

Granted we have over 100,000 users and this is the first time I have ever heard of this issue, but it appears it has come up before. We are not using any non-acceptable characters. Was the issue ever resolved? My guess it is related to the Microsoft installation files and one or more is missing.

0 Kudos
Message 3 of 3
(2,475 Views)