简体   繁体   English

Inno Setup 在安装时在目标目录中创建的临时 tmp 文件

[英]Temporary tmp files created by Inno Setup in destination directory while installing

One of my customers reported that my app installer creates a temp file like is-XXXXX.tmp in the {app} directory, which are identified by anti-virus app as malware.我的一位客户报告说,我的应用程序安装程序在{app}目录中创建了一个类似于is-XXXXX.tmp的临时文件,该文件被防病毒应用程序识别为恶意软件。 The temp file would only live for a very short time, so I can't make a copy of it.临时文件只会存在很短的时间,所以我无法复制它。 My customer ask me to send him a copy of the temp file to make sure there is no harmful code inside it.我的客户要求我向他发送一份临时文件的副本,以确保其中没有有害代码。 Is there any method to copy this temp file out on installation?有什么方法可以在安装时复制这个临时文件吗? Thanks!谢谢!

When Inno Setup is extracting files to their destination folders, it always does that first by storing them to the file names like is-XXXXX.tmp .当 Inno Setup 将文件提取到它们的目标文件夹时,它总是首先将它们存储到文件名中,如is-XXXXX.tmp Only then, it renames them to their actual file names.只有这样,它才会将它们重命名为它们的实际文件名。

So all those files are actually the files that your customer has in the destination folder once the installation completes.因此,所有这些文件实际上是您的客户在安装完成后在目标文件夹中拥有的文件。

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

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