(imported topic written by HDWest)
I am trying to do the following in Fixlet Debugger on a Windows 7 machine:
- Download a .zip file from the web, which includes an .msi installation file.
- Extract the archive
- Execute the .msi file
I cannot believe that IEM cannot unzip a file, but that seems to be the case. So I managed to download a unzip tool using:
// Get unzip
prefetch unzip-5.52.exe sha1:e1652b058195db3f5f754b7ab430652ae04a50b8 size:167936
http://software.bigfix.com/download/redist/unzip-5.52.exe
I then have to download the archive:
prefetch myarchive.zip sha1:cce54da1b3943b3eef6856cd143abd55c2fa9e18 size:14647368 http://domain.com/myarchive.zip
The download location seems to be C:\Program Files\BigFix Enterprise\BES Client__Download. I can see each file in the folder while they are being prefetched, but they are removed as soon as each download has finished.
I then want to execute unzip-5.52.exe -o myarchive.zip -d “c:\somefolder”
Whatever I do, I cannot seem to run the unzip-5.52.exe
The log gives me:
Command started - wait cmd.exe /c "__Download\unzip.exe -o c:\sg\test\myarchive.zip -d c:\sg\test"
Command succeeded (Exit Code=1) wait cmd.exe /c "C:\__Download\unzip.exe -o c:\sg\test\myarchive.zip -d c:\sg\test"
The result is that nothing has been extracted. HELP PLEASE!!