Skip to content

Commit 05edbf2

Browse files
committed
feat: Remove .NET from Windows installer
1 parent b8c3f76 commit 05edbf2

2 files changed

Lines changed: 0 additions & 6 deletions

File tree

.github/workflows/windows.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,6 @@ jobs:
5555
shell: pwsh
5656
run: |
5757
$ProgressPreference = 'SilentlyContinue'
58-
Invoke-WebRequest https://builds.dotnet.microsoft.com/dotnet/WindowsDesktop/10.0.5/windowsdesktop-runtime-10.0.5-win-${{ matrix.variant.arch }}.exe -OutFile dotnet.exe
59-
Invoke-WebRequest https://aka.ms/windowsappsdk/1.8/latest/windowsappruntimeinstall-${{ matrix.variant.arch }}.exe -OutFile windowsappruntimeinstall.exe
6058
iscc setup.iss
6159
- name: "Portable"
6260
shell: pwsh

inno/setup.iss

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,6 @@ Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{
6767
Name: "quicklaunchicon"; Description: "{cm:CreateQuickLaunchIcon}"; GroupDescription: "{cm:AdditionalIcons}"
6868

6969
[Files]
70-
Source: "dotnet.exe"; DestDir: "{app}"; Flags: deleteafterinstall
71-
Source: "windowsappruntimeinstall.exe"; DestDir: "{app}"; Flags: deleteafterinstall
7270
Source: "..\{#GetEnv('APP_FILES_PATH')}\{#MyAppExeName}"; DestDir: "{app}\Release"; Flags: ignoreversion
7371
Source: "..\{#GetEnv('APP_FILES_PATH')}\*"; DestDir: "{app}\Release"; Flags: ignoreversion recursesubdirs createallsubdirs
7472

@@ -77,6 +75,4 @@ Name: "{autoprograms}\{#MyAppShortName}"; Filename: "{app}\Release\{#MyAppExeNam
7775
Name: "{commondesktop}\{#MyAppShortName}"; Filename: "{app}\Release\{#MyAppExeName}"; Tasks: desktopicon
7876

7977
[Run]
80-
Filename: "{app}\dotnet.exe"; Parameters: "/install /quiet /norestart"
81-
Filename: "{app}\windowsappruntimeinstall.exe"; Parameters: "--quiet --force"
8278
Filename: "{app}\Release\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent unchecked

0 commit comments

Comments
 (0)