PC Review Forums Newsgroups Microsoft DotNet Microsoft Dot NET Compact Framework Deploy .Net CF as Visual Studio does

Reply

Deploy .Net CF as Visual Studio does

 
Thread Tools Rate Thread
Old 22-04-2008, 04:15 PM   #1
Arijull
Guest
 
Posts: n/a
Default Deploy .Net CF as Visual Studio does


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.
  Reply With Quote
Old 22-04-2008, 04:44 PM   #2
Peter Foot
Guest
 
Posts: n/a
Default Re: Deploy .Net CF as Visual Studio does

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.


  Reply With Quote
Old 22-04-2008, 05:09 PM   #3
Arijull
Guest
 
Posts: n/a
Default Re: Deploy .Net CF as Visual Studio does

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.
  Reply With Quote
Old 22-04-2008, 10:02 PM   #4
Fatih Işıkhan
Guest
 
Posts: n/a
Default Re: Deploy .Net CF as Visual Studio does

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.
  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off