seb-win-refactoring/SetupBundle/WebView2Runtime.wxs

17 lines
1.4 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:util="http://schemas.microsoft.com/wix/UtilExtension">
<Fragment>
<util:RegistrySearch Root="HKLM" Key="SOFTWARE\Microsoft\EdgeUpdate\Clients\{F3017226-FE2A-4295-8BDF-00C3A9A7E4C5}" Value="EBWebView"
Variable="RuntimeInstalled" Win64="no" />
<PackageGroup Id="WebView2Runtime">
<ExePackage Name="WebView2 Bootstrapper" DisplayName="Microsoft Edge WebView2 Runtime" Cache="no" Compressed="no"
PerMachine="yes" Permanent="yes" Vital="yes" DownloadUrl="https://go.microsoft.com/fwlink/p/?LinkId=2124703"
InstallCommand="/silent /install" InstallCondition="NOT (REMOVE OR RuntimeInstalled)">
<!-- Must be generated with the following command: "heat payload MicrosoftEdgeWebview2Setup.exe -out MicrosoftEdgeWebview2Setup.wxs" -->
<RemotePayload ProductName="MicrosoftEdgeWebview2Setup" Description="Microsoft Edge WebView2 Update Setup"
CertificatePublicKey="B7C46554DAAFAD8DDABA78FC8BD94DE7E5C84F6B" Hash="546FAC452BB8892BED42B79B17DC0C86CA5AE7DC"
CertificateThumbprint="89F01DA4F83D05C0A989C6B90F0CC87C208361C2" Size="1800976" Version="1.3.145.49" />
</ExePackage>
</PackageGroup>
</Fragment>
</Wix>