![]() ![]() $WebView2UninstallArg = ($WebView2UninstallString -split '" ').Trim('"') + ' -force-uninstall' $WebView2UninstallExe = ($WebView2UninstallString -split '" ').Trim('"') # Separate the path to uninstall executable and the arguments then add the silent command $WebView2UninstallString = Get-ItemProperty -Path $WebView2Registry | select -ExpandProperty UninstallString $WebView2Registry = 'HKLM:\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Microsoft EdgeWebView' # Get the UninstallString from Registry to process and uninstall PowerShell script "Uninstall_MicrosoftWebView2.ps1": Powershell.exe -ExecutionPolicy ByPass -File. Needed to use a PowerShell script to get the proper paths since the folder changes as the version of WebView2 automatically updates. SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Microsoft EdgeWebView.MicrosoftEdgeWebView2RuntimeInstallerX64.exe /silent /install This way that gets installed first or confirms it is already installed and then installs Snagit 2022 without errors. So what I did to resolve the issue.I did create an installer with SCCM/SCEM to have that WebView2 be a required dependency for Snagit 2022. Whether they made changes to the documentation yet I don't know if they did or will do in the future, but I couldn't wait around for that. The only reference is that you can disable the check. Additionally, there is nothing in the MSI deployment guide when I contacted them ( ) referencing that this WebView2 is required as a prerequisite or information on deploying it. I said that the software should be packaged and deployed with the Snagit installer by default even when using the MSI deployment method, but at this point it is not. ![]() Yes, they said it is needed for some functionality in the program. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |