0
我有类似:Innosetup在经过变种的[设置],以程序[代码]
[Setup]
ArchitecturesInstallIn64BitMode = {#MyArchInstallIn64BitMode}
[Code]
procedure CurStepChanged(CurStep: TSetupStep);
var
Value: String;
I: Integer;
LogList: TStringList;
begin
if (ArchitecturesInstallIn64BitMode = 'x64') then begin
//code
end else begin
//else code
end;
凡ArchitecturesInstallIn64BitMode是包括。我如何将ArchitecturesInstallIn64BitMode传递到我的过程中?我希望它被宣布为一个字符串,这样我就可以在其上
你问如何确定在脚本中,如果你正在做32位或64位安装? –
如果您只是在寻找架构,您可以在代码中使用它:'ProcessorArchitecture'。 http://www.jrsoftware.org/ishelp/index.php?topic=isxfunc_processorarchitecture – Matt