|
|
|
|
#1 |
|
Junior Member
Join Date: Mar 2005
Posts: 3
|
7-zip messed up
Dumb as I were, I used 7-Zip to compress some of the data contained in my installer. Everything seemed fine, but now I came to conclusion that 7z.exe DOES NOT work if you don't have the whole 7-zip program installed.
There's no logical error displayed, only that "data.bin is not valid archive". This "data.bin" is created with 7-zip and is completely valid archive. If I go to command prompt and type "7z.exe e data.bin -oData" it displays the "not valid blah blah" error, but if I ALT+TAB myself to Explorer, install 7-zip, go back to command prompt and without doing anything else, type the EXACT same command, it works. Kind of sucks, you know. I obviously can't rely on that someone else has 7-zip installed and if he/she doesn't, there's just a 7z.exe window flashing and not even time to read the error message. I'm using RAR32 for DOS from now on. Dammit. |
|
|
|
|
|
#2 |
|
Junior Member
Join Date: Feb 2005
Posts: 4
|
Actually, thats why theres a 7zA.exe file
7ZA includes everything needed for 7Z internaly
|
|
|
|
|
|
#3 |
|
Major Dude
|
if you want to read the error message, call the 7z.exe directly from dos-prompt/cmd-line or this way through a shortcut:
7zip.exe <parameters> > error.txt then it writes the output into error.txt, where you can read it
hand by comm@nder21 ---------- WiKi pages:CreateInternetShortcut|Enhanced FindWindow|Parse CSV-Data|Open/Close CD-Drive|Installer without Icon|Vista application compatibility |
|
|
|
|
|
#4 |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
You need to use 7za.exe like HGOwen has pointed out. 7za.exe is the standalone version of 7-Zip.
-Stu |
|
|
|
|
|
#5 |
|
Forum King
Join Date: Jan 2002
Location: AT-DE
Posts: 3,366
|
/me still wishes there was a un7z plugin for nsis
|
|
|
|
|
|
#6 |
|
Major Dude
Join Date: May 2003
Posts: 681
|
try winrar...
Greets, Brummelchen |
|
|
|
|
|
#7 | |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
Quote:
![]() -Stu |
|
|
|
|
|
|
#8 |
|
Major Dude
Join Date: May 2003
Posts: 681
|
ups ^^
i changed from rar to 7za in one project not to brake any law. rar is smaller in archive (a little bit) and packer but 7zip is under gnu gpl or so. Greets, Brummelchen |
|
|
|
|
|
#9 | |
|
Junior Member
Join Date: Sep 2003
Location: Roswell, GA
Posts: 44
|
Quote:
Cheers! Luke |
|
|
|
|
|
|
#10 | |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
Quote:
I tried RAR on my map database site with a total of 92mB of maps (in Zip format). I tried RAR first, and it came down to 71mB. I then tried 7z and it came right down to 57mB! However, some guy tried compressing one map in both formats. It was 30mB unpacked, came to 18mB in RAR but came to 21 in 7z he told me. I'm not sure if he packed it properly or not. Perhaps I shall to some more tests some time. -Stu |
|
|
|
|
|
|
#11 |
|
Major Dude
Join Date: May 2003
Posts: 681
|
@afrow
i only used parameters for unregistered user (rar) and still use same for 7z - must be possible to open it with any other archiver and it must not slow down a system. it's a backup solution and i dont know any user's system except one ![]() best compression is unfortunately not the best solution here. Greets, Brummelchen |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|