[英]Installed files are not executed by Inno Setup
我試圖將不同的軟件放在一個傘下,並使用 Inno Setup 進行一個整體設置。 包含的軟件包括 .NET 框架、SQL Server 2008 R2 Express、Windows Installer 和 Crystal Reports。
我面臨的問題是在[Files]
部分。 我已經定義了函數名稱,但是在執行安裝程序時沒有執行任何函數。
[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
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.