Difference between .exe and the .exe returned from Inno Setup - Installed application fails [duplicate]

折月煮酒 提交于 2019-11-29 12:54:26

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

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:

  • You omitted some dependency
    • DLL library
    • .NET Framework
    • Java Runtime Environment
    • other runtime
    • COM/ActiveX object, etc.
  • The application requires some configuration
    • a file
    • a registry key [including COM/ActiveX object registration]
    • an environment variable, etc.
  • Some applications require a write access to their folder. As Inno Setup installs the application to "Program Files" folder by default, where write access is restricted, such applications fail.

If anyone wants to know how I solved it, I just moved the .exe to the installer's directory, and when it prompts you to add your .exe in Inno Setup, it should be in the directory that it opens to by default. Not sure why that worked (or if that's a requirement for the program), but it worked for me

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!