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

Re: Load .cab on SD with Wceload.exe ! by Alex

Alex
Mon Jan 26 11:00:00 CST 2004

You need to quote the command line:

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


"Paul J." <anonymous@discussions.microsoft.com> wrote in message
news:410501c3e42c$a9ac6f50$a301280a@phx.gbl...
> 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



Re: Load .cab on SD with Wceload.exe ! by Paul

Paul
Mon Jan 26 11:08:38 CST 2004

:-(
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\"");
>
>
>"Paul J." <anonymous@discussions.microsoft.com> wrote in
message
>news:410501c3e42c$a9ac6f50$a301280a@phx.gbl...
>> 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
>
>
>.
>