LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

LabWindow/CVI Application Error with Distribution Kit

After creating a distribution kit I get an application error see attachted file.
I use CVI version 7.0.0 (393) on a PC with XP
Also I select short cut on Desktop in the distribution kit setup. No short cut occures on the desktop.

Thomas
0 Kudos
Message 1 of 9
(3,920 Views)
Hello,

Could you send me the files the DistKit is producing? Specifically the MSI file. I will try and look into what is happening.

Jeff
NI
0 Kudos
Message 2 of 9
(3,920 Views)
Hello Jeff

I try to send you the MSI file over this way.But didn't reach your server. Can you show me an other way.

If you need more please inform me.

Thomas
0 Kudos
Message 3 of 9
(3,920 Views)
Thomas,

Can you send it to me at:
ftp://ftp.ni.com/incoming/

Also try me email:
jeff.laney@ni.com

Please reply once you have posted it to the FTP site. Tell me what the name is, what files I am looking for, etc.

Thanks,
Jeff
NI
0 Kudos
Message 4 of 9
(3,920 Views)
I recieved your files, thanks. I am finding a problem with the shortcut and install location. I am looking into this now.

What I don't understand is where the crash is happening. Is it happening during the compile of the Distribution, or after you install the distributed application?

Also, are you using any hardware in this applicaion? If so you have to install the drivers to get it to work properly.

Thanks,
Jeff
0 Kudos
Message 5 of 9
(3,920 Views)
Hallo Jeff

I found the solution for the crash after try to run the distribution kit. In the program two files are called. I have to add this two files in the distribution kit under group. What I didn't understand is that I have this files in my project why I have to add in the distribution kit under groupe files. Still the Icon problem on the desktop remains.

Thomas
0 Kudos
Message 6 of 9
(3,920 Views)
Hello Thomas,

There is a problem with the MSI that is generated by CVI that I can not reproduce here. What is happening is your shortcut is going to c:\DesktopFolder (instead of c:\Documents and Setting\allusers\desktop) and your files are going to c:\ProgramFilesFolder (instead of c:\Program Files). These 2 folders are standard MSI folders and therefore we typically detect them and fill in the Directory entries differently than what I am seeing in your MSI.

I have tried and a colleague have tried and we can not reproduce this behavior on 2 different machines. The only time we have seen something like this happen before is when someone edited the template MSI files under CVI\redist but that does not look like you have
done that (we are seeing the correct entries in the MSI, but somehow the Distribution build is not detecting them).

I would like to ask you one more thing. Could you send me a zip file of your project? That way I can try and see if I can reproduce it directly from the source.

Thanks,
Jeff
NI
0 Kudos
Message 7 of 9
(3,920 Views)
Hello,

We have found what is causing this issue. It is a registry setting that will be updated by some Tweaking packages.

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\FileSystem
NtfsDisable8dot3NameCreation

If set to 1 (not the default) it will cause the duplicate directory issue we are seeing in you MSI. If set back to 0 (the default) everything seems to work as expected.

Can you test this on your issue and tell me the outcome? this way we can try and change the code for the future to work around this problem with either setting.

Jeff
NI
0 Kudos
Message 8 of 9
(3,920 Views)
Hello Jeff

I change the setting from 1 to 0 and after restart the PC the Distributionkit produce a shortcut on the desktop. Also the project exe are in the folder Program Files. So far all looks fine.

Could it happen that this effect comes up agine with a new update ?

Thomas
0 Kudos
Message 9 of 9
(3,920 Views)