Use https for BeyondCompare download, use native decompress in for VeraCrypt (requires PEBakery 7z bin updated to 23.01)

This commit is contained in:
Homes32
2023-10-08 19:22:08 -05:00
parent ebc158ef07
commit 5ac9085618
2 changed files with 6 additions and 10 deletions

View File

@@ -35,8 +35,8 @@ Author=Homes32
Level=5 Level=5
Selected=False Selected=False
Mandatory=False Mandatory=False
Version=1.1.6.0 Version=1.1.7.0
Date=2023-09-29 Date=2023-10-08
[Variables] [Variables]
%ProgramFolder%="Beyond Compare 4" %ProgramFolder%="Beyond Compare 4"
@@ -234,7 +234,7 @@ StrFormat,RTRIM,%Lang%,1,%Lang%
If,%Lang%,Equal,"en",Set,%Lang%,"" If,%Lang%,Equal,"en",Set,%Lang%,""
Else,Set,%Lang%,"-%Lang%" Else,Set,%Lang%,"-%Lang%"
Set,%DownloadURL%,"http://www.scootersoftware.com/files/BCompare%Lang%-%ProgramVer%.exe" Set,%DownloadURL%,"https://www.scootersoftware.com/files/BCompare%Lang%-%ProgramVer%.exe"
Echo,"Downloading %ScriptTitle%..." Echo,"Downloading %ScriptTitle%..."
WebGet,%DownloadURL%,"%ProgramsCache%\%ProgramFolder%\%SetupFile%",NOERR WebGet,%DownloadURL%,"%ProgramsCache%\%ProgramFolder%\%SetupFile%",NOERR

View File

@@ -35,8 +35,8 @@ Author=Homes32
Level=5 Level=5
Selected=False Selected=False
Mandatory=False Mandatory=False
Version=1.1.0.0 Version=1.1.1.0
Date=2023-10-01 Date=2023-10-08
[Variables] [Variables]
%ProgramFolder%="VeraCrypt" %ProgramFolder%="VeraCrypt"
@@ -53,11 +53,7 @@ If,%cb_RunFromRam%,Equal,True,RunFromRam
// Extract // Extract
ExtractAllFiles,%ScriptFile%,Setup,%ProjectTemp% ExtractAllFiles,%ScriptFile%,Setup,%ProjectTemp%
Decompress,"%ProjectTemp%\%SetupFile%","%ProjectTemp%\%ProgramFolder%"
// As of 10/02/23 the internal decompress command has not been updated for 7z arm filter
//Decompress,"%ProjectTemp%\%SetupFile%","%ProjectTemp%\%ProgramFolder%"
7z,"x -y #$q%ProjectTemp%\%SetupFile%#$q -o#$q%ProjectTemp%\%ProgramFolder%#$q"
If,Not,#r,Equal,0,Halt,"Error: Failed to extract [%SetupFile%]. The error code returned was [#r]."
DirCopy,"%ProjectTemp%\%ProgramFolder%\docs","%TargetPrograms%\%ProgramFolder%" DirCopy,"%ProjectTemp%\%ProgramFolder%\docs","%TargetPrograms%\%ProgramFolder%"
DirCopy,"%ProjectTemp%\%ProgramFolder%\Languages","%TargetPrograms%\%ProgramFolder%" DirCopy,"%ProjectTemp%\%ProgramFolder%\Languages","%TargetPrograms%\%ProgramFolder%"