2
我正在使用Inno安裝程序,我需要安裝第三方軟件。但是,如果我取消第三方安裝,則安裝程序將跳過安裝後運行任務並繼續完成提示重新啓動計算機的安裝嚮導。即使在取消第三方安裝後,是否有辦法繼續安裝後安裝?這裏是示例代碼。Inno安裝程序在第三方軟件安裝被取消時跳過安裝後
[Tasks]
Name: "install_3rdparty"; Description: "Install 3rd party"; GroupDescription: "Prerequisite software:"
[Files]
Source: "driver\3rdparty.exe"; DestDir: {app}\driver
[Run]
Filename: "{app}\driver\3rdparty.exe"; StatusMsg: "Installing 3rd party"; Check: IsWin64(); Tasks: install_3rdparty; Flags: skipifsilent
Filename: "{app}\my_program.exe"; Flags: postinstall; Description: "Launch my program"