With most of these options like: extract command, or 7zip, or unzip, or BFArchive.
If they fail, it can often be because the directory you are trying to extract to does not exist already. You can use the “folder create” actionscript to create the destination folder ahead of time.
folder create "c:\temp"
Here is an example of a task that uses the unzip.exe that IBM hosts to extract the 7zip command line tool and then uses the 7zip command line tool to unpack a Setup.exe file:
http://bigfix.me/fixlet/details/3827
I use this idea in general in many fixlets and tasks. I like this option because it allows me to use the power of 7zip with no external dependencies within the ActionScript.
For tasks that interact with the RESTAPI, I use a combination of Unzip.exe, the 7zip command line tools, and CURL all loaded dynamically so that none need to be present on the endpoint before or after my use within the ActionScript: (Thanks to the utility cache, they do not need to be downloaded multiple times)