-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[bug] Getting 'The program can't start because api-ms-win-crt-math-l1-1-0.dll
is missing from your computer' error
#6800
Comments
Could you try version 109 for the fixed runtime approach? You can get it for example here https://github.com/westinyang/WebView2RuntimeArchive/releases/tag/109.0.1518.78 (note that this is unofficial but i didn't find anything official that works). 109 was the last version with support for windows 7 and 8. The online installer will automatically download 109 on these systems but the offline installer only bundles the latest version at the time of its download. |
I tried the version 109 but I am getting the same error. I checked the installed softwares in control panel but I didn't see the webview2 installed although the webview2 files are copied in installed folder. |
The fixed runtime won't be installed and therefore won't show in the control panel. I didn't find anything particular helpful on the internet either. It was either about updating the system (i'm not talking about upgrading to win10 but pulling the latest updates of win8.1), or manually installing vcredist (https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170#visual-studio-2015-2017-2019-and-2022). Installing vcredist manually is generally not required for tauri apps so i wonder what's happening here. |
tauri turn on static_vcruntime default while build will case dynamic link to crt-library will require api-ms-win-crt**.dll my solution:
2、add crt-static option,add to cargo./config
|
Download the api-ms-win-crt-math-l1-1-0.dll and Copy/Paste it into the Application folder (Sometimes Programs only use DLL files from within their Directories); |
Describe the bug
I am trying to install my tauri build on Windows 8.1 Pro VM which doesn't have internet connection and also doesn't have
webview2
preinstalled.As the VM doesn't have the internet connection I tried to build with
offlineInstaller
Install Modebut when I install the software I am getting this error
Also I tried with the
fixedRuntime
mode but I am getting the same issue.Reproduction
fixedRuntime
install mode orofflineInstaller
mode.webview2
preinstalled.Expected behavior
The windows build should run on older version of windows 8.1 too.
Platform and versions
The text was updated successfully, but these errors were encountered: