Exctracting .CAB files

  • Thread starter Thread starter Mihai Virtosu
  • Start date Start date
M

Mihai Virtosu

Is there a simple way to programmatically extract a .CAB file?

Thanks!

Mihai Virtosu
 
If the file path is correct and the CreateProcess returns no error that
would indicate a couple of possible issues:-

Is the cab file the correct processor version for the device? (arm, mips,
sh3 etc)
Is the application already installed? (see the settings > remove programs
applet)
Does the cab file install correctly when manually tapped by the user in File
Explorer?

Peter

--
Peter Foot
Windows Embedded MVP

In The Hand
http://www.inthehand.com
 
However, a strange thing happens. I cannot find wceload.exe in my Pocket PC
Windows directory using File Explorer. Instead, it shows up if I use my
desktop computer's Windows Explorer. Why is that?

Mihai
 
Peter,

You wouldn't believe this: it works if I change \\Storage Card\\sth.cab to
\\test\\sth.cab (here \\test is a valid directory on my Pocket PC).

Anyway, thanks a lot.

Mihai Virtosu
 
That's expected behavior. Your first path had spaces in it, so you must
enclose the full filename and path in a quote delimiter so wcesload.exe
knows to use the entire string.
 
Back
Top