mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-17 03:00:19 +00:00
Clean up installer script by removing unused code
Removed Inno Download Plugin fallback procedures.
This commit is contained in:
committed by
GitHub
parent
a384b8e295
commit
8338e701b4
@@ -5,10 +5,7 @@
|
|||||||
;#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
|
||||||
@@ -206,22 +203,6 @@ 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