Modified CrystalDiskInfo.script and CrystalDiskMark.script downloads to use .zip release package.

This commit is contained in:
Homes32
2025-06-21 17:17:59 -05:00
parent 9490675873
commit 19b4b824c7
2 changed files with 14 additions and 16 deletions

View File

@@ -32,9 +32,9 @@
Title=CrystalDiskMark Title=CrystalDiskMark
Author=Homes32 Author=Homes32
Level=5 Level=5
Version=1.0.2.0 Version=1.1.0.0
Description=CrystalDiskMark is a simple disk benchmark software. Description=CrystalDiskMark is a simple disk benchmark software.
Date=2025-04-29 Date=2025-06-21
Selected=False Selected=False
Mandatory=False Mandatory=False
@@ -43,7 +43,7 @@ Mandatory=False
%ProgramExex86%="DiskMark32.exe" %ProgramExex86%="DiskMark32.exe"
%ProgramExex64%="DiskMark64.exe" %ProgramExex64%="DiskMark64.exe"
%DownloadURL%=https://sourceforge.net/projects/crystaldiskmark/files/latest/download %DownloadURL%=https://sourceforge.net/projects/crystaldiskmark/files/latest/download
%SetupFile%="CrystalDiskMark.exe" %SetupFile%="CrystalDiskMark.zip"
// CrystalDiskMark v8.0.6 (and possibly earlier versions) does not correctly identify and process .ini files in the same // CrystalDiskMark v8.0.6 (and possibly earlier versions) does not correctly identify and process .ini files in the same
// directory as the .exe and will always look in the %AppData% folder for the settings. // directory as the .exe and will always look in the %AppData% folder for the settings.
%ConfigFilex86%="%TargetAppData%\%ProgramFolder%\DiskMark32.ini" %ConfigFilex86%="%TargetAppData%\%ProgramFolder%\DiskMark32.ini"
@@ -93,11 +93,10 @@ If,%cb_PinToStartMenu%,Equal,True,PinShortcut,StartMenu,Auto,"%PEPrograms%\%Prog
[ExtractProgram] [ExtractProgram]
Echo,"Extracting files..." Echo,"Extracting files..."
GetParam,1,%DestDir% GetParam,1,%DestDir%
InnoExtract,%ProgramsCache%\%ProgramFolder%\%SetupFile%,"%ProjectTemp%\%ProgramFolder%" Decompress,"%ProgramsCache%\%ProgramFolder%\%SetupFile%",%DestDir%
FileDeleteEx,"%ProjectTemp%\%ProgramFolder%\{App}\DiskMarkA64.exe" FileDeleteEx,"%DestDir%\DiskMarkA64.exe"
If,%SourceArch%,Equal,x64,FileDeleteEx,"%ProjectTemp%\%ProgramFolder%\{App}\%ProgramExex86%" If,%SourceArch%,Equal,x64,FileDeleteEx,"%DestDir%\%ProgramExex86%"
Else,FileDeleteEx,"%ProjectTemp%\%ProgramFolder%\{App}\%ProgramExex64%" Else,FileDeleteEx,"%DestDir%\%ProgramExex64%"
FileCopy,"%ProjectTemp%\%ProgramFolder%\{App}\*.*",%DestDir%
[#DownloadProgram#] [#DownloadProgram#]
// =============================================================================================================================== // ===============================================================================================================================

View File

@@ -32,9 +32,9 @@
Title=CrystalDiskInfo Title=CrystalDiskInfo
Author=Homes32 Author=Homes32
Level=5 Level=5
Version=1.0.1.0 Version=1.1.0.0
Description=CrystalDiskInfo is an Open Source utility that monitors and displays the health of your hard drive, including basic information, S.M.A.R.T. values, and disk temperature. Description=CrystalDiskInfo is an Open Source utility that monitors and displays the health of your hard drive, including basic information, S.M.A.R.T. values, and disk temperature.
Date=2025-04-29 Date=2025-06-21
Selected=False Selected=False
Mandatory=False Mandatory=False
@@ -43,7 +43,7 @@ Mandatory=False
%ProgramExex86%="DiskInfo32.exe" %ProgramExex86%="DiskInfo32.exe"
%ProgramExex64%="DiskInfo64.exe" %ProgramExex64%="DiskInfo64.exe"
%DownloadURL%=https://sourceforge.net/projects/crystaldiskinfo/files/latest/download %DownloadURL%=https://sourceforge.net/projects/crystaldiskinfo/files/latest/download
%SetupFile%="CrystalDiskInfo.exe" %SetupFile%="CrystalDiskInfo.zip"
%ConfigFile%="%TargetPrograms%\%ProgramFolder%\DiskInfo.ini" %ConfigFile%="%TargetPrograms%\%ProgramFolder%\DiskInfo.ini"
[Process] [Process]
@@ -94,11 +94,10 @@ If,%cb_PinToStartMenu%,Equal,True,PinShortcut,StartMenu,Auto,"%PEPrograms%\%Prog
[ExtractProgram] [ExtractProgram]
Echo,"Extracting files..." Echo,"Extracting files..."
GetParam,1,%DestDir% GetParam,1,%DestDir%
InnoExtract,%ProgramsCache%\%ProgramFolder%\%SetupFile%,"%ProjectTemp%\%ProgramFolder%" Decompress,"%ProgramsCache%\%ProgramFolder%\%SetupFile%",%DestDir%
FileDeleteEx,"%ProjectTemp%\%ProgramFolder%\{App}\DiskInfoA64.exe" FileDeleteEx,"%DestDir%\DiskInfoA64.exe"
If,%SourceArch%,Equal,x64,FileDeleteEx,"%ProjectTemp%\%ProgramFolder%\{App}\%ProgramExex86%" If,%SourceArch%,Equal,x64,FileDeleteEx,"%DestDir%\%ProgramExex86%"
Else,FileDeleteEx,"%ProjectTemp%\%ProgramFolder%\{App}\%ProgramExex64%" Else,FileDeleteEx,"%DestDir%\%ProgramExex64%"
FileCopy,"%ProjectTemp%\%ProgramFolder%\{App}\*.*",%DestDir%
[#DownloadProgram#] [#DownloadProgram#]
// =============================================================================================================================== // ===============================================================================================================================