mspocketpc.org Forum Index
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to install/uninstall apps on emulators?

 
Post new topic   Reply to topic    mspocketpc.org Forum Index -> Developers
Author Message
sherifffruitfly



Joined: 18 Feb 2008
Posts: 8

PostPosted: Mon Feb 18, 2008 2:24 am    Post subject: How to install/uninstall apps on emulators? Reply with quote

Hi all,

I need to programmatically install/uninstall apps onto the smartphone/
ppc emulators. What are some ways to do this?

TIA!

Archived from group: microsoft>public>pocketpc>developer
Back to top
View user's profile Send private message
dbgrick



Joined: 15 Aug 2007
Posts: 173

PostPosted: Tue Feb 19, 2008 6:18 pm    Post subject: RE: How to install/uninstall apps on emulators? Reply with quote

One way is to configure a shared drive for the emulator.
1. Under the emulator menu options File->Configure
2. Map a shared folder under the General tab.
3. Place your cab file in the mapped shared folder.
4. Use the emulator's file explorer to navigate to the Storage Card
directory.
5. Click on your cab file and follow the install procedure.

Another way is to connect to your emulator using activeSync.
Simply start your emulator. Then using the Device Emulator manager (located
under the tools directory in Visual Studios). Right click on your emulator
and select the connect menu option. This should kick off activeSync. Then
you just treat the emulator like a real device. (Either use a desktop msi
install for the app or copy the cab file to the device and install as listed
above)

Regards,
Rick D.

"sherifffruitfly" wrote:

> Hi all,
>
> I need to programmatically install/uninstall apps onto the smartphone/
> ppc emulators. What are some ways to do this?
>
> TIA!
>
Back to top
View user's profile Send private message
sherifffruitfly



Joined: 18 Feb 2008
Posts: 8

PostPosted: Tue Feb 19, 2008 10:37 pm    Post subject: Re: How to install/uninstall apps on emulators? Reply with quote

On Feb 19, 1:18 pm, dbgrick wrote:

> Another way is to connect to your emulator using activeSync.
> Simply start your emulator. Then using the Device Emulator manager (located
> under the tools directory in Visual Studios).  Right click on your emulator
> and select the connect menu option.  This should kick off activeSync.  Then
> you just treat the emulator like a real device.  (Either use a desktop msi
> install for the app or copy the cab file to the device and install as listed
> above)

To do this *programmatically* then means going via RAPI?

I don't know what the programmatic way of going the first route you
mentioned is.

Thanks for the reply!
Back to top
View user's profile Send private message
dbgrick



Joined: 15 Aug 2007
Posts: 173

PostPosted: Wed Feb 20, 2008 12:09 am    Post subject: Re: How to install/uninstall apps on emulators? Reply with quote

I assumed you were installing an application via a cab file or from a desktop
installer file. Were you trying to find out how to make an installer file or
how to install software from in installer file? I've included a link on how
to create a cab file using Visual Studios. Let me know if you need any
additional information.

http://www.devx.com/wireless/Article/31198/1954

Regards,
Rick D.

"sherifffruitfly" wrote:

> On Feb 19, 1:18 pm, dbgrick wrote:
>
> > Another way is to connect to your emulator using activeSync.
> > Simply start your emulator. Then using the Device Emulator manager (located
> > under the tools directory in Visual Studios). Right click on your emulator
> > and select the connect menu option. This should kick off activeSync. Then
> > you just treat the emulator like a real device. (Either use a desktop msi
> > install for the app or copy the cab file to the device and install as listed
> > above)
>
> To do this *programmatically* then means going via RAPI?
>
> I don't know what the programmatic way of going the first route you
> mentioned is.
>
> Thanks for the reply!
>
Back to top
View user's profile Send private message
sherifffruitfly



Joined: 18 Feb 2008
Posts: 8

PostPosted: Wed Feb 20, 2008 12:35 am    Post subject: Re: How to install/uninstall apps on emulators? Reply with quote

On Feb 19, 7:09 pm, dbgrick wrote:
> I assumed you were installing an application via a cab file or from a desktop
> installer file. Were you trying to find out how to make an installer file or
> how to install software from in installer file? I've included a link on how
> to create a cab file using Visual Studios.  Let me know if you need any
> additional information.

Sorry - when I said I was looking for a programmatic way to install
apps, I meant:

(a) I already have the apps I want to install in cabs.
(b) I'm trying to write a program that installs these cabbed apps onto
the emulator.
(c) I was wondering what approaches were available to me to do this.
Back to top
View user's profile Send private message
James



Joined: 23 Jan 2008
Posts: 12

PostPosted: Tue Feb 26, 2008 11:00 pm    Post subject: Re: How to install/uninstall apps on emulators? Reply with quote

.... this might work ... copy CAB files from a shared folder and run them
like you'd start, say, Clock.exe. CAB files have a standard application to
work with them. You can put the CABs into a folder our use an ini file or
your own file format.




"sherifffruitfly" wrote in message @i12g2000prf.googlegroups.com...
> On Feb 19, 7:09 pm, dbgrick wrote:
>> I assumed you were installing an application via a cab file or from a
>> desktop
>> installer file. Were you trying to find out how to make an installer file
>> or
>> how to install software from in installer file? I've included a link on
>> how
>> to create a cab file using Visual Studios. Let me know if you need any
>> additional information.
>
> Sorry - when I said I was looking for a programmatic way to install
> apps, I meant:
>
> (a) I already have the apps I want to install in cabs.
> (b) I'm trying to write a program that installs these cabbed apps onto
> the emulator.
> (c) I was wondering what approaches were available to me to do this.

Back to top
View user's profile Send private message
Display posts from previous:   
Related Topics:
WM6 emulators 2.0; Is it me or the bug :-); BTW Hi, I installed succesfully the basic WM6 emulator 2.0 for WM 6 Professional. It works like expected and I can connect freely to the internet. With the same preferences it is not possible to build up a conection with the WM6 PE vga emulator. Restarting my

CeAppManager and Uninstall key I'm bewildered by the documentation at This states that "the name must match the application's registered Windows U

Custom Device Emulators Hi, A couple of questions I'm developing under VC2005/WM5 and noticed that there is a 320x240 landscape emulator. I downloaded and itstalled it - it has a QWERTY keyboard - but how do you enter numbers? I then found a link to the MotorolaQ which has a cu

uninstall cab will fail, not everytime. I build a cab to install my program with some registery setting. The installation part is always ok. But first time when I tap the record in Remove list to unstall it, after processing, the record on list is gone but my program and the registery setting s

Any custom devce emulators out there? (that is apart from the MotorolaQ one which does not emulate the keyboard faithfully.) Hi, I'm developing under VC2005/WM5 The app I am developing traps keypresses - including the softkeys - as shortcuts for numerous tasks. It would be good if I could rel
Post new topic   Reply to topic    mspocketpc.org Forum Index -> Developers All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group