Inno setup 为什么';_issi.cfg文件在Inno安装程序中是否正常工作?

Inno setup 为什么';_issi.cfg文件在Inno安装程序中是否正常工作?,inno-setup,issi,Inno Setup,Issi,我编写此代码是为了在安装程序启动之前添加初始屏幕: [ISSI] #define ISSI_Splash "C:\ABoffice\Install\InnoSetupProject\Images\client.bmp" #define ISSI_Splash_T 5 #define ISSI_Splash_X 500 #define ISSI_Splash_Y 220 //#define ISSI_IncludePath "C:\ISSI" #include ISSI_IncludePath+

我编写此代码是为了在安装程序启动之前添加初始屏幕:

[ISSI]

#define ISSI_Splash "C:\ABoffice\Install\InnoSetupProject\Images\client.bmp"
#define ISSI_Splash_T 5
#define ISSI_Splash_X 500
#define ISSI_Splash_Y 220
//#define ISSI_IncludePath "C:\ISSI"
#include ISSI_IncludePath+"\_issi.isi"

[Setup]
AppName=Client AB OFFICE 
AppVersion=5.0
DefaultDirName={sd}\AB_Office\Client
说明书上说,我可以通过在ISSI文件夹中的“_ISSI.cfg”文件中设置一些预设来配置我的ISSI安装。 下面是我的“_issi.cfg”文件的外观:

[ISSI Configuration]
#define ISSI_IncludePath "C:\ISSI"
;#define ISSI_Constants "YYMDHMS"
;#define ISSI_ConstantsSeperator "."
;#define ISSI_Compression
;#define ISSI_BeveledLabel

[Setup]
OutputDir=C:\Inno Setup Output
但是,当我编译脚本时,会出现以下错误:

[ISPP]未声明的标识符:“ISSI_IncludePath”


我需要向代码中添加什么才能读取
\u issi.cfg

您正在
\u issi.cfg
中设置
issi\u IncludePath

然后,通过使用
issi\u IncludePath
引用.iss脚本,尝试将
\u issi.cfg
包含到.iss脚本中

这是一个好主意


可能您想在iss文件中设置
ISSI\u IncludePath

#define ISSI_IncludePath "C:\ISSI"

#include ISSI_IncludePath+"\_issi.isi"
然后,您可能需要从
\u ISSI.cfg
中删除
\define ISSI\u IncludePath