简体   繁体   English

Inno Setup-Setup.exe在本地运行,但不能下载

[英]Inno Setup - Setup.exe works locally, but not as a download

I compiled my first program this with Inno setup for a python 2.7 script with connections to opencv and numpy. 我用Inno安装程序编译了我的第一个程序,以python 2.7脚本连接到opencv和numpy。 The setup.exe works perfectly on my computer locally. setup.exe在我的本地计算机上完美运行。 It installs, it runs, there are no detectable errors. 它可以安装,运行,没有可检测的错误。

When i go to make the setup.exe available through github: https://github.com/bw4sz/OpenCV_HummingbirdsMotion/tree/master/Installer/Output 当我通过github提供setup.exe时: https : //github.com/bw4sz/OpenCV_HummingbirdsMotion/tree/master/Installer/Output

I can download the setup.exe, but on the SAME computer, it won't install: Error reads, the Windows version of the software is not compatible with the version you are running, check with the system if you need a x86 (64) or 32 bit version. 我可以下载setup.exe,但无法在同一台计算机上安装:错误读取,该软件的Windows版本与您正在运行的版本不兼容,请与系统核对是否需要x86(64 )或32位版本。

This is confusing to me, since the program was designed on this machine, and i just need to distribute it. 这使我感到困惑,因为该程序是在此计算机上设计的,我只需要分发它即可。 Do i fundamentally not understand what Inno Setup does, ie that a user needs to do more than download the setup.exe. 我是否根本上不了解Inno Setup的功能,即用户除了下载setup.exe外还需要做更多的事情。 I can provide scripts if needed. 如果需要,我可以提供脚本。

Can someone point me in the right direction. 有人可以指出我正确的方向。

Thanks, 谢谢,

Ben

It depends on github. 这取决于github。 In a quick way I found this link , hope it help. 我很快找到了此链接 ,希望对您有所帮助。

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

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