From 1a48032a052726e92d74c794f4a6effd88edbc8f Mon Sep 17 00:00:00 2001 From: Ruben Date: Thu, 26 Sep 2024 12:40:44 +0200 Subject: [PATCH] Update workflow for inno installer --- .github/workflows/WinX64.yml | 7 +------ Build/install.iss | 3 ++- src/PicView.Avalonia.Win32/PicView.Avalonia.Win32.csproj | 4 ++-- 3 files changed, 5 insertions(+), 9 deletions(-) diff --git a/.github/workflows/WinX64.yml b/.github/workflows/WinX64.yml index 73a30de5..a814c36a 100644 --- a/.github/workflows/WinX64.yml +++ b/.github/workflows/WinX64.yml @@ -86,14 +86,9 @@ jobs: # Step 9: Generate the Inno Setup Installer - name: Generate Inno Setup variables run: | - $appVersion = "${{steps.get-version.outputs.assembly-version}}" - $outputDir = "${{ steps.paths.outputs.output_dir }}" - $setupOutputDir = "${{ steps.paths.outputs.output_dir }}\install" - $appIconPath = "${{ github.workspace }}\src\PicView.Avalonia.Win32\icon.ico" - $licenseFilePath = "${{ github.workspace }}\src\PicView.Core\Licenses\LICENSE.txt" # Create output directory for installer - New-Item -Path $setupOutputDir -ItemType Directory -Force + New-Item -Path ${{ steps.paths.outputs.output_dir }}\install -ItemType Directory -Force shell: pwsh diff --git a/Build/install.iss b/Build/install.iss index 96072fd9..ad85eb34 100644 --- a/Build/install.iss +++ b/Build/install.iss @@ -1,5 +1,6 @@ #define MyAppName "PicView" #define MyAppVersion "{#MyAppVersion}" +#define MyAppVersionInfo "{#MyAppVersionInfo}" #define MyAppPublisher "Ruben2776" #define MyAppExeName "{#MyAppExeName}" #define AppIcon "{#MyAppIcon}" @@ -26,7 +27,7 @@ WizardStyle=modern UninstallDisplayIcon={app}\{#MyAppExeName} UninstallDisplayName={#MyAppName} ChangesAssociations=yes -VersionInfoVersion={#MyAppVersion} +VersionInfoVersion={#MyAppVersionInfo} [Files] Source: "{#MyAppOutputDir}\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs diff --git a/src/PicView.Avalonia.Win32/PicView.Avalonia.Win32.csproj b/src/PicView.Avalonia.Win32/PicView.Avalonia.Win32.csproj index 4ef25fb7..970c1796 100644 --- a/src/PicView.Avalonia.Win32/PicView.Avalonia.Win32.csproj +++ b/src/PicView.Avalonia.Win32/PicView.Avalonia.Win32.csproj @@ -23,8 +23,8 @@ PicView PicView.Avalonia.Win32.Program preview - 3.0.0.3 - 3.0.0.3 + 3.0.400 + 3.0 none