Inno Setup - 备份目录树(如果存在)并通过卸载恢复
Inno Setup - backup directory tree if exists & restore by uninstall
如何轻松备份安装目标目录中已存在的所有文件(在所有子目录中无限深度),以及如何通过卸载恢复所有备份文件?
提前致谢。
[Files]
Source: "setupData\*"; DestDir: "{app}"
备份:在您的 [Files]
部分条目中,使用 external
、recursesubdirs
、skipifsourcedoesntexist
和 uninsneveruninstall
标志。参见 Backup files and restore them on uninstall with InnoSetup?
恢复:另请参阅Backup files and restore them on uninstall with InnoSetup?要恢复目录树,您将需要。
如何轻松备份安装目标目录中已存在的所有文件(在所有子目录中无限深度),以及如何通过卸载恢复所有备份文件?
提前致谢。
[Files]
Source: "setupData\*"; DestDir: "{app}"
备份:在您的 [Files]
部分条目中,使用 external
、recursesubdirs
、skipifsourcedoesntexist
和 uninsneveruninstall
标志。参见 Backup files and restore them on uninstall with InnoSetup?
恢复:另请参阅Backup files and restore them on uninstall with InnoSetup?要恢复目录树,您将需要