-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Expand file tree
/
Copy pathgetit.bat
More file actions
48 lines (35 loc) · 1.34 KB
/
getit.bat
File metadata and controls
48 lines (35 loc) · 1.34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
@echo off
rem Inno Setup
rem Copyright (C) 1997-2025 Jordan Russell
rem Portions by Martijn Laan
rem For conditions of distribution and use, see LICENSE.TXT.
rem
rem Batch file to get GetIt dependencies
setlocal
cd /d %~dp0
if exist compilesettings.bat goto compilesettingsfound
:compilesettingserror
echo compilesettings.bat is missing or incomplete. It needs to contain
echo the following line, adjusted for your system:
echo.
echo set DELPHIXEROOT=C:\Program Files\Embarcadero\RAD Studio\20.0 [Path to Delphi 10.4 Sydney (or later)]
goto failed2
:compilesettingsfound
set DELPHIXEROOT=
call .\compilesettings.bat
if "%DELPHIXEROOT%"=="" goto compilesettingserror
rem -------------------------------------------------------------------------
call "%DELPHIXEROOT%\bin\rsvars.bat"
if errorlevel 1 goto failed
rem Delphi 10.4 note: Delphi 10.4 does not display these styles when using the
rem GetIt Package Manager from the IDE, but its GetItCmd.exe can still retrieve
rem them. When it does, it obtains the same files as Delphi 12.3.
GetItCmd.exe --accepteulas --donotsetenvfile -i=VCLStyle-Windows11Light-1.0;VCLStyle-Windows11Dark-1.0;VCLStyle-PolarLight-1.0;VCLStyle-PolarDark-1.0;VCLStyle-Zircon-2.0
if errorlevel 1 goto failed
echo Success!
goto exit
:failed
echo *** FAILED ***
:failed2
exit /b 1
:exit