Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 12 additions & 3 deletions InstallerExtras/CodeDependencies.iss
Original file line number Diff line number Diff line change
Expand Up @@ -232,20 +232,29 @@ begin
Dependency_Add('vcredist2022' + Dependency_ArchSuffix + '.exe',
'/passive /norestart',
'Visual C++ 2015-2022 Redistributable (x64)' + Dependency_ArchTitle,
Dependency_String('https://aka.ms/vs/17/release/vc_redist.x64.exe', 'https://aka.ms/vs/17/release/vc_redist.x64.exe'),
Dependency_String('https://aka.ms/vc14/vc_redist.x64.exe', 'https://aka.ms/vc14/vc_redist.x64.exe'),
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'', False, False);
end;
end;


procedure Dependency_AddWebView2;
var
WebView2URL, WebView2Title: String;
begin
// https://developer.microsoft.com/en-us/microsoft-edge/webview2
if not RegValueExists(HKLM, Dependency_String('SOFTWARE', 'SOFTWARE\WOW6432Node') + '\Microsoft\EdgeUpdate\Clients\{F3017226-FE2A-4295-8BDF-00C3A9A7E4C5}', 'pv') then begin
if IsARM64 then begin
WebView2URL := 'https://go.microsoft.com/fwlink/?linkid=2099616';
WebView2Title := 'WebView2 Runtime (ARM64)';
end else begin
WebView2URL := 'https://go.microsoft.com/fwlink/?linkid=2124701';
WebView2Title := 'WebView2 Runtime (x64)';
end;
Dependency_Add('MicrosoftEdgeWebview2Setup.exe',
'/silent /install',
'WebView2 Runtime (x64)',
'https://go.microsoft.com/fwlink/?linkid=2124701',
WebView2Title,
WebView2URL,
'', False, False);
end;
end;
Expand Down
Binary file not shown.
10 changes: 9 additions & 1 deletion src/UniGetUI/UniGetUI.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -365,10 +365,18 @@
<Pack>false</Pack>
</Content>
<Content
Update="Assets\Utilities\getfilesiginforedist.dll"
Update="Assets\Utilities\x64\getfilesiginforedist.dll"
Condition="'$(Platform)' == 'x64'"
>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<Link>Assets\Utilities\getfilesiginforedist.dll</Link>
</Content>
<Content
Update="Assets\Utilities\arm64\getfilesiginforedist.dll"
Condition="'$(Platform)' == 'arm64'"
>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<Link>Assets\Utilities\getfilesiginforedist.dll</Link>
</Content>
<Content Update="Assets\Utilities\install_scoop.cmd">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
Expand Down