Inno setup 安装结束后是否可以运行多个可执行文件?
我想在我的安装程序中自动安装redist和directx,所以当安装程序结束安装游戏时,它会自动安装其他重要的程序,就像这两个。我正在使用inno。有人知道如何使用?stackoverflow上已经有了答案:@MrTux代码对我不起作用。我已经尝试过了。我需要更容易理解的东西,请告诉我们您已经尝试了什么,也许我们可以帮助您修复。您正在执行的内容是所谓的先决条件,应该在应用程序之前安装。安装允许设置,例如,在继续之前重新启动系统。Inno安装程序具有用于此目的的事件。除了您应该检查您要安装的版本是否不早于或与用户计算机上已安装的版本相同,并且只有在不执行安装时才检查。脚本看起来如何?Inno setup 安装结束后是否可以运行多个可执行文件?,inno-setup,executable,Inno Setup,Executable,我想在我的安装程序中自动安装redist和directx,所以当安装程序结束安装游戏时,它会自动安装其他重要的程序,就像这两个。我正在使用inno。有人知道如何使用?stackoverflow上已经有了答案:@MrTux代码对我不起作用。我已经尝试过了。我需要更容易理解的东西,请告诉我们您已经尝试了什么,也许我们可以帮助您修复。您正在执行的内容是所谓的先决条件,应该在应用程序之前安装。安装允许设置,例如,在继续之前重新启动系统。Inno安装程序具有用于此目的的事件。除了您应该检查您要安装的版本是
[Setup]
; NOTE: The value of AppId uniquely identifies this application.
; Do not use the same AppId value in installers for other applications.
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
AppId={{E4F9F679-6E2B-46A2-B7CE-6FEAD68186AA}
AppName={#MyAppName}
AppVersion={#MyAppVersion}
;AppVerName={#MyAppName} {#MyAppVersion}
DefaultDirName={pf}\{#MyAppName}
DefaultGroupName={#MyAppName}
AllowNoIcons=yes
OutputBaseFilename=setup
SetupIconFile=D:\Igrice\Akcija\Outlast Whistleblower\Icon.ico
Compression=lzma
SolidCompression=yes
SourceDir=d:\
[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"
[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: " {cm:AdditionalIcons}"; Flags: unchecked
[Files]
Source: "D:\Igrice\Akcija\Outlast Whistleblower\OutlastLauncher.exe"; DestDir: " {app}"; Flags: ignoreversion
Source: "D:\Igrice\Akcija\Outlast Whistleblower\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
[Icons]
Name: "{group}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
Name: "{group}\{cm:UninstallProgram,{#MyAppName}}"; Filename: "{uninstallexe}"
Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon
[Run]
Filename: "{app}\DXSETUP.EXE"; Description: "Launch application"; Flags: postinstall nowait skipifsilent unchecked
Filename: "{app}\vcredist_x64.EXE"; Description: "Launch application"; Flags: postinstall nowait skipifsilent unchecked
Filename: "{app}\vcredist_x86.EXE"; Description: "Launch application"; Flags: postinstall nowait skipifsilent unchecked