Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 28c6cad153 | |||
| dda6bf1002 | |||
| 821f119547 |
@@ -45,21 +45,29 @@ jobs:
|
||||
dir DellMonitorControl\bin\Release\net9.0-windows
|
||||
|
||||
- name: Build Installer
|
||||
shell: powershell
|
||||
shell: cmd
|
||||
working-directory: DellMonitorControl
|
||||
run: |
|
||||
Write-Host "Current directory: $(Get-Location)"
|
||||
Push-Location DellMonitorControl
|
||||
Write-Host "Changed to: $(Get-Location)"
|
||||
Write-Host "Creating installer output directory..."
|
||||
New-Item -ItemType Directory -Force -Path "installer" | Out-Null
|
||||
Write-Host "Checking source files exist..."
|
||||
Get-ChildItem "bin\Release\net9.0-windows" | Select-Object -First 5
|
||||
Write-Host "Running Inno Setup..."
|
||||
$process = Start-Process -FilePath "C:\Program Files (x86)\Inno Setup 6\ISCC.exe" -ArgumentList "MonitorControl.iss" -Wait -NoNewWindow -PassThru
|
||||
Write-Host "ISCC exit code: $($process.ExitCode)"
|
||||
Write-Host "Listing installer directory:"
|
||||
Get-ChildItem "installer"
|
||||
Pop-Location
|
||||
echo Current directory:
|
||||
cd
|
||||
echo.
|
||||
echo Setting temp directories...
|
||||
set TEMP=%CD%\temp
|
||||
set TMP=%CD%\temp
|
||||
mkdir temp 2>nul
|
||||
mkdir installer 2>nul
|
||||
echo TEMP=%TEMP%
|
||||
echo.
|
||||
echo Source files:
|
||||
dir bin\Release\net9.0-windows
|
||||
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
|
||||
|
||||
@@ -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