inno setup - How can I extract an embedded archive to disk during the installation process -
i have embedded 7zip archive
in setup script.
there "native" way of extracting contents target folder?
if not hints on how achieved?
updated implementation. hint tlama
[files] source: "documentation.7zip"; destdir: "{tmp}" source: "7za.exe"; destdir: "{tmp}" [run] filename: "{tmp}\7za.exe"; parameters: "x -o""{app}"" ""{tmp}\documentation.7zip"""; flags: runhidden; description: "{cm:installingdocumentation}"; statusmsg: "{cm:installingdocumentationstatus}" [custommessages] en.installingdocumentation=documentation files en.installingdocumentationstatus=installing documentation files. may take several minutes...
no, there no native way extract 7zip files innosetup installer. however, can copy of 7zip library, which redistributable
, call innosetup script's code section.
Comments
Post a Comment