【发布时间】:2016-03-05 17:23:47
【问题描述】:
[Components]
Name: "Slasher"; Description: "Dagon Slasher"; Types: Slasher Full
Name: "Frankenstein"; Description: "Dagon Frankenstein"; Types: Frankenstein Full
[Types]
Name: "Full"; Description: "Dagon Video Tools"
Name: "Slasher"; Description: "Dagon Slasher"
Name: "Frankenstein"; Description: "Dagon FrankenStein"
[Tasks]
Name: "Debug"; Description: "Debug. Warning: This will result in a non-functional ""Join in FrankenStein"" button in the Tools Menu."; Components: not Slasher
Name: "Vid"; Description: "Install Extra Codecs for Frankenstein"; Flags: unchecked; Components: not Slasher
我需要Warning: This will result in... 以红色字体显示在新行上。我在InnoSetup: How to add line break into component description 中找到了TLama's solution,但结果是List index out of bounds(0),因为如您所见,该任务在我的脚本中有条件地显示。
【问题讨论】: