Fixed an issue where ventoy would extract from setup every run instead of using the cached version.

updated ventoy to v1.0.99
This commit is contained in:
Homes32
2024-06-17 22:23:02 -05:00
parent eedd4f9a8f
commit 1f3e2646f4

View File

@@ -30,28 +30,30 @@
[Main] [Main]
Title=Ventoy Title=Ventoy
Description=(v1.0.96) Ventoy is an open source tool used to create bootable USB devices capable of launching multiple ISO/WIM/IMG/VHD(x)/EFI files. Description=(v1.0.99) Ventoy is an open source tool used to create bootable USB devices capable of launching multiple ISO/WIM/IMG/VHD(x)/EFI files.
Author=Homes32 Author=Homes32
Level=8 Level=8
Selected=None Selected=None
Mandatory=False Mandatory=False
Version=1.1.17.0 Version=1.1.20.0
Date=2023-10-13 Date=2024-06-10
[Variables] [Variables]
%ProgramFolder%="%Workbench%\Ventoy" %ProgramFolder%="%Workbench%\Ventoy"
%ProgramExe%="Ventoy2Disk.exe" %ProgramExe%="Ventoy2Disk.exe"
%ProgramVer%="1.0.96" %ProgramVer%="1.0.99"
%DownloadURL%=https://github.com/ventoy/Ventoy/releases/download/v%ProgramVer%/ventoy-%ProgramVer%-windows.zip %DownloadURL%=https://github.com/ventoy/Ventoy/releases/download/v%ProgramVer%/ventoy-%ProgramVer%-windows.zip
%SetupFile%="Ventoy.zip" %SetupFile%="Ventoy.zip"
[Process] [Process]
Echo,"Launching %ScriptTitle%..." Echo,"Launching %ScriptTitle%..."
If,Not,ExistFile,"%ProgramFolder%\%ProgramExe%",Run,%ScriptFile%,DownloadProgram If,Not,ExistFile,"%ProgramFolder%\%ProgramExe%",Begin
Run,%ScriptFile%,DownloadProgram
// Extract to workbench (instead of temp) to allow the user can customize the boot menu, plugins, etc.
Run,%ScriptFile%,ExtractProgram,%ProgramFolder%
End
// Extract to workbench (instead of temp) to allow the user can customize the boot menu, plugins, etc.
Run,%ScriptFile%,ExtractProgram,%ProgramFolder%
ShellExecuteEx,Open,"%ProgramFolder%\%ProgramExe%","",%ProgramFolder% ShellExecuteEx,Open,"%ProgramFolder%\%ProgramExe%","",%ProgramFolder%
[#ExtractProgram#] [#ExtractProgram#]