简体   繁体   English

NSIS-js文件解压缩需要很长时间

[英]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.

相关问题 将小型js文件合并为一个较大的文件 - Merge small js-files into one bigger Ember.js-在某些模板中加载其他.js文件 - Ember.js - Loading additional .js-Files in some templates 外部js文件彼此不认识 - external js-files don't know each other UserControl调用JS文件,但似乎没有被调用 - UserControl calling JS-files but they don't seem to get called 如何在 WebStorm 中调试 .NET 嵌入式 js 文件? - How to debug .NET embedded js-files in WebStorm? 如何为所有js文件设置请求标头以在extjs中进行缓存? - How to set request headers for all js-files for caching in extjs? ES6中的Javascript类,如何将其导入其他js文件和html文件中? - Javascript classes in ES6, how to import them within other js-files and in html files? 尝试从JS文件中包含多个JS文件时出错 - Error when trying to include several JS-files from within a JS-file 如何使用 Angular 8 在 TypeScript 中访问 JavaScript 内容(或扩展其他 JS 文件的 JavaScript 文件) - How to access JavaScript content (or JavaScript files extending other JS-Files) in TypeScript by using Angular 8 如何在不破坏任何功能的情况下使用 barba.js 运行其他 JS 文件 - How to run other JS-files with barba.js with out breaking any functions
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM