unzip
I need to unpack zip archive during installation. How to reflect the progress of extracting files in progress bar?
12 posts
Thus progress bar is still not dirigible but log window lists the files been unpacked and users will not think that installer hangs.
InitPluginsDir
; Call plug-in. Push filename to ZIP first, and the dest. folder last.
nsisunz::UnzipToLog "$PLUGINSDIR\myzipfile.zip" "$INSTDIR"
; Always check result on stack
Pop $0
StrCmp $0 "success" ok
DetailPrint "$0" ;print error message to log
ok: