flamerail
27th February 2006 23:55 UTC
Download Zip and install with NSIS.
I've searched this forum and google top to bottom with no luck.
What I need to do is have nsis show the readme, then take and download a set of files and install them with the progress dialog. It also needs to look for a certin folder to place the files into. Please help. I had no problems locating the folders and installing them with inno but inno cannot download files. Any help is appricated!
dienjd
28th February 2006 00:19 UTC
The NSISdl.dll comes packaged with NSIS. There's a readme: ${NSIS}\Docs\NSISdl\ReadMe.txt
Another option is http://nsis.sourceforge.net/wiki/InetLoad
Afrow UK
28th February 2006 08:45 UTC
I recommend using InetLoad. For extracting Zip files you can use a commandline program like unzip.exe (you'll find it on Google). It won't change the progress bar though. To do this, you'd ave to use my RealProgress plugin.
-Stu
dandaman32
1st March 2006 08:33 UTC
Use ZipDLL to handle the extraction - cleaner. Not sure abt progress bar though.
-dandaman32
RobGrant
1st March 2006 09:16 UTC
ZipDLL has licensing issues if you are building a commercial installer, I think. You may need a license from them if you aren't willing to GPL your software (or at least your installer).
Afrow UK
1st March 2006 14:12 UTC
Plus ZipDLL has failed on some perfectly fine Zip files for me. I once used it for doing this exact same task and it would fail on 4/10 Zip files which I could open and uncompress without an issue with WinZip.
-Stu
Comperio
1st March 2006 15:07 UTC
I've used info-zip before and found that it handles zip files quite nicely with minimal overhead. I can be found at http://www.info-zip.org/
I also like 7-zip, but it can add more overhead becuase of the fact it supports other archives (such as 7z, rar, etc.)
I'm not sure about commercial licensing on either of these, though. (Something you may need to research if you want to use them in a commercial installation.)