我正在制作一个安装程序,用于在用户的计算机上安装文件夹。我在我的安装程序中包含一个大小为750MB的文件夹。为此我写了以下代码 -
Section
SetOutPath '$INSTDIR'
File /r "c:\myfiles\*"
SectionEnd
安装时,此过程需要很长时间才能将文件解压缩到安装目录。是否有任何方法或任何选项/方法可以加快这一过程?
答案 0 :(得分:1)
You can try using a faster compression algorithm or disable compression altogether and see if that improves decompression. You could also use different methods to include the files in your installer, depending on whether the files are already compressed.
Example:
File uncompressed.wav
ReserveFile compressed.jpg