Add call to download, if file is missing

This commit is contained in:
Peter Siering
2022-12-04 15:21:25 +01:00
parent bc9246f7ed
commit cd8d48b272

View File

@@ -35,8 +35,8 @@ Author=Homes32
Level=5
Selected=False
Mandatory=False
Version=1.1.3.0
Date=2022-04-11
Version=1.1.4.0
Date=2022-12-04
[Variables]
%ProgramFolder%="Attribute Changer"
@@ -169,6 +169,7 @@ RegHiveUnLoad,Tmp_Software
// ===============================================================================================================================
[ExtractProgram]
Echo,"Extracting files..."
If,Not,ExistFile,"%ProgramsCache%\%ProgramFolder%\%SetupFile%",Run,%ScriptFile%,DownloadProgram
InnoExtract,"%ProgramsCache%\%ProgramFolder%\%SetupFile%","%ProjectTemp%\%ProgramFolder%"
[#DownloadProgram#]