Archive: how to extract an archive file in script


how to extract an archive file in script
I use NSISdl::HTTPDownload to get an archive
(maybe a winzip archive or some kind of self extracting archive), but how do I extract it from within the script
into $INSTDIR, silently?


To extract from zip archives you can use the ZipDLL plugin as for seft-extracting archives you should be able to use exec command or one of its variants, but I'm not sure if you'll manage to get those working in silent mode.

Vytautas


Thanks, I've been searching the forum and user manual for zipdll for the last half hour but couldn't find it. Can you
give me the syntax for it?

is it like :

!include ???.nsh
which header file to include?

zipdll::extractall archive.zip $INSTDIR


Originally posted by Vytautas
To extract from zip archives you can use the ZipDLL plugin as for seft-extracting archives you should be able to use exec command or one of its variants, but I'm not sure if you'll manage to get those working in silent mode.

Vytautas

There is a readme file included in the ZipDLL plugin zip file. If you still need help please specify if you are using MUI or not.

Vytautas