Load .cab on SD with Wceload.exe !

  • Thread starter Thread starter Paul J.
  • Start date Start date
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
 
You need to quote the command line:

OpenNETCF .WinAPI .Core .CreateProcess("\\windows\\wceload.exe","\"\\Storage
Card\\appli_2003.CAB\"");
 
:-(
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\"");





.
 
Back
Top