Load .cab on SD with Wceload.exe !

P

Paul J.

Hello,

I'm creating a full setup standalone program for my
application.
There is a strange thing with wceload.exe :

I can not invoke a .cab directly on the SD card like this :

OpenNETCF .WinAPI .Core .CreateProcess
("\\windows\\wceload.exe","\\Storage
Card\\appli_2003.CAB");

BUT, when i copy this .cab in \\temp directory, it works :

File .Copy ("\\Storage
Card\\appli_2003.CAB","\\temp\\appli_2003.CAB",true);
OpenNETCF .WinAPI .Core .CreateProcess
("\\windows\\wceload.exe","temp\\appli_2003.CAB");

Is it a normal behavior of wceload.exe ?

Thanks,
PJ
 
A

Alex Feinman [MVP]

You need to quote the command line:

OpenNETCF .WinAPI .Core .CreateProcess("\\windows\\wceload.exe","\"\\Storage
Card\\appli_2003.CAB\"");
 
P

Paul J.

:-(
it was the space ..
Thanks !
PJ.
-----Original Message-----
You need to quote the command line:

OpenNETCF .WinAPI .Core .CreateProcess ("\\windows\\wceload.exe","\"\\Storage
Card\\appli_2003.CAB\"");





.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top