Deploy .Net CF as Visual Studio does

  • Thread starter Thread starter Arijull
  • Start date Start date
A

Arijull

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.
 
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.
 
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.
 
Back
Top