all groups > dotnet compact framework > april 2008 >
You're in the

dotnet compact framework

group:

Deploy .Net CF as Visual Studio does


Deploy .Net CF as Visual Studio does Arijull
4/22/2008 8:15:50 AM
dotnet compact framework:
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.

Re: Deploy .Net CF as Visual Studio does Arijull
4/22/2008 9:09:30 AM
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
Re: Deploy .Net CF as Visual Studio does Fatih_Iþýkhan
4/22/2008 2:02:07 PM
[quoted text, click to view]

For WM5, under windows folder there is load_cab.exe. If u give your
Re: Deploy .Net CF as Visual Studio does Peter Foot
4/22/2008 4:44:02 PM
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



[quoted text, click to view]
AddThis Social Bookmark Button