I want to install Edge WebView2 Runtime FixedVersion with a cab file: Microsoft.WebView2.FixedVersionRuntime.100.0.1185.50.x64.cab
How can I install WebView2 Runtime with this cab file via Powershell/cmd?
I've tried
dism.exe /online /add-package /packagepath:"C:\Temp\Microsoft.WebView2.FixedVersionRuntime.100.0.1185.39.x64.cab" /quiet /norestart
I've copied the file to C:\Temp but when I try to execude this code, it says "the system cannot find the file specified"
What am I doing wrong?
BR
You do not need to install a WebView2 Runtime Fixed Version cab. You can just expand it to any new folder you like. To expand a Fixed Version cab you run the following:
expand {path to the package} -F:* {path to the destination folder}
So in your case:
expand C:\Temp\Microsoft.WebView2.FixedVersionRuntime.100.0.1185.39.x64.cab -F:* C:\Temp\
This will result in a new folder C:\Temp\Microsoft.WebView2.FixedVersionRuntime.100.0.1185.39.x64
containing the directory structure stored in the cab.
See Details about the Fixed Version runtime distribution mode.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With