我正在尝试将 Inno Setup 用于我的软件。目前,我的软件每天从不同的 Geo 下载超过 6000 次。问题是我的软件对每个地理位置的执行方式不同,因此我为每个地理位置创建了不同的 exe。目前正在使用 Inno Setup 作为我的软件的下载管理器。现在如何找到用户来自哪个地理位置,我如何告诉我的 Inno Setup 脚本下载 exe,用户来自哪里。
目前我现在拥有的:
#define MyAppName ""
#define MyAppVersion "1"
#define _URL ""
#define _exeFileName "setup.exe"
#include ReadReg(HKEY_LOCAL_MACHINE,'Software\Sherlock Software\InnoTools\Downloader','ScriptPath','');
[Setup]
AppId={{7B0D8E4E-BAFD-400B-B775-0DD7D8FBAE08}
AppName={#MyAppName}
AppVersion={#MyAppVersion};
AppVerName={#MyAppName} {#MyAppVersion}
DefaultGroupName={#MyAppName}
DisableProgramGroupPage=yes
DisableFinishedPage=yes
OutputBaseFilename={#MyAppName}{#MyAppVersion}
Compression=lzma
SolidCompression=yes
DisableWelcomePage=yes
DisableReadyPage=yes
DisableReadyMemo=True
Uninstallable=no
RestartIfNeededByRun=no
CreateAppDir=False
UsePreviousGroup=False
如果有人可以帮助我解决这个问题,那就太好了。
提前致谢