Skip to content

[bug] 无法定位程序输入点ProcessPrng于动态链接库bcryptprimitives.dll #10487

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

Closed
9mlcy7 opened this issue Aug 5, 2024 · 7 comments
Labels
status: needs triage This issue needs to triage, applied to new issues type: bug

Comments

@9mlcy7
Copy link

9mlcy7 commented Aug 5, 2024

Describe the bug

image

I created a very simple demo, and after packaging it with cargo tauri build, the generated MSI and directly executable EXE can run on Windows 10 and Windows 11. However, on Windows 7, it prompts "The procedure entry point ProcessPrng could not be located in the dynamic link library bcryptprimitives.dll." I have tried the WebView2 Installation Options provided by Tauri, but both downloadBootstrapper and embedBootstrapper fail to install. I also tried the offline installer, but the result is the same.

Reproduction

No response

Expected behavior

No response

Full tauri info output

N/A

Stack trace

No response

Additional context

No response

@9mlcy7 9mlcy7 added status: needs triage This issue needs to triage, applied to new issues type: bug labels Aug 5, 2024
@zcg
Copy link

zcg commented Aug 5, 2024

Building the target
You can build Rust with support for the targets by adding it to the target list in config.toml:

[build]
build-stage = 1
target = [ "x86_64-win7-windows-msvc" ]

maybe help

@FabianLars
Copy link
Member

If that ^ doesn't help you can downgrade rust to 1.75 (the last version that properly supports win7)

@loongloongw
Copy link

If that ^ doesn't help you can downgrade rust to 1.75 (the last version that properly supports win7)如果那^没有帮助你可以将rust降级到1.75(正确支持win7的最后一个版本)

This doesn't work either. The error content becomes EventSetInformation.

@FabianLars
Copy link
Member

If that ^ doesn't help you can downgrade rust to 1.75 (the last version that properly supports win7)如果那^没有帮助你可以将rust降级到1.75(正确支持win7的最后一个版本)

This doesn't work either. The error content becomes EventSetInformation.

#5163

@9mlcy7
Copy link
Author

9mlcy7 commented Aug 15, 2024

If that ^ doesn't help you can downgrade rust to 1.75 (the last version that properly supports win7)如果那^没有帮助你可以将rust降级到1.75(正确支持win7的最后一个版本)

This doesn't work either. The error content becomes EventSetInformation.

降低rust版本,然后使用静态链接打包

@Gofive
Copy link

Gofive commented Aug 26, 2024

If that ^ doesn't help you can downgrade rust to 1.75 (the last version that properly supports win7)如果那^没有帮助你可以将rust降级到1.75(正确支持win7的最后一个版本)

This doesn't work either. The error content becomes EventSetInformation.

降低rust版本,然后使用静态链接打包

使用静态链接打包怎么配置

@9mlcy7
Copy link
Author

9mlcy7 commented Aug 27, 2024

If that ^ doesn't help you can downgrade rust to 1.75 (the last version that properly supports win7)如果那^没有帮助你可以将rust降级到1.75(正确支持win7的最后一个版本)

This doesn't work either. The error content becomes EventSetInformation.

降低rust版本,然后使用静态链接打包

使用静态链接打包怎么配置

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: needs triage This issue needs to triage, applied to new issues type: bug
Projects
None yet
Development

No branches or pull requests

5 participants