-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild_installer.bat
More file actions
39 lines (36 loc) · 861 Bytes
/
Copy pathbuild_installer.bat
File metadata and controls
39 lines (36 loc) · 861 Bytes
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
@echo off
echo ========================================
echo ZenCal Installer Builder
echo ========================================
echo.
REM Step 1: Build the executable
echo [1/2] Building executable...
python build_windows.py
if errorlevel 1 (
echo.
echo ERROR: Failed to build executable!
pause
exit /b 1
)
echo.
REM Step 2: Create installer
echo [2/2] Creating installer...
"C:\Program Files (x86)\Inno Setup 6\ISCC.exe" installer_windows.iss
if errorlevel 1 (
echo.
echo ERROR: Failed to create installer!
echo Make sure Inno Setup is installed.
pause
exit /b 1
)
echo.
echo ========================================
echo SUCCESS!
echo ========================================
echo.
echo Your installer is ready:
echo installer_output\ZenCal-Setup-1.0.0.exe
echo.
echo You can now distribute this file!
echo.
pause