From e857b5ad572c9438c86f80eb5ccb297aea6b8c75 Mon Sep 17 00:00:00 2001 From: mas6y6 <125225333+mas6y6@users.noreply.github.com> Date: Fri, 6 Dec 2024 14:17:03 -0600 Subject: [PATCH] Found the fix --- .github/workflows/automatic_cipheros_builder.yml | 3 ++- inno/installer_x32.iss => installer_x32.iss | 6 +++--- inno/installer_x64.iss => installer_x64.iss | 6 +++--- 3 files changed, 8 insertions(+), 7 deletions(-) rename inno/installer_x32.iss => installer_x32.iss (95%) rename inno/installer_x64.iss => installer_x64.iss (95%) diff --git a/.github/workflows/automatic_cipheros_builder.yml b/.github/workflows/automatic_cipheros_builder.yml index ba1f972..4bb91fe 100644 --- a/.github/workflows/automatic_cipheros_builder.yml +++ b/.github/workflows/automatic_cipheros_builder.yml @@ -80,9 +80,10 @@ jobs: $arch = if ($env:PROCESSOR_ARCHITECTURE -eq "AMD64") { "x64" } else { "x32" } # Set the path to the ISS file based on architecture - $issFile = if ($arch -eq "x64") { "inno\\installer_x64.iss" } else { "inno\\installer_x32.iss" } + $issFile = if ($arch -eq "x64") { "installer_x64.iss" } else { "installer_x32.iss" } # Run the Inno Setup Compiler + & "C:\Program Files (x86)\Inno Setup 6\ISCC.exe" $issFile shell: pwsh diff --git a/inno/installer_x32.iss b/installer_x32.iss similarity index 95% rename from inno/installer_x32.iss rename to installer_x32.iss index 29e28c9..56c4716 100644 --- a/inno/installer_x32.iss +++ b/installer_x32.iss @@ -34,9 +34,9 @@ ChangesAssociations=yes DisableProgramGroupPage=yes ; Uncomment the following line to run in non administrative install mode (install for current user only.) PrivilegesRequired=lowest -OutputDir=distworkflow +OutputDir=./distworkflow OutputBaseFilename=CipherOS Windows 1.5.1 x32 -SetupIconFile=/icon.ico +SetupIconFile=./icon.ico Compression=lzma SolidCompression=yes WizardStyle=modern @@ -48,7 +48,7 @@ Name: "english"; MessagesFile: "compiler:Default.isl" Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked [Files] -Source: "/distworkflow/{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion +Source: "./distworkflow/{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion ; NOTE: Don't use "Flags: ignoreversion" on any shared system files [Registry] diff --git a/inno/installer_x64.iss b/installer_x64.iss similarity index 95% rename from inno/installer_x64.iss rename to installer_x64.iss index 53b66d8..e41f3f2 100644 --- a/inno/installer_x64.iss +++ b/installer_x64.iss @@ -34,9 +34,9 @@ ChangesAssociations=yes DisableProgramGroupPage=yes ; Uncomment the following line to run in non administrative install mode (install for current user only.) PrivilegesRequired=lowest -OutputDir=distworkflow +OutputDir=./distworkflow OutputBaseFilename=CipherOS Windows 1.5.1 x64 -SetupIconFile=/icon.ico +SetupIconFile=./icon.ico Compression=lzma SolidCompression=yes WizardStyle=modern @@ -48,7 +48,7 @@ Name: "english"; MessagesFile: "compiler:Default.isl" Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked [Files] -Source: "/distworkflow/{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion +Source: "./distworkflow/{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion ; NOTE: Don't use "Flags: ignoreversion" on any shared system files [Registry]