Hello.

Every time a debug is performed into a PPC using Visual Studio 2005,
the IDE deploys the .Net CF into de device. Is there any way to write
a desktop application that does the same thing?

What I've been doing is developing a desktop application that uses
RAPI.dll in order to copy the .Net CF CAB and then I run the process
"\windows\wceload.exe" to install the cab.

But I would like to find some code that does this operation in a
transparent way for the user... I think that the best approach is the
one implemented by Visual Studio.

Thanks.

Re: Deploy .Net CF as Visual Studio does by Peter

Peter
Tue Apr 22 10:44:02 CDT 2008

You can use the /noaskdest and /noui arguments to wceload to suppress
prompts during installation. See here for details:-
http://msdn2.microsoft.com/en-us/library/bb158700.aspx

Peter

--
Peter Foot
Microsoft Device Application Development MVP
www.peterfoot.net | www.inthehand.com
In The Hand Ltd - .NET Solutions for Mobility



"Arijull" <ariadna.sirianni@gmail.com> wrote in message
news:244787ed-e0fb-47c0-8f32-39c824ea9769@26g2000hsk.googlegroups.com...
> Hello.
>
> Every time a debug is performed into a PPC using Visual Studio 2005,
> the IDE deploys the .Net CF into de device. Is there any way to write
> a desktop application that does the same thing?
>
> What I've been doing is developing a desktop application that uses
> RAPI.dll in order to copy the .Net CF CAB and then I run the process
> "\windows\wceload.exe" to install the cab.
>
> But I would like to find some code that does this operation in a
> transparent way for the user... I think that the best approach is the
> one implemented by Visual Studio.
>
> Thanks.


Re: Deploy .Net CF as Visual Studio does by Arijull

Arijull
Tue Apr 22 11:09:30 CDT 2008

Hi Peter.

Thanks for your quick answer!

I've tried what you say. But anyway there is a problem. The .Net CF
for Windows Mobile 5 asks for a soft reset of the PPC once the install
process ends.
On the other hand, when Visual Studio deploys that cab it doesn't seem
to have the need to perform a soft reset.

That's why I'm trying to do the deploy as Visual Studio does. Because
someway its deployment is more transparent.

Re: Deploy .Net CF as Visual Studio does by efatihan

efatihan
Tue Apr 22 16:02:07 CDT 2008

On 22 Nisan, 19:09, Arijull <ariadna.siria...@gmail.com> wrote:
> Hi Peter.
>
> Thanks for your quick answer!
>
> I've tried what you say. But anyway there is a problem. The .Net CF
> for Windows Mobile 5 asks for a soft reset of the PPC once the install
> process ends.
> On the other hand, when Visual Studio deploys that cab it doesn't seem
> to have the need to perform a soft reset.
>
> That's why I'm trying to do the deploy as Visual Studio does. Because
> someway its deployment is more transparent.

For WM5, under windows folder there is load_cab.exe. If u give your
cab file as a parameter, after install it won't ask you for restart.