Issue to upgrade TeeChart 2010 to 2011
Posted: Wed Mar 21, 2012 6:23 am
I'm upgrading TeeChart from 2010 to 2011 version but meet issue.
Before the upgrading, the server side uses line like "codebase=Teechart2010.cab#version=2010,0,0,2" to configure TeeChart 2010 and it works well. The TeeChart2010.ocx is registered in the client side where the browser is installed.
Now, we install TeeChart2011.0.0.5ActiveX.exe and get the teechart2011.cab. Then we copy the teechart2011.cab to the correct directory and change the version number to 2011,0,0,5 like "codebase=Teechart2011.cab#version=2011,0,0,5" in the configuration. When user tries to open the chart at the same client(where is TeeChart2010.ocx was registered before ), the "activeX install failure" message will prompt always, even user open the chart again.
This is because the "FileVersion" value in TeeChart2011.inf is incorrect. It is "9,0,0,0". The installation fails to get the matched version(2011,0,0,5). If I unzip the teechart2011.cab and change the "FileVersion=9,0,0,0" to "FileVersion=2011,0,0,5", recreate the cab file, the 2011 TeeChart can be upgraded successfully. The teechart2011.ocx will be updated automatically on the client register and the chart can be opened smoothly without failure message.
As a summary, we need Steema to change the "FileVersion" value from "9,0,0,0" to "2011,0,0,5" in TeeChart2011.inf and re-create the cab file with signature. We can't use the cab file which I create manually without signature.
Before the upgrading, the server side uses line like "codebase=Teechart2010.cab#version=2010,0,0,2" to configure TeeChart 2010 and it works well. The TeeChart2010.ocx is registered in the client side where the browser is installed.
Now, we install TeeChart2011.0.0.5ActiveX.exe and get the teechart2011.cab. Then we copy the teechart2011.cab to the correct directory and change the version number to 2011,0,0,5 like "codebase=Teechart2011.cab#version=2011,0,0,5" in the configuration. When user tries to open the chart at the same client(where is TeeChart2010.ocx was registered before ), the "activeX install failure" message will prompt always, even user open the chart again.
This is because the "FileVersion" value in TeeChart2011.inf is incorrect. It is "9,0,0,0". The installation fails to get the matched version(2011,0,0,5). If I unzip the teechart2011.cab and change the "FileVersion=9,0,0,0" to "FileVersion=2011,0,0,5", recreate the cab file, the 2011 TeeChart can be upgraded successfully. The teechart2011.ocx will be updated automatically on the client register and the chart can be opened smoothly without failure message.
As a summary, we need Steema to change the "FileVersion" value from "9,0,0,0" to "2011,0,0,5" in TeeChart2011.inf and re-create the cab file with signature. We can't use the cab file which I create manually without signature.