[英]NSIS - js-files decompression takes very long
I created an installer (with nsis) which installs a plugin for adobe illustrator. 我创建了一个安装程序(使用nsis),用于安装Adobe illustrator的插件。 Since now everything worked fine, but when I changed some paths of my files, the installer takes about 7 minutes (compared to 1 minute before - when everything worked fine). 从现在开始,一切正常,但是当我更改文件的某些路径时,安装程序大约需要7分钟(而之前1分钟-一切正常)。
As I took a closer look to the installing process I found out, that the decompression of ".js"-files takes very long, and there are a lot of them. 当我仔细查看安装过程时,发现“ .js”文件的解压缩需要很长时间,并且其中有很多。 Afterwards I tried to install one of the old versions, which where fast enough, but now also these installers take about 7 minutes. 之后,我尝试安装其中一个足够快的旧版本,但是现在这些安装程序也需要大约7分钟。
So I think that somehow the new installer changed something on the machine that has something to do with the decompression of js-files. 因此,我认为新安装程序以某种方式更改了与js文件解压缩有关的机器上的某些内容。
Furthermore I recognized that on my machine, where I'm developing, I do not faces this issue. 此外,我认识到在我正在开发的机器上,我没有遇到这个问题。 Only on other Windows machines, where I try to install my plugin. 仅在尝试安装插件的其他Windows计算机上。
I also tried to use different compression methods, but nothing worked. 我也尝试使用不同的压缩方法,但是没有任何效果。
In the same minute as I posted this question, I found the answer. 在发布此问题的同一分钟,我找到了答案。 My antivirus (trend micro, security agent) made the installation slow. 我的防病毒软件(趋势科技,安全代理)使安装缓慢。 When I deactivate it, installation runs fast enough. 当我停用它时,安装运行足够快。
Any idea how to make the installation faster with activated antivirus? 知道如何通过激活的防病毒软件加快安装速度吗? Or is there no way? 还是没有办法?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.