[gnuwin32 - Help] RE: It seems "ZIP -A" is not working on winXP

"SourceForge.net" <[email protected]>
Newsgroups gmane.comp.windows.gnu.user
Message-ID <[email protected]>
Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=4370819
By: andriusn

Great!
Thanks,
But how to force my foo.exe extract into C:\ directory, but not in the current
directory?

I created SELF-EXTRACTING archive:

copy /b unzipsfx.exe+foo.zip foo.exe

Command response:
unzipsfx.exe
foo.zip
        1 file(s) copied.

zip -A foo.exe

Command response:
zip warning: foo.exe has a preamble of 95232 bytes

Now my foo.exe IS self extracting :-)
I am forcing my foo.exe extract into C:\ directory:

unzipsfx foo.exe -d C:\

Command response:
UnZipSFX 5.51 of 22 May 2004, by Info-ZIP (http://www.info-zip.org).
  End-of-central-directory signature not found.

Tried this:
unzipsfx foo.zip -d C:\

The same command response:
UnZipSFX 5.51 of 22 May 2004, by Info-ZIP (http://www.info-zip.org).
  End-of-central-directory signature not found.

:-(

I have read http://www.info-zip.org/pub/infozip/FAQ.html but only two topics
are available on FAQ about self-extracting archives :
How do I create a self-extracting archive that will automatically run a program
after extraction?
How do I make a DOS (or other non-native) self-extracting archive under Unix?


______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: 
https://sourceforge.net/forum/unmonitor.php?forum_id=74807

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.