nsUnzip plugin will test or extract files from a ZIP archive.
Code of the DLL uses sources of UnZip 5.52 of 28 February 2005, by Info-ZIP.
Features:
- Flexible extract options.
- Regular expressions (wildcards) may be used to match multiple members.
- Possibility to exclude specified files from processing.
- User function for unpacking progress.
- User function for listing archive.
- User function for crypted archive.
"nsUnzip" plugin v1.0
Download from Wiki
nsUnzip plugin
13 posts
What is the license? Is Info-ZIP GPL'ed or zlib?
BSD-like license:
cool - thanks for developing 🙂
What would you say are the key benefits of nsUnzip over, say, ZipDLL and Nsisunz?
What would you say are the key benefits of nsUnzip over, say, ZipDLL and Nsisunz?
Added: "/e" option for extract only those files that already exist on disk.
"nsUnzip" plugin v1.1
Download from Wiki
"nsUnzip" plugin v1.1
Download from Wiki
How to make NsUnzip work with injstfiles
I want to make NsUnzip able to show progress bar on the .
I tried to modify current MUI2 pages and add this feature to InstallFiles.nsh
However there is some dependencies that nsis has that I can't understand.
Is there any way to do it with instfiles page or I have to make a new dialog?
What is section and how it is invoked by instfiles?
I want to make NsUnzip able to show progress bar on the .
I tried to modify current MUI2 pages and add this feature to InstallFiles.nsh
However there is some dependencies that nsis has that I can't understand.
Is there any way to do it with instfiles page or I have to make a new dialog?
What is section and how it is invoked by instfiles?
And the most important question, how it shows progress.
Make a modified version of Contrib\UIs\modern.exe using Resource Hacker (apply with !define MUI_UI) or add the progress bar at run time by calling user32::CreateWindow using the System plug-in (1st method is easier). You want to use the "User function for unpacking progress".
Stu
Stu
Thanks for advice Afrow UK.
I tested your way adding new control into modern.exe . It works fine.
But for now I want to make it with minimal changes, so I added progress bar function in the first row of the section and it works.
I tested your way adding new control into modern.exe . It works fine.
But for now I want to make it with minimal changes, so I added progress bar function in the first row of the section and it works.
Hi!
I'm just starting with NSIS and I'm a bit lost with the NsUnzip plugin. From here: http://nsis.sourceforge.net/How_can_I_install_a_plugin I see that I need to put the dll into the plugins folder and an nsh file into the include folder. But there is no nsh file.
What am I missing?
I'm just starting with NSIS and I'm a bit lost with the NsUnzip plugin. From here: http://nsis.sourceforge.net/How_can_I_install_a_plugin I see that I need to put the dll into the plugins folder and an nsh file into the include folder. But there is no nsh file.
What am I missing?
Having a .nsh is not a plugin requirement, some of them will just have a .dll...Originally Posted by Skeeve View PostWhat am I missing?
Error #19
I'm using nsUnzip:Extract in my installer and it works great most of the time.
I do a Pop $0 to get the exit code and display it if it is not 0.
In one case I got a return value of 19. (It happened only for one test machine, only for one of the ZIPs my installer unzipped on this machine and I cannot reproduce it, but I saw the window with the 19 in it).
None of the error codes listed in the source (it is saied to be based on http://info-zip.org/UnZip.html) or elsewhere I looked talks about that code.
How is that possible ? What does the return code of 19 mean ?
Thanks,
Ted
I'm using nsUnzip:Extract in my installer and it works great most of the time.
I do a Pop $0 to get the exit code and display it if it is not 0.
In one case I got a return value of 19. (It happened only for one test machine, only for one of the ZIPs my installer unzipped on this machine and I cannot reproduce it, but I saw the window with the 19 in it).
None of the error codes listed in the source (it is saied to be based on http://info-zip.org/UnZip.html) or elsewhere I looked talks about that code.
How is that possible ? What does the return code of 19 mean ?
Thanks,
Ted
ted.reinhard
You should debug extract_or_test_files function of "Source\extract.c".
You should debug extract_or_test_files function of "Source\extract.c".