Inno Setup:编译器错误未找到所需的功能或过程

时间:2013-04-01 22:48:02

标签: compiler-errors inno-setup

我需要你的帮助。编译时总是出错。

[Compiler Error]
Line 749:
Required function or procedure 'AcrobatExists' not found.

InnoSetupVersion中的代码= 5.2.3

[Components]
Name: "g1"; Description: "MyGame01"; Types: "games"; 
Name: "foxit"; Description: "Foxit"; Types: "games"; ExtraDiskSpaceRequired: "30000000"; Check: "not AcrobatExists";

我应该使用哪个版本? Inno Setup v5.5.3或v5.2.3?


我应该删除吗?

Check: "not AcrobatExists"

这是在文件中为foxit

   [Files]
    Source: "{tmp}\FoxitReader.exe"; DestDir: "{tmp}"; Flags: deleteafterinstall dontcopy

正确的代码怎么样? PLS


是的,我想修复代码。如果我禁用错误(在此之前),我会收到下一个错误。

;Name: "foxit"; Description: "Foxit"; Types: "games"; ExtraDiskSpaceRequired: "30000000"; Check: "not AcrobatExists";

新错误:

[Compiler Error]
Line 723:
Required function or procedure 'IsVistaOrWindows7' not found.

代码:

        [Icons]
Name: "{localappdata}\Microsoft\Windows\GameExplorer\{{B2C9586B-19AF-418A-B5B1-9C6055F9E946}\PlayTasks\1\MyGame01"; Filename: "{app}\MyGame01.exe"; WorkingDir: "{app}\"; Components: g1; Check: "IsVistaOrWindows7";
Name: "{commonappdata}\Microsoft\Windows\GameExplorer\{{B2C9586B-19AF-418A-B5B1-9C6055F9E946}\PlayTasks\1\MyGame01"; Filename: "{app}\MyGame01.exe"; WorkingDir: "{app}\"; Components: g1; Check: "IsVistaOrWindows7";

如何正确编译文件?我不想失去检查功能。抱歉我的英语不好。

0 个答案:

没有答案