LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Corrupt installer (analysis.cab)

After creating a distribution kit in CVI2013 the installer stops with the following error:

 

installer.png

 

All installer files were on the local hard disk, so I can exclude network errors or CD-ROM errors. I have also rebuilt the kit but keep receiving the same error message. The installation directory bin/p4 contains the following files:

 

cab.png

 

What could be wrong?

 

Thanks!

0 Kudos
Message 1 of 22
(4,875 Views)

if it helps...:

 

installer.png

0 Kudos
Message 2 of 22
(4,852 Views)

Dear ,

 

1. Is this the first time you trying to create an installer with this CVI Installation?

 

2. Did you try the installer on another PC and does the same error appear there too?
If not please try this first.

 

 

Kind Regards,

Oleg Scherling, M.Eng | Applications Engineering | National Instruments | NIG |

0 Kudos
Message 3 of 22
(4,845 Views)

Dear Oleg,

 

it's the first time that I generated a distribution kit with CVI2013 (using my settings from CVI2012SP1 but with an adjusted selection of components). I have generated many distribution kits before with previous CVI releases without this error. But I will build a distribution kit on another computer...

0 Kudos
Message 4 of 22
(4,841 Views)

I have built the distribution on a different computer and got the kit installing correctly. However, the four analysis files look identical (date, size). Any clues?

0 Kudos
Message 5 of 22
(4,833 Views)

Hi Wolfgang

some years ago I experienced some problems of corrupted *.cab files with (CVI 2009).

Together with NI Technical Support we tried to narrow-down the reason, but unsuccessfully Smiley Sad

It seemed to me that in some ways there was something related to paths:

  • path of files included in the distribution kit but not in the project; since there I always explicitly add to the projects all the files I include in the distribution kit
  • path where the distribution kit resides

I'm not sure this can help you

 

Vix
-------------------------------------------
In claris non fit interpretatio

-------------------------------------------
Using LV from 7
Using LW/CVI from 6.0
Message 6 of 22
(4,828 Views)

Hi Vix,

 

Thanks for the message, it helped in several ways:

 

First I feel less stupid with others having similar observations Smiley Happy


Second I thought that then it should be possible to check the cds file for path problems - does have NI any suggestions? (I could upload the cds file to the ftp site, for example...)

 

Third, when going through the cds file I realized that in one line it says

 

<custMsgPath>c:\program files (x86)\national instruments\cvi2009\bin\msgrte.txt</custMsgPath>

I don't know if this line is relevant, i.e. somehow connected to my issue, but I am somewhat surprised to find a path to an earlier, no longer existing, installation of CVI... Should I try to manually edit the cds file and change cvi2009 to cvi2013? Or where do I find the relevant line in the Edit Distribution panel? And why did this line not get updated when upgrading? (CVI2009 - > CVI2010 -> CVI2012 -> CVI2013)

 

Because this cds file worked with CVI2012 I sort of doubt that this line / the file itself is the problem, where else should I search?

 

0 Kudos
Message 7 of 22
(4,826 Views)

Hi ,

 

Great to hear that it works on the other PC. So we point out that the System is the reason of the error.

 

Now we have to find out what is the big difference in the both PC Systems.

 

Do you have other CVI Versions installed on the PC where it does not work? And which other NI Tools are different to the other PC?

 

And the path could be the reason but we first have to find out the difference of the Computers.
But you can also check the path in the working Kit and compare this one.

 

 

 

Kind Regards,

Oleg Scherling, M.Eng | Applications Engineering | National Instruments | NIG |

0 Kudos
Message 8 of 22
(4,820 Views)

SG3 wrote:

 

Do you have other CVI Versions installed on the PC where it does not work? And which other NI Tools are different to the other PC?

 


Hi Oleg,

 

I partially disagree with your 'system' statement because CVI2012 did successfully generate many distribution kits of the very same software on this computer. But I agree that this is a week argument as I do not have it installed any longer...

 

Concerning your questions: On both computers only one version of CVI is installed. However, both systems had seen earlier versions of CVI, this one back to 2008, the other one back to 2011. This computer also has the execution profiler kit and is running XP while the other is running Win 7. I will inspect the other cds file once back home.

0 Kudos
Message 9 of 22
(4,816 Views)

Hi Oleg,

 

I took the project home (as I did yesterday) in order to reproduce the process step-by-step.

 

The issue to note is that when generating a distribution kit on the Win7 computer I receive the error 'Error occurred while adding user-specified files'. From the log I learned that it is the readme.pdf that is located somewhere else. So I went to the Edit Distribution setup, deleted the readme.pdf from the Installation Files & Directories folder and added the new location in Local Files & Directories. Then I repeated the installer creation and succeeded, as yesterday.

 

So my question is: Why does fixing the missing pdf file result in a successful installation, while the original configuration on the original computer does not result in any error message but in a corrupted AdvancedAnalysis.cab?

 

I will diff the two cds files tomorrow...

0 Kudos
Message 10 of 22
(4,800 Views)