Inno Setup Components列表使用错误的颜色

时间:2016-05-30 12:35:13

标签: inno-setup

enter image description here

如何更改组件选项文本的txt颜色?由于一个奇怪的原因,所选组件变为白色,在灰色背景下难以阅读。

脚本代码示例

[Setup]

VersionInfoVersion=1
DefaultDirName={pf}\MyComp\MyApp
AppName=myapp       
AppVerName=App
DefaultGroupName=MyApp
OutputBaseFilename=MyApp_v1_setup
Compression=lzma2
SolidCompression=yes
WizardImageFile=setup_inno.bmp
WizardSmallImageFile=setup_inno_small.bmp
OutputDir=.\OutputSetup
LanguageDetectionMethod=locale
PrivilegesRequired=admin


[Files]

Source: "./Binaries/MyApp.Exe"; DestDir: "{app}"; CopyMode: alwaysskipifsameorolder; Components: My_App;


[Languages]
Name: "gr"; MessagesFile: "Greek.isl"
Name: "en"; MessagesFile: "compiler:Default.isl"


[Types]
Name: "full"; Description: "full";
Name: "custom"; Description: "custom"; Flags: iscustom

[Components]
Name: "My_App"; Description: "component 1"; Types: full custom;
Name: "DirectX"; Description: "component 2"; Types: full custom;

1 个答案:

答案 0 :(得分:1)

安装unicode版本解决了这个问题。