简体   繁体   English

Win / Forms:如何在Advanced Installer中包括依赖项(DLLS)

[英]Win/Forms: How do I include Dependencies (DLLS) in Advanced Installer

I am total beginner in wondows forms & c#, so please bear with me. 我是Windows窗体和C#的初学者,所以请多多包涵。

I am integrating Chromium Embeded (CEF) into the project for embedded browsers. 我正在将Chromium Embeded(CEF)集成到嵌入式浏览器的项目中。

This is running all fine and dandy in Visual Studio, However when I build the App using my Advanced Installer trial it is not including (I believe) the .dll files which I imported into Visual Studio and it is also missing the .dll files which I places in my Bin folder. 这在Visual Studio中可以正常运行,但是当我使用Advanced Installer试用版构建应用程序时,它不包括(我相信)我导入到Visual Studio中的.dll文件,并且它也缺少.dll文件,我放在我的Bin文件夹中。

I have been working along tutorials like this to include CEF : http://joelverhagen.com/blog/2013/12/headless-chromium-in-c-with-cefglue/ 我一直在研究包括CEF在内的此类教程: http : //joelverhagen.com/blog/2013/12/headless-chromium-in-c-with-cefglue/

This result when I run the .msi is the "The application has stopped working" message and a error message 当我运行.msi时,此结果是“应用程序已停止工作”消息和错误消息

Problem signature: Problem Event Name: APPCRASH Application Name: HotSpot Pro.exe Application Version: 1.0.0.0 Application Timestamp: 5385b6bc Fault Module Name: libcef.DLL Fault Module Version: 3.1650.1522.0 Fault Module Timestamp: 52901557 Exception Code: 4000001f Exception Offset: 00117430 OS Version: 6.1.7601.2.1.0.256.1 Locale ID: 2057 Additional Information 1: fe58 Additional Information 2: fe5878624072c940bf7f09e916e37fe3 Additional Information 3: 5e84 Additional Information 4: 5e842ab4bb98e8958a26054cfcd97bd4 问题签名:问题事件名称:APPCRASH应用程序名称:HotSpot Pro.exe应用程序版本:1.0.0.0应用程序时间戳:5385b6bc故障模块名称:libcef.DLL故障模块版本:3.1650.1522.0故障模块时间戳:52901557异常代码:4000001f异常偏移量:00117430操作系统版本:6.1.7601.2.1.0.256.1语言环境ID:2057附加信息1:fe58附加信息2:fe5878624072c940bf7f09e916e37fe3附加信息3:5e84附加信息4:5e842ab4bb98e8958a26054cfcd97bd4

Does anyone know how to include these files in the .msi installer? 有谁知道如何在.msi安装程序中包含这些文件? Or is something else going terribly wrong? 还是其他地方出了什么问题?

Thanks, 谢谢,

I assume you are using the full GUI version Advanced Installer, not the VS extension? 我假设您使用的是完整的GUI版本的Advanced Installer,而不是VS扩展? If you are using the full version of your application, just go to Files and Folders, there you can either drag and drop the files missing, if you know which does are, or right click on the main application executable/DLLs and from the context menu select "Add Dependencies". 如果您使用的是应用程序的完整版,只需转到“文件和文件夹”,您可以在其中拖放丢失的文件(如果知道是哪个文件),或者右键单击主应用程序的可执行文件/ DLL,并从上下文中单击右键。菜单中选择“添加依赖项”。

This option should help you adding the project the dependencies required. 此选项应帮助您添加项目所需的依赖项。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM