简体   繁体   English

install4j 更新 JRE 而不生成新的安装程序

[英]install4j update JRE without generating new installer

We use installer with embedded JRE.我们使用带有嵌入式 JRE 的安装程序。 To update JRE we generate new installer and use auto-update feature.要更新 JRE,我们会生成新的安装程序并使用自动更新功能。 But antiviruses (Windows Defender,..) warn user that it is new file which was downloaded only few times.但是防病毒软件(Windows Defender,..)警告用户这是只下载了几次的新文件。 How to update JRE without creating new installer to avoid antivirus warnings.如何在不创建新安装程序的情况下更新 JRE 以避免防病毒警告。

This is a warning related to the code signing certificate that you are using, not to the particular file.这是与您正在使用的代码签名证书相关的警告,而不是与特定文件相关的警告。 After users from a sufficiently large number of IP addresses have downloaded executables signed with this certificate, the warning will no longer be displayed.来自足够多的 IP 地址的用户下载了使用此证书签名的可执行文件后,将不再显示警告。

The only way around this is to use an extended code signing certificate which is immediately trusted by the Windows SmartScreen filter.解决此问题的唯一方法是使用 Windows SmartScreen 过滤器立即信任的扩展代码签名证书。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM