I am deploying a .net assemblies with it's dependent assemblies and a
..inf (all in a cab file) on a TOMCAT Server. HTML page hosts the .net
assembly and everything works great except the status of the cab file
shows "unknown" and version as "1.1.4322.573" which should have
something like "2,2,4,25848". Because of this, every hit of the page
downloads the cab file which should not happen ideally. What could be
the problem?
Here is the HTML Page excerpt:
<OBJECT id="Babble" classid="CLSID:4962696B-8F61-4273-BBBE-AD31293D7692"
CODEBASE="babble.CAB#Version=2,2,4,25848"> </OBJECT>
The version no. of the cab is same as version no. of main assembly.
..inf file:
[version]
signature="$CHICAGO$"
AdvancedINF=2.0
[Setup Hooks]
hook1=hook1
AddToRegHook=AddToRegHook
[hook1]
run=%EXTRACT_DIR%\babble.bat %EXTRACT_DIR%
[AddToRegHook]
InfSection=DefaultInstall2
[DefaultInstall2]
AddReg=AddToRegistry
[AddToRegistry]
HKLM,"SOFTWARE\Classes\CLSID\{4962696B-8F61-4273-BBBE-AD31293D7692}\Implemented
Categories\{7DD95802-9882-11CF-9FA9-00AA006C42C4}"
HKLM,"SOFTWARE\Classes\CLSID\{4962696B-8F61-4273-BBBE-AD31293D7692}\Implemented
Categories\{7DD95801-9882-11CF-9FA9-00AA006C42C4}"
HKCR,"Licenses",,,"Licensing: Copying the keys may be a violation of
established copyrights."
The file babble.bat contains list of commands like gacutil and regasm
for assemblies.
Any help would be greatly appreciated.
Yash