Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 4039e70d0c | |||
| 28c6cad153 |
@@ -46,15 +46,19 @@ jobs:
|
||||
|
||||
- name: Build Installer
|
||||
shell: cmd
|
||||
working-directory: DellMonitorControl
|
||||
run: |
|
||||
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.
|
||||
echo ISS file exists:
|
||||
if exist MonitorControl.iss (echo YES) else (echo NO)
|
||||
echo.
|
||||
echo Creating installer directory...
|
||||
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...
|
||||
@@ -96,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