Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Command line unzipping in a x64 system

Status
Not open for further replies.

GrandMauler

Programmer
May 16, 2007
74
US
Hello, I'm not sure what forum to post this in. If this is the wrong one, please tell me.


The reason I'm posting this in this forum is because I'm writting an SSIS Package that executes a Process Task that unzips a gz file using 7z.

The package works fine in an x86, but errors out in an x64 system with the following message: File_A.gz is not supported archive.


The strange thing is that 7z works fine if I use the Windows gui version (7z manager). But I need to use the command line version.


Maybe I need a different zip untility? Or a different approach?


Suggestions?


Thanks in advance

 
I've never used 7z, but if you are not opposed to spending around $50, you can use WinZip. At a previous job, I used WinZip along with their command line add on to successfully unzip multiple files daily on Windows Server 2003 64-bit. The files were encoded in WinZip's algorithm (I don't know much about the different compression algorithms) with the highest level encryption. I think you can download the trial to see if it works before you buy.
 
Why not get gzip.exe and try that. Just google for gzip.exe. You should be able to download it from the first or second link.

Denny
MCSA (2003) / MCDBA (SQL 2000)
MCTS (SQL 2005 / Microsoft Windows SharePoint Services 3.0: Configuration / Microsoft Office SharePoint Server 2007: Configuration)
MCITP Database Administrator (SQL 2005) / Database Developer (SQL 2005)

--Anything is possible. All it takes is a little research. (Me)
[noevil]
 
I found the answer a while back but forgot to post the answer for people with a similar problem. Here it is:

The problem is related to x64 systems. The solution is to uninstall the current 7z off the computer and install
7z442-x64.msi

I forgot where I got it from, but it shouldn't be too hard to find.

Once I did this, I no longer got the error.
Also, don't forget to associate, from the 7z manager, gz with 7z.

I hope this helps!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top