Inno Setup调用或复制本机Windows文件复制操作 [英] Inno Setup invoke or replicate native Windows file copy operation

查看:442
本文介绍了Inno Setup调用或复制本机Windows文件复制操作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道FileCopy函数可用于复制[Code]部分中的文件,并且在大多数情况下都可以正常工作.但是,有什么方法可以调用本机Windows文件复制操作,以便显示带有进度,剩余时间等的标准Windows文件复制对话框(即与执行Ctrl+C,然后执行Ctrl+V相同),该操作将是否还允许用户取消或暂停复制操作的中间过程?或者,更好的是,是否有一种方法可以直接在[Code]部分中复制类似的功能?

I know that the FileCopy function can be used to copy files in the [Code] section and this works fine for most purposes. However, is there any way to invoke the native Windows file copy operation, so that the standard Windows file copy dialog with progress, time remaining etc is shown (i.e. the same as doing Ctrl+C, followed by Ctrl+V), which will also allow the user to cancel or pause the copy operation mid-process? Or, better still, is there a way to replicate similar functionality directly in the [Code] section?

推荐答案

使用 该代码适用于Inno Setup的Unicode版本(Inno Setup 6唯一的版本).

这篇关于Inno Setup调用或复制本机Windows文件复制操作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆