Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 4039e70d0c | |||
| 28c6cad153 | |||
| dda6bf1002 | |||
| 821f119547 | |||
| a33430faa0 | |||
| 401d717adf | |||
| cfac39a838 |
@@ -47,7 +47,27 @@ jobs:
|
||||
- name: Build Installer
|
||||
shell: cmd
|
||||
run: |
|
||||
cd DellMonitorControl && "C:\Program Files (x86)\Inno Setup 6\ISCC.exe" MonitorControl.iss
|
||||
echo Copying to short path to avoid path length issues...
|
||||
mkdir C:\build 2>nul
|
||||
xcopy /E /I /Y DellMonitorControl C:\build\app
|
||||
echo.
|
||||
echo Working from C:\build\app
|
||||
cd /d C:\build\app
|
||||
echo Current directory:
|
||||
cd
|
||||
echo.
|
||||
set TEMP=C:\build\temp
|
||||
set TMP=C:\build\temp
|
||||
mkdir C:\build\temp 2>nul
|
||||
mkdir installer 2>nul
|
||||
echo.
|
||||
echo Running Inno Setup...
|
||||
"C:\Program Files (x86)\Inno Setup 6\ISCC.exe" MonitorControl.iss
|
||||
echo.
|
||||
echo ISCC exit code: %ERRORLEVEL%
|
||||
echo.
|
||||
echo Installer directory contents:
|
||||
dir installer
|
||||
|
||||
- name: Create Release
|
||||
shell: powershell
|
||||
@@ -80,7 +100,7 @@ jobs:
|
||||
}
|
||||
|
||||
# Upload installer
|
||||
$filePath = "DellMonitorControl/installer/MonitorControl-Setup-$version.exe"
|
||||
$filePath = "C:\build\app\installer\MonitorControl-Setup-$version.exe"
|
||||
$fileName = "MonitorControl-Setup-$version.exe"
|
||||
Write-Host "Uploading $fileName..."
|
||||
|
||||
|
||||
@@ -2,8 +2,10 @@
|
||||
#define MyAppVersion "1.0.0"
|
||||
#define MyAppPublisher "Dang"
|
||||
#define MyAppExeName "DellMonitorControl.exe"
|
||||
#define SourcePath "bin\Release\net9.0-windows"
|
||||
|
||||
[Setup]
|
||||
SourceDir=.
|
||||
AppId={{8F3E4A2B-1C5D-4E6F-9A8B-7C2D1E3F4A5B}
|
||||
AppName={#MyAppName}
|
||||
AppVersion={#MyAppVersion}
|
||||
|
||||
Reference in New Issue
Block a user