简体   繁体   English

Installshield限量版-应用程序安装错误

[英]Installshield limited edition - Application installation error

I'm using InstallShield Limited Edition for my C# project in visual studio 2013. My solution includes eight projects. 我在Visual Studio 2013中为我的C#项目使用InstallShield Limited Edition 。我的解决方案包括八个项目。

If I initially create a new InstallShield project for the entire solution and generate the install files everything works fine. 如果最初为整个解决方案创建一个新的InstallShield项目并生成安装文件,则一切正常。 I can install my application and run it. 我可以安装我的应用程序并运行它。 After that I make any change in one of my projects, rebuild the entire solution and install the new created InstallShield installation file. 之后,我对我的项目之一进行了任何更改,请重建整个解决方案并安装新创建的InstallShield安装文件。 That's where my problem starts. 那是我的问题开始的地方。

The installation works fine, but my application does not start anymore. 安装工作正常,但是我的应用程序无法启动。

Immediately after starting the application, it throws an exception. 启动应用程序后,立即引发异常。 If I delete the entire InstallShield project in my solution and create a new one again everything works fine again. 如果我在解决方案中删除了整个InstallShield项目并再次创建一个新项目,则一切将再次正常运行。 (Installation + application). (安装+应用程序)。

The exception/error I get is the following: 我得到的异常/错误如下:

Problem signature: Problem Event Name: CLR20r3 问题签名:问题事件名称:CLR20r3
Problem Signature 01: controller.exe 问题签名01:controller.exe
Problem Signature 02: 1.0.0.0 问题签名02:1.0.0.0
Problem Signature 03: 55dcae6a 问题签名03:55dcae6a
Problem Signature 04: PresentationFramework 问题签名04:PresentationFramework
Problem Signature 05: 4.0.30319.18408 问题签名05:4.0.30319.18408
Problem Signature 06: 52312f13 Problem Signature 07: 9d1 问题签名06:52312f13问题签名07:9d1
Problem Signature 08: f 问题签名08:f
Problem Signature 09: System.IO.FileLoadException 问题签名09:System.IO.FileLoadException
OS Version: 6.1.7601.2.1.0.256.48 作业系统版本:6.1.7601.2.1.0.256.48
Locale ID: 18441 语言环境ID:18441
Additional Information 1: dbaa 附加信息1:dbaa
Additional Information 2: dbaabd7b5abf4a09daa2dcf53831b2b4 附加信息2:dbaabd7b5abf4a09daa2dcf53831b2b4
Additional Information 3: c62a Additional Information 4: c62aad58d3308b9118d0dd699a78f759 附加信息3:c62a附加信息4:c62aad58d3308b9118d0dd699a78f759

So the problem shouldn't be my application itself. 因此,问题不应该是我的应用程序本身。 It seems that it is related to the InstallShield project. 似乎它与InstallShield项目有关。

Any change/build in my project after creating the initial InstallShield project in my solution triggers this error. 在解决方案中创建初始InstallShield项目后,项目中的任何更改/构建都会触发此错误。

Is there any parameter or whatever that I have to consider in the InstallShield project? 在InstallShield项目中是否有任何参数或我必须考虑的参数?

The reason why the WPF program is failing with FileLoadException, is the way JPG, PNG files are compiled. WPF程序失败并出现FileLoadException的原因是编译JPG,PNG文件的方式。 The Build Action is not correct. 生成操作不正确。

In my project I have a folder called "Resources", in this folder I add all the JPG, PNG files I need to show in my XAML. 在我的项目中,我有一个名为“资源”的文件夹,在该文件夹中,我需要在XAML中显示的所有JPG,PNG文件都添加。 Every JPG or PNG file has 每个JPG或PNG文件都有

"Build Action" set to "Resource" 将“构建操作”设置为“资源”

"Copy to Output Directory" set to "Do not copy". 将“复制到输出目录”设置为“不复制”。

在此处输入图片说明

In my XAML I can then refer to a JPG, like: 然后,在XAML中,我可以引用JPG,例如:

<Image Source="/Resources/Phonebook36.jpg" />

在此处输入图片说明

暂无
暂无

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

相关问题 使用InstallShield限量版在VS2010中为Windows窗体应用程序创建安装设置 - Create a Installation setup for a windows form application in VS2010 using InstallShield limited edition Icon InstallShield限量版2015 - Icon InstallShield Limited Edition 2015 用户的InstallShield限量版“快捷方式”选项? - InstallShield Limited edition “Shortcut” options to Users? InstallShield 2013限定版+ Visual Studio 2012 +安装程序类=错误1001 - InstallShield 2013 Limited Edition + Visual Studio 2012 + Installer Class = Error 1001 在InstallShield 2016 Premier Edition中进行此应用程序安装期间,如何执行应用程序代码(试用21天)? - How to execute application code during this application installation in InstallShield 2016 Premier Edition (21-days trial)? InstallShield 2015 Limited Edition中的语言文件中的特定字符 - Specific characters in language files in InstallShield 2015 Limited Edition Installshield Limited Edition拒绝添加扩展WPF工具包程序集 - Installshield Limited Edition refuses to add Extended WPF Toolkit assemblies 创建受installshield限制的应用程序时,是否可以通过Smartscreen筛选器? - Is there a way to pass Smartscreen filter when creating an application with installshield limited? 使用InstallShield Limited Edition Project生成.exe文件后,缺少System.Data.SqlServerCe.dll SQL Server CE 3.5参考 - System.Data.SqlServerCe.dll SQL Server CE 3.5 reference missing after generating .exe file using InstallShield Limited Edition Project 在InstallShield安装过程中如何更改应用程序设置? - How to change Application Settings during InstallShield Installation Process?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM