我应该如何在 InstallShield 安装项目中包含 Infragistics 依赖项?

发布于 2024-09-12 11:06:07 字数 235 浏览 11 评论 0原文

我有一个 Windows 应用程序,我们在其中使用 Infragistics 控件。现在,我们正在使用 InstallShield 创建其安装项目。

这是我第一次使用InstallShield。看来我们需要在依赖项中提供 Infragistics 设置。我不想安装安装程序,或者不应该安装。难道不能只提供 Debug/Release 文件夹中的 Infragistics DLL 来完成吗?

请帮忙!

谢谢。

I've a Windows Application in which we are using Infragistics controls. Now, we are creating its setup project using InstallShield.

This is my first time with InstallShield. It seems we need to provide Infragistics setup in dependencies. I don't want to install setup or it shouldn't be. Can't it be done just provide Infragistics DLLs which we have in our Debug/Release folder?

Please, help!

Thanks.

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

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

发布评论

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

评论(3

赴月观长安 2024-09-19 11:06:07

Infragistics 是这样的公司之一,其运行时由大量 COM DLL 组成,并且他们不提供任何类型的运行时 Redist,无论是 EXE/MSI 还是 MSM(合并模块)。

您是否仅针对 Windows XP 及更高版本?如果是这样,我个人会直接私下部署您的应用程序中的所有 DLL,并通过清单使用 COM-Free 注册,这样您就不必写入注册表,也不必冒与其他应用程序发生冲突的风险。基本上,当您的 EXE 运行时,Windows 会查看清单并虚拟化 COM 信息,从而允许您的进程进行所需的 COM 调用。

InstallShield 12+ 有一个向导可以帮助创建此内容。

http://kb.flexerasoftware.com/doc/Helpnet/installshield12helplib/IWPRegFreeComWiz。 htm

如果您仍然需要支持 Windows 2000,或者您的要求使上述操作无法实现,我会继续将文件作为永久组件安装到 System32,并将 COM 元数据提取到您的 MSI 中。组件向导将帮助您进行设置。

Infragistics is one of those companies whos runtime consists of a boat load of COM DLL's and they don't provide any sort of runtime redist be it an EXE/MSI or MSM ( Merge Module ).

Are you targetting only Windows XP and greater? If so, I personally would deploy all of the DLL's in your application directly privately and use COM-Free registratition through manifests that way you don't have to write to the registry and take a chance of conflicting with another application. Basically when your EXE is run windows looks at the manifest and virtualizes the COM information allowing your process to make the needed COM calls.

InstallShield 12+ has a wizard to assist in creating this.

http://kb.flexerasoftware.com/doc/Helpnet/installshield12helplib/IWPRegFreeComWiz.htm

If you still have to support Windows 2000 or you have requirements that makes the above not possible, I would go ahead and install the files to System32 as permenant components and extract the COM metadata into your MSI. The component wizard will help you set that up.

所有深爱都是秘密 2024-09-19 11:06:07

我们使用 Click 一次,因此这可能适用也可能不适用,但是......
由于某种原因,您必须在发布应用程序文件中将每个 DLL 设置为“包含”而不是“包含(自动)”。

We use Click once so this may or may not apply but...
For some reason you have to set each DLL to "Include" not "Include (Auto)" in the publish application files.

烏雲後面有陽光 2024-09-19 11:06:07

我们在 WinForms 产品中使用 Infragistics 库。 Infragistics 不提供可重新分发的包,因此您需要手动处理分发它们。只需包含您的产品所依赖的所有 dll 并将其安装到本地安装目录即可。在运行时使用 Infragistics dll 不需要进行任何额外的设置。

We use Infragistics libraries in our WinForms products. Infragistics does not provide a redistributable package, so you will need to handle distributing them manually. Just include all the dlls that your product depends on and install them to the local installation directory. There is no additional setup that needs to be done to use the Infragistics dlls at runtime.

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