📜  如何在 cmd 中使用 unzip.exe - 任何代码示例

📅  最后修改于: 2022-03-11 14:56:17.788000             🧑  作者: Mango

代码示例2
You can use an external command line tool for unzipping your archive, see here(http://stahlworks.com/dev/index.php?tool=zipunzip) for example. Put it in your [Files] section:

[Files]
Source: "UNZIP.EXE"; DestDir: "{tmp}"; Flags: deleteafterinstall
Then call it in your [Run] section, like this:

[Run]
Filename: "{tmp}\UNZIP.EXE"; Parameters: "{tmp}\ZipFile.ZIP -d C:\TargetDir"