mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-16 10:40:19 +00:00
Implement fallback procedures for Inno Download Plugin
Added no-op fallback procedures for Inno Download Plugin.
This commit is contained in:
committed by
GitHub
parent
b77690d046
commit
a384b8e295
@@ -5,7 +5,10 @@
|
|||||||
;#define PROJECTDIR "C:\...\zoitechat\win32\installer\"
|
;#define PROJECTDIR "C:\...\zoitechat\win32\installer\"
|
||||||
|
|
||||||
;http://mitrich.net23.net/?/inno-download-plugin.html
|
;http://mitrich.net23.net/?/inno-download-plugin.html
|
||||||
|
#ifexist "idp.iss"
|
||||||
|
#define USE_INNO_DOWNLOAD_PLUGIN
|
||||||
#include <idp.iss>
|
#include <idp.iss>
|
||||||
|
#endif
|
||||||
|
|
||||||
[Setup]
|
[Setup]
|
||||||
AppName=ZoiteChat
|
AppName=ZoiteChat
|
||||||
@@ -203,6 +206,22 @@ Name: "{commonappdata}\Microsoft\Internet Explorer\Quick Launch\ZoiteChat"; File
|
|||||||
BeveledLabel= {#APPNAM}
|
BeveledLabel= {#APPNAM}
|
||||||
|
|
||||||
[Code]
|
[Code]
|
||||||
|
#ifndef USE_INNO_DOWNLOAD_PLUGIN
|
||||||
|
// The Inno Download Plugin isn't always installed in CI environments.
|
||||||
|
// Provide no-op fallback procedures so installer compilation still succeeds.
|
||||||
|
procedure idpDownloadAfter(PageID: Integer);
|
||||||
|
begin
|
||||||
|
end;
|
||||||
|
|
||||||
|
procedure idpClearFiles;
|
||||||
|
begin
|
||||||
|
end;
|
||||||
|
|
||||||
|
procedure idpAddFile(URL: String; Filename: String);
|
||||||
|
begin
|
||||||
|
end;
|
||||||
|
#endif
|
||||||
|
|
||||||
/////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////
|
||||||
procedure InitializeWizard;
|
procedure InitializeWizard;
|
||||||
begin
|
begin
|
||||||
|
|||||||
Reference in New Issue
Block a user