LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

size of 2010SP1 RTE

Solved!
Go to solution

I have the same problem, same project, using 2009SP1 distribution is 17.6M, using 2010SP1 distribution is 28.2M, Distribution Setting is the same.

 

thanks!

0 Kudos
Message 11 of 23
(4,741 Views)

I compared the two versions of distributions files, we found 2010SP1 version Distfile.cab increased some files, such as mfc90.dll, etc. But 2009Sp1 version Distfile.cab did not increase mfc90.dll etc.

why?

 

thanks!

0 Kudos
Message 12 of 23
(4,740 Views)
Solution
Accepted by Wolfgang

Wolfgang & longd99,

 

Yes, those additional mfc90.dll files, etc, are the cause of the size increase.

 

I understand that your distributions were working fine before, when they didn't include those files. And that in your case, those files were not necessary. The problem, however, is that when you create your distribution, CVI doesn't know the state of all possible target computers where you might install this distribution. In many cases, because of other applications that have already been installed in those computers, those "extra" files will already be present, and your distribution would have worked just fine even if you hadn't included them. But if the target computer has just a basic OS installation (depending on the OS), it would not have worked fine, as evidenced by the problem described in the thread that I linked to above. This is why distributions must be completely self-sufficient, which unfortunately means that they have to be bigger.

 

Luis

0 Kudos
Message 13 of 23
(4,725 Views)

Thanks, Luis, I understood now. Smiley Happy

0 Kudos
Message 14 of 23
(4,720 Views)

Thanks,I understood now.

But why 2009SP1 not? I hope the distributions files does not contain these files like mfc90.dll,etc. what way?

 

Thanks!

0 Kudos
Message 15 of 23
(4,714 Views)

Are you asking whether CVI 2009 had the same problem, and whether it included the extra files or not?

 

I believe that 2009 did not package those particular files, but I also think that it's because it didn't need them. At some point, the Mesa component was rebuilt in a way that these dependencies were introduced (I want to say that it was because of native 64-bit support, but I'm not completely sure).

 

Luis

0 Kudos
Message 16 of 23
(4,702 Views)

 I hope CVI2010SP1 distributions files don't included this extra files like mfc90.dll etc. I want to reduce the distributions files,What to do?

 

thanks!

0 Kudos
Message 17 of 23
(4,693 Views)

I'm sorry, there's just no way to not include them. Those files are needed by the CVI run-time.

 

Luis

0 Kudos
Message 18 of 23
(4,680 Views)

Thanks, Luis, I understood now.VC9.0RTE are needed by the mesa.dll.

0 Kudos
Message 19 of 23
(4,668 Views)

Hello NI....,

 

after I got used to the fact that the size of my distribution had to be increased by a factor of two, from 14 to 28 MB, due to added MESA and VC libraries, I am wondering why the 2013 distribution has increased by another factor of three and now has a size of 96 MB...

 

I am really trying to keep my distribution small. I am using the Advanced Analysis library and only include the required (Analysis, MESA) and NI recommended (VC2008) settings, see below... 

 

install.png

0 Kudos
Message 20 of 23
(4,551 Views)