.exe和Inno Setup返回的.exe之间的区别 - 已安装的应用程序失败 [英] Difference between .exe and the .exe returned from Inno Setup - Installed application fails

查看:119
本文介绍了.exe和Inno Setup返回的.exe之间的区别 - 已安装的应用程序失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不知道是什么问题,但由于某些原因,我从Inno Setup运行安装程序后得到的.exe文件和.exe文件不一样。

I don't know what the issue is, but for some reason my .exe file and the .exe file that I get after running the installer from Inno Setup are not the same.

没有抛出错误代码或任何东西,它编译得很完美,但是我的应用程序中的工具栏(程序是用Java swing制作的)没有正确包含它们的按钮。我有两个持有JButton的JToolBars(每个按钮都有一个图像)。当我使用Launch4j将我的程序包装到exe中时它运行得很好,但是当我运行我在使用Inno Setup后得到的exe时,那些工具栏没有按住右键。它们缩小到更小的尺寸,按钮非常小,可能是2px x 2px。除非盘旋,否则也看不到它们。为什么Inno Setup的exe与原来的exe不同?

No error codes thrown or anything, it compiles perfectly, but the toolbars in my application (the program was made with Java swing) do not contain their buttons correctly. I have two JToolBars that hold JButtons (each button has an image). When I used Launch4j to wrap my program into an exe it worked perfectly, but when I run the exe I get after using Inno Setup, those toolbars don't hold the buttons right. They have shrunk down to a much smaller size, and the buttons are really small, maybe 2px x 2px. They also can't be seen unless hovered over. Why would the exe from Inno Setup be any different from the original one?

推荐答案

Inno Setup不会修改已安装的EXE文件以任何方式。

The Inno Setup does not modify the installed EXE files in any way.

如果应用程序在安装时失败,那么本身并不是Inno Setup的错误,这在部署过程中是相当错误的。

If the application is failing when installed, it's not Inno Setup's fault per se, it's rather fault in the deployment process.

安装的应用程序失败的可能原因很多,包括但不限于:

Possible reasons why the installed application is failing are numerous, including, but not limited to:


  • 您省略了一些依赖项


    • DLL库

    • .NET Framework

    • Java运行时环境

    • 其他运行时

    • COM / ActiveX对象等

    • You omitted some dependency
      • DLL library
      • .NET Framework
      • Java Runtime Environment
      • other runtime
      • COM/ActiveX object, etc.

      • 一个文件

      • 一个注册表项[包括COM / ActiveX对象注册]

      • 环境变量等。

      这篇关于.exe和Inno Setup返回的.exe之间的区别 - 已安装的应用程序失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆