Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Issue with the new Expand.exe on Windows server 2008-R2

129 views
Skip to first unread message

Benzi Eilon

unread,
Jul 1, 2010, 12:41:55 AM7/1/10
to
I have a .Net C# service application which does, among other tasks, the
following:

1. Copies a number of *.CAB files to the same folder
2. Per each CAB file, starts a process which executes the EXPAND command to
extract all the files from the CAB file to the same folder (each CAB contains
several hundreds of small files)
3. Waits for all these processes to finish

There is no overlap of files between the CAB files and initially the target
folder is empty.

This works fine on XP and WS03 but fails on WS08-R2. Investigation showed
that on this system Expand.exe is a new executable, (version 6.1.7600.16385,
size 64KB) while the XP version is older (5.1.2600.0, size 16KB). My
application works fine with the old version of Expand.exe (even on WS08-R2)
but fails with the new one.

Note: the new Expand.exe succeeds if there is only one CAB file and only one
process to extract it.

Running the CAB expansion processes as a CMD /K with the new Expand.exe
showed me that after many output lines (one per each file in the CAB) of the
form:

Adding <file_path> to Extraction Queue

I get the following error messages:

[QUOTE]
Expanding Files ....

One or more files could not be expanded. Delta Package Expander Returned
0x80070002

Expanding File <cab_file_path> Incomplete, Error Code=0x80070002
Error Description: The system cannot find the path specified.
[ENDQUOTE]

or (in most of the processes):

[QUOTE]
Expanding Files ....

One or more files could not be expanded. Delta Package Expander Returned
0x80070003

Expanding File <cab_file_path> Incomplete, Error Code=0x80070003
Error Description: The system cannot find the path specified.
[ENDQUOTE]

Please explain what is the reason for this problem and how to overcome it.

TIA,

--
Benzi Eilon

Marcin Załęczny

unread,
Aug 25, 2010, 5:29:42 AM8/25/10
to
Hi,

I don't know the rison but try this:
1. If you don't specify full path to extracted cab files in command running
expand.exe then try give full path to the files or run expand.exe with
setting its current working directory as the folder containing mentioned
files.
2. If above don't help then try run procmon.exe from sysinternals and
observe what non-existing files expand.exe is referencing to.

Marcin Zaleczny


Użytkownik "Benzi Eilon" <benzi...@newsgroups.nospam> napisał w wiadomości
grup dyskusyjnych:5913E664-0A95-4497...@microsoft.com...

0 new messages