Archive: Extract Zip Files During The Istallation


Extract Zip Files During The Istallation
I want that the installer extracts automatic some files to the ".../WINDOWS/System32"

I found this in the ZipDLL And it Doesn't work :(
PLEASE HELP tell me the code I REALLY CANT FIND IT

--------------------------------------------------------

ZipDLL::extractfile

!macroend

!macro MUI_ZIPDLL_EXTRACTALL SOURCE DESTINATION

Push "${DESTINATION}"
Push "${SOURCE}"

;The strings that will be translated are:

;" Error: %s"
;"Could not get file attributes."
;"Error: Could not get file attributes."
;"Could not extract %s"
;" Error: Could not extract %s"
;" Extract : %s"
;" Extracting %d files and directories"
;"Extracting contents of %s to %s"


If you want to extract the whole file use the macro to extract all files with the source file and destination folder (use !insertmacro).


Is this right

!insertmacro "$PROGRAMFILES\bla\bla\blablabla.zip"

and the destination (...\WINDOWS\System32\)
wich code do I need to use for the destination


You have to specify the name of the macro after !insertmacro.

!insertmacro MACRONAME PARAMETER1 PARAMETER2

For the system folder use $SYSDIR.