Installation Inno安装程序不执行已安装的文件

Installation Inno安装程序不执行已安装的文件,installation,inno-setup,executable,Installation,Inno Setup,Executable,我正在尝试将不同的软件放在一个伞下,并使用Inno setup进行一个完整的设置。软件包括.NET framework、SQL Server 2008 R2 Express、Windows Installer和Crystal Reports 我面临的问题在[文件]部分。我已经定义了函数名,但在执行设置时没有函数执行 [Files] Source: "D:\Inno Setup\Prerequisites\WindowsInstaller4_5\WindowsXP-KB942288-v3-x8

我正在尝试将不同的软件放在一个伞下,并使用Inno setup进行一个完整的设置。软件包括.NET framework、SQL Server 2008 R2 Express、Windows Installer和Crystal Reports

我面临的问题在
[文件]
部分。我已经定义了函数名,但在执行设置时没有函数执行

[Files] 

Source: "D:\Inno Setup\Prerequisites\WindowsInstaller4_5\WindowsXP-KB942288-v3-x86.exe"; DestDir: "{app}"; DestName:"wi.exe"; Check: checkwixp86; AfterInstall: InstallWindowsInstaller
Source: "D:\Inno Setup\Prerequisites\WindowsInstaller4_5\WindowsXP-KB942288-v3-x86.exe"; DestDir: "{app}"; DestName:"wi.exe"; Check: checkwi86; AfterInstall: InstallWindowsInstaller
Source: "D:\Inno Setup\Prerequisites\WindowsInstaller4_5\WindowsXP-KB942288-v3-x86.exe"; DestDir: "{app}"; DestName:"wi.exe"; Check: checkwi64; AfterInstall: InstallWindowsInstaller

Source: "D:\Inno Setup\Prerequisites\dotnetfx35\NDP451-KB2858728-x86-x64-AllOS-ENU.exe"; DestDir: "{app}"; DestName:"dotnetfx35.exe"; Check: Checkdotnet; AfterInstall: InstallFramework;

Source: "D:\Inno Setup\Prerequisites\CrystalReports105\CRRuntime_32bit_13_0_5.msi"; DestDir: "{app}"; DestName:"cr.exe"; Check: ShouldInstallCR86; AfterInstall: InstallCrystalReports
Source: "D:\Inno Setup\Prerequisites\CrystalReports105\CRRuntime_64bit_13_0_5.msi"; DestDir: "{app}"; DestName:"cr.exe"; Check: ShouldInstallCR64; AfterInstall: InstallCrystalReports

Source: "D:\Inno Setup\Prerequisites\SQLServer2008R2SP2\SQLEXPRWT_x86_ENU.exe"; DestDir: "{app}"; DestName:"sql.exe"; Check: CheckSQLServer86; AfterInstall: InstallSQLServer
Source: "D:\Inno Setup\Prerequisites\SQLServer2008R2SP2\SQLEXPRWT_x64_ENU.exe"; DestDir: "{app}"; DestName:"sql.exe"; Check: CheckSQLServer64; AfterInstall: InstallSQLServer
唯一的“安装”文件,它不运行它们

为了这个目的