467,910 Members | 1,671 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,910 developers. It's quick & easy.

Unzipping Self Extracting Zip

bjm
I created a self extracting zip file with about 9000 files in it. I
extracted it manually from the command line without a problem.
However, when I tried to do the same extraction at the same location
with the same arguments (using the Process class), a command prompt
opens, and it begins extracting files. After about 70 files have been
extracted, the main form for my application loses focus and I get an
hourglass cursor (which is normal, I expect that to happen in the
background while processes continue running in the foreground, this is
what happened for my other processes I've run with the Process class).
At the time that that occurs, the extraction hangs. It doesn't return
or print any errors, it just stops extracting and sits there
indefinitly. Does anyone have any ideas why this would happen?

Dec 19 '06 #1
  • viewed: 1971
Share:
2 Replies
Sounds like it needs a command answering to continue, or running from a
process it doesn't have the same rights as you do when you run it. Try
running it as a scheduled job using task scheduler, giving your credentials
and see if it works, if it does you probably need to overload proces.start
with credentials

http://msdn2.microsoft.com/en-us/library/sxf2saat.aspx

Regards

John Timney (MVP)
VISIT MY WEBSITE:
http://www.johntimney.com
http://www.johntimney.com/blog
"bjm" <cy**********@hotmail.comwrote in message
news:11*********************@f1g2000cwa.googlegrou ps.com...
>I created a self extracting zip file with about 9000 files in it. I
extracted it manually from the command line without a problem.
However, when I tried to do the same extraction at the same location
with the same arguments (using the Process class), a command prompt
opens, and it begins extracting files. After about 70 files have been
extracted, the main form for my application loses focus and I get an
hourglass cursor (which is normal, I expect that to happen in the
background while processes continue running in the foreground, this is
what happened for my other processes I've run with the Process class).
At the time that that occurs, the extraction hangs. It doesn't return
or print any errors, it just stops extracting and sits there
indefinitly. Does anyone have any ideas why this would happen?

Dec 19 '06 #2
"John Timney (MVP)" <x_****@timney.eclipse.co.ukwrote in message
news:Zc******************************@eclipse.net. uk...
Sounds like it needs a command answering to continue
I've seen this before when the extraction process doesn't implement the
folder structure within the original zip file - any duplicate filenames will
try to display a prompt...
Dec 19 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Doug Tolton | last post: by
5 posts views Thread by Nazgul | last post: by
10 posts views Thread by Calvin FONG | last post: by
reply views Thread by k_nil | last post: by
reply views Thread by k_nil | last post: by
1 post views Thread by Terry Olsen | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.