在 Internet Explorer 中调试 ActiveX 控件的安装

发布于 2024-08-02 18:25:21 字数 318 浏览 9 评论 0原文

我有一个在网站上运行的 ActiveX 控件,旧版本安装得很好。当然,它可以在开发计算机上完美运行和安装。新版本使用新名称和全新的 CLSID 进行版本控制。新版本在 Internet Explorer 8 中显示 Vista 中的安装对话框(具有正确的数字签名等),但安装时没有任何反应。如何确定单击“安装”后到底发生了什么(该控件不在“对象”目录中,但旧的控件在)。我记得最初创建此控件时有一个日志,其中包含有关失败安装的详细信息,但是,我一生都不记得它在哪里或在目标计算机上找到它。这个新版本在某些计算机上安装得很好,但在某些计算机上安装失败(它不是 Vista 特有的,它在某些 Vista 计算机上安装得很好)。

I have an ActiveX control that runs on a website, where the old version installed fine. Of course it runs and installs perfectly on the development computer. The new version is versioned with a new name and a completely new CLSID. The new version brings up the installation dialog in Vista in Internet Explorer 8 (with the correct Digital Signature, etc) however nothing things to happen upon install. How can I determine exactly what happened after clicking Install (the control is not in the Objects directory, however the old Control is). I remember when initially creating this control that there was a log where there was details about the failed installs, however, for the life of me I cannot remember where that was or find it on the destination computer. This new version installs fine on some computers, but fails to install on some computers (it is not specific to Vista, it installs fine on some Vista machines).

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

疑心病 2024-08-09 18:25:21

事实证明,在 64 位 Windows 中内置的 Visual Basic 组件无法在 32 位操作系统(Vista、XP、Windows 7)上运行。不知道它是VB编译器、Cab生成器还是signtool,但如果你在64位上构建它,它在64位环境中可以正常运行,但在32位环境中无法安装且没有任何消息。希望这对将来的人有所帮助。不过,仍在查找失败的 ActiveX 安装的日志。

Turns out that Visual Basic components built in 64 bit windows silently fail to run on 32 bit operating systems (Vista, XP, Windows 7). Don't know whether it is the VB compiler, the Cab generator, or signtool, but if you build it on 64bit, it will run fine in a 64bit environment but fail to install with no messages in a 32 bit environment. Hopefully this will help someone in the future. Still looking for the log for failed ActiveX installs, however.

王权女流氓 2024-08-09 18:25:21

发生这种情况的原因是 ActiveX 处于非活动状态。您可以尝试创建一个窗口来尝试安装 ActiveX。我确信它会像激活窗口所需的小程序或对象一样工作。它不能从隐藏的 div 或其他标签启动。

This can happen due to ActiveX being inactive. You can try by creating window which will try to Install ActiveX. I am sure it will work as APPLET OR OBJECT require to activate window. It can not be launched from hidden div or other tag.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文