compress or add files to .zip archiv
hello guys,
i'm searching since 2 hours for a solution but i didnt find one. So maybe someone of u can help me.
I want to compress/zip a folder/dir to dirname.zip. I found one method with 7-zip and the following code:
...
SetOutPath $INSTDIR
File "..\..\7-Zip\7zFM.exe"
Rename 7zFM.exe 7za.exe
nsExec::Exec '"$INSTDIR\7za.exe a -tzip -r dir.zip *";zip up dir
...
but during the installation it always opens 7-zip and nothing happens - it doesnt create a .zip file like dirname.zip or something like that.I also searched on the nsis.sourceforge.net site, but i only found a plugin for unzipping a archiv.
And @ info-zip.org i didnt find any solution.
Thx for help,
shavo