473,395 Members | 1,846 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

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
2 2179
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Doug Tolton | last post by:
Is there a simple way to zip and unzip files? I'm looking for something along the lines of: zfile = zipfile(r'c:\somefile.zip') zfile.extract(r'c:\somefiles') I've looked at the...
5
by: Nazgul | last post by:
Hi! I want to implement a small tool in Python for distributing "patches" and I need Your advice. This application should be able to package all files chosen by a user into a self-extracting.exe...
10
by: Calvin FONG | last post by:
Dear all, Are there any utility that can be call by python to create self extracting zip file. I'm now using the powerarchiever. But the command line options aren't flexible enough. Basically, I...
0
by: k_nil | last post by:
Hi, I have created a self extracting exe. the exe will extract an exe and a txt file on the machine. I wana launch the exe as soon as the extraction happens. how could i do this? any information...
0
by: k_nil | last post by:
I have a link on my web page for a self extracting executable file placed on the server. When the link is clicked, 1) i could see dialog box with open or save options 2) when open clicked, self...
1
by: Terry Olsen | last post by:
Ok, now that I've got my disk imager program working, I'd like to attach a "self-extractor" to the front end of the image file and make it a self-extracting disk image executable file. The idea...
2
by: Robert McEuen | last post by:
Sorry if this double-posts...Google doesn't do a very good job of communicating whether something has posted or not. Using Access 97, WindowsXP Is there a way to pass command line parameters...
6
by: Werner | last post by:
Hi, I try to read (and extract) some "self extracting" zipefiles on a Windows system. The standard module zipefile seems not to be able to handle this. False Is there a wrapper or has...
0
by: avik1612 | last post by:
Hi, I have created a program to unzip the file. It is unzipping the zip files when put in directory i.e folder inside folder but when i create a zip file without putting in a folder and try to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.