The UnzipToStack function can be used instead of the UnzipToLog function if you want the extraction to be a lot faster when extracting from very large ZIP archives and still want to see the files extracted. nsisunz:: Unzip "$PLUGINSDIR\myzipfile.zip" "$INSTDIR" The UnzipToStack function It is a lot quicker, and is preferred for large ZIP archives. Ok: You can also use the "Unzip" function if you don't want to use the log. nsisunz:: UnzipToLog "$PLUGINSDIR\myzipfile.zip" "$INSTDIR" Always check result on stack Pop $0 StrCmp $0 "success" okÄetailPrint "$0" print error message to log Push filename to ZIP first, and the dest. In my opinion the best way to describe things is by showing an example, so here is one: You use the Unzip, UnzipToLog or the UnzipToStack function to extract files from a ZIP archive. To see a great example of how to use the plug-in, check out the included example script. To extract only a specific file from the archive use the "/file" option. Note: nsisunz does not support password protected ZIP archives (encrypted). Download a small installer which lets the user choose the components he/she want to install and the installer downloads it (QuickTime Setup does this). Nsisunz is great when you use another NSIS plug-in named NSISdl to download a ZIP file from the internet. Nsisunz is a NSIS plugin which allows you to extract files from ZIP archives. Previous mirror on is no longer available as "" is no longer in use. NSISunzU.zip (122 KB) (Unicode version by Gringoloco from ).Updated February 15th 2012: Fixed list of mirrors.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |