描述:
            我是用mfc开发了一个ocx控件,在本地运行没有问题,打包签名后,在别的机子上出现如下问题:提示安装微软的控件好像是mfc32,安装完成后,提示重新启动,重启后,再用ie访问,结果仍然是提示安装微软的控件,成了死循环了,问题该如何解决?????
打包的inf文件内容如下:
  [version]
   signature="$CHICAGO$"
   AdvancedINF=2.0
 [Add.Code]
   Csp32.dll=Csp32.dll    
   getbarcodes.ocx=getbarcodes.ocx
   msvcrt.dll=msvcrt.dll
   mfc42.dll=mfc42.dll
   olepro32.dll=olepro32.dll
 [Csp32.dll]
    FileVersion=1,0,0,1
    hook=mfc42installer
 [getbarcodes.ocx]
    file-win32-x86=thiscab
    clsid={72E66A68-240C-49AA-B2F0-32742E8122EC}
    FileVersion=1,0,0,1
    RegisterServer=yes
 [msvcrt.dll]
    FileVersion=6,0,8168,0
    hook=mfc42installer
 [mfc42.dll]
    FileVersion=6,0,0,6256
    hook=mfc42installer
 [olepro32.dll]
    FileVersion=5,0,0,6038
    hook=mfc42installer
 [mfc42installer]
    file-win32-x86=http://activex.microsoft.com/controls/vc/mfc42.cab
    run=%EXTRACT_DIR%\mfc42.exe
其中Csp32.dll是我要使用到的dll,版本号我核实过了没有问题,打的包中有csp32.dll,getbarcodes.dll,test.inf文件,在网页中代码如下:
 <OBJECT id="DOcxtest1" classid="clsid:72E66A68-240C-49AA-B2F0-32742E8122EC" width="0" height="0"
CODEBASE="<%=request.getContextPath()%>/webgetbarcodes.cab#version=1,0,0,1">
</OBJECT>
不知道如何解决,请大家帮我看看,谢谢

