1

Hi I am trying to learn how to create an MSIX .appinstaller to distribute and automatically update an app on a local intranet.

I am trying to test the new WebView2. I need the installer to run the webview2 evergreen runtime .exe file in silent mode as described here

I am not sure how to do this and cant find anything from google. I have downloaded the file and added it to my package project. how can I add this to the installer so it runs before installation?

Paul
  • 693
  • 1
  • 10
  • 25
  • We don't have examples or solutions for this yet. However, it may be possible to run the WebView2 Runtime installer using powershell scripts in MSIX using the Package Support Framework (PSF): https://learn.microsoft.com/en-us/windows/msix/psf/run-scripts-with-package-support-framework – Nic Champagne Williamson Oct 23 '20 at 22:49
  • Thanks I looked into this and tried. For me I cant install the nuget package let alone get it working - Error NU1202 Package Microsoft.PackageSupportFramework 1.0.200410.1 is not compatible with netcoreapp3.1 (.NETCoreApp,Version=v3.1). Package Microsoft.PackageSupportFramework 1.0.200410.1 does not support any target frameworks. – Paul Oct 26 '20 at 11:08

1 Answers1

0

This example shows how to use the PowerShell support from the Package Support Framework to trigger an MSI installation. You can do the same for an EXE.

Disclaimer: I work on the team building Advanced Installer

Bogdan Mitrache
  • 10,536
  • 19
  • 34