add a prototype webview2 boostrapper click once prerequisite
This commit is contained in:
Родитель
ae44622300
Коммит
b4215efbe0
|
@ -0,0 +1,31 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<!--
|
||||
***********************************************************************
|
||||
|
||||
Copyright (C) Microsoft Corporation. All rights reserved.
|
||||
|
||||
THIS CODE AND INFORMATION ARE PROVIDED AS IS WITHOUT WARRANTY OF ANY
|
||||
KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
|
||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
|
||||
PARTICULAR PURPOSE.
|
||||
***********************************************************************
|
||||
-->
|
||||
|
||||
<Package
|
||||
xmlns="http://schemas.microsoft.com/developer/2004/01/bootstrapper"
|
||||
Name="DisplayName"
|
||||
Culture="Culture"
|
||||
LicenseAgreement="placeholdereula.txt">
|
||||
<PackageFiles>
|
||||
<PackageFile Name="placeholdereula.txt"/>
|
||||
</PackageFiles>
|
||||
|
||||
<!-- Defines a localizable string table for messages. -->
|
||||
<Strings>
|
||||
<String Name="DisplayName">Edge WebView runtime bootstrapper</String>
|
||||
<String Name="Culture">en</String>
|
||||
<String Name="AdminRequired">Administrator permissions are required to install the Microsoft Edge WebView runtime. Contact your administrator.</String>
|
||||
<String Name="GeneralFailure">A failure occurred attempting to install the Microsoft Edge WebView runtime.</String>
|
||||
<String Name="WebViewRuntime">http://go.microsoft.com/fwlink/p/?LinkId=2124703</String>
|
||||
</Strings>
|
||||
</Package>
|
|
@ -0,0 +1,3 @@
|
|||
This is a placeholder for the shipping EULA.
|
||||
|
||||
This is only for prototype work and MUST be replaced with final EULA before shipping product.
|
Двоичный файл не отображается.
|
@ -0,0 +1,44 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<!--
|
||||
***********************************************************************
|
||||
|
||||
Copyright (C) Microsoft Corporation. All rights reserved.
|
||||
|
||||
THIS CODE AND INFORMATION ARE PROVIDED AS IS WITHOUT WARRANTY OF ANY
|
||||
KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
|
||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
|
||||
PARTICULAR PURPOSE.
|
||||
***********************************************************************
|
||||
-->
|
||||
|
||||
<Product
|
||||
xmlns="http://schemas.microsoft.com/developer/2004/01/bootstrapper"
|
||||
ProductCode="Microsoft.EdgeRuntime">
|
||||
|
||||
<!-- Defines the list of files to be copied on build. -->
|
||||
<PackageFiles CopyAllPackageFiles="false">
|
||||
<PackageFile Name="MicrosoftEdgeWebview2Setup.exe" HomeSite="WebViewRuntime" PublicKey="0"/>
|
||||
</PackageFiles>
|
||||
|
||||
<InstallChecks>
|
||||
<RegistryCheck Property="EdgeRuntimeVersionInstalled" Key="HKLM\SOFTWARE\Microsoft\EdgeUpdate\Clients\{F3017226-FE2A-4295-8BDF-00C3A9A7E4C5}" Value="pv"/>
|
||||
</InstallChecks>
|
||||
|
||||
<!-- Defines how to run the Setup package. -->
|
||||
<Commands Reboot="Defer">
|
||||
<Command
|
||||
PackageFile="MicrosoftEdgeWebview2Setup.exe"
|
||||
Arguments=" /silent /installelevated /install"
|
||||
EstimatedInstalledBytes="2600000"
|
||||
EstimatedTempBytes="4500000"
|
||||
EstimatedInstallSeconds="60">
|
||||
<InstallConditions>
|
||||
<BypassIf Property="EdgeRuntimeVersionInstalled" Compare="VersionGreaterThanOrEqualTo" Value="86.0.622.15"/>
|
||||
</InstallConditions>
|
||||
<ExitCodes>
|
||||
<ExitCode Value="0" Result="Success"/>
|
||||
<DefaultExitCode Result="Fail" FormatMessageFromSystem="true" String="GeneralFailure" />
|
||||
</ExitCodes>
|
||||
</Command>
|
||||
</Commands>
|
||||
</Product>
|
|
@ -0,0 +1,37 @@
|
|||
Title
|
||||
===
|
||||
WebView2 Boostrapper prerequisite prototype
|
||||
|
||||
# Description
|
||||
This is a set of files that prototypes the usage of a WebView2 prerequisite component to be shipped as part of Visual Studio in a later release. This can then be used
|
||||
by vistual studio click once projects to find the boostrapper component sources.
|
||||
|
||||
# Whats in this
|
||||
The files should be:
|
||||
|
||||
| File | Description |
|
||||
| ------------- | -------------------------------------------------------- |
|
||||
| \product.xml | A descriptive block covering what the prerequisite is for |
|
||||
| \en\package.xml | Block containing file information for the eula |
|
||||
| \en\placeholdereula.txt | A placeholder eula for this prototype |
|
||||
| | |
|
||||
| \prerequisiteprototype.reg | a sample reg file for configuration |
|
||||
| \readme.md | this readme file |
|
||||
|
||||
# Installation
|
||||
Put the files on your development machine under a bootstrapper\prerequisite folder.
|
||||
IE:
|
||||
e:\boostreapper\prerequisite\webviewruntimeprototype
|
||||
|
||||
Create a reg key named:
|
||||
HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\GenericBootstrapper\AdditionalPackagePaths
|
||||
|
||||
With a REG_SZ key under it:
|
||||
WebView2Runtime value = the path you used above (minus the webviewruntimeprototype portion)
|
||||
IE:
|
||||
E:\boostrapper\prerequisite
|
||||
|
||||
|
||||
Now when the click once project presents the list of prerequisites available the webviewruntime will show up.
|
||||
|
||||
|
Загрузка…
Ссылка в новой задаче