Try cmd shell with working-directory for ISCC
Some checks failed
Build and Release / build (push) Has been cancelled
Some checks failed
Build and Release / build (push) Has been cancelled
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -45,21 +45,25 @@ jobs:
|
|||||||
dir DellMonitorControl\bin\Release\net9.0-windows
|
dir DellMonitorControl\bin\Release\net9.0-windows
|
||||||
|
|
||||||
- name: Build Installer
|
- name: Build Installer
|
||||||
shell: powershell
|
shell: cmd
|
||||||
|
working-directory: DellMonitorControl
|
||||||
run: |
|
run: |
|
||||||
Write-Host "Current directory: $(Get-Location)"
|
echo Current directory:
|
||||||
Push-Location DellMonitorControl
|
cd
|
||||||
Write-Host "Changed to: $(Get-Location)"
|
echo.
|
||||||
Write-Host "Creating installer output directory..."
|
echo ISS file exists:
|
||||||
New-Item -ItemType Directory -Force -Path "installer" | Out-Null
|
if exist MonitorControl.iss (echo YES) else (echo NO)
|
||||||
Write-Host "Checking source files exist..."
|
echo.
|
||||||
Get-ChildItem "bin\Release\net9.0-windows" | Select-Object -First 5
|
echo Creating installer directory...
|
||||||
Write-Host "Running Inno Setup with verbose output..."
|
mkdir installer 2>nul
|
||||||
& "C:\Program Files (x86)\Inno Setup 6\ISCC.exe" /V9 "MonitorControl.iss" 2>&1
|
echo.
|
||||||
Write-Host "ISCC exit code: $LASTEXITCODE"
|
echo Running Inno Setup...
|
||||||
Write-Host "Listing installer directory:"
|
"C:\Program Files (x86)\Inno Setup 6\ISCC.exe" MonitorControl.iss
|
||||||
Get-ChildItem "installer"
|
echo.
|
||||||
Pop-Location
|
echo ISCC exit code: %ERRORLEVEL%
|
||||||
|
echo.
|
||||||
|
echo Installer directory contents:
|
||||||
|
dir installer
|
||||||
|
|
||||||
- name: Create Release
|
- name: Create Release
|
||||||
shell: powershell
|
shell: powershell
|
||||||
|
|||||||
Reference in New Issue
Block a user