|
| Author |
Message |
sherifffruitfly
Joined: 18 Feb 2008 Posts: 8
|
Posted: Mon Feb 18, 2008 2:24 am Post subject: How to install/uninstall apps on emulators? |
|
|
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 |
|
 |
dbgrick
Joined: 15 Aug 2007 Posts: 173
|
Posted: Tue Feb 19, 2008 6:18 pm Post subject: RE: How to install/uninstall apps on emulators? |
|
|
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 |
|
 |
sherifffruitfly
Joined: 18 Feb 2008 Posts: 8
|
Posted: Tue Feb 19, 2008 10:37 pm Post subject: Re: How to install/uninstall apps on emulators? |
|
|
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 |
|
 |
dbgrick
Joined: 15 Aug 2007 Posts: 173
|
Posted: Wed Feb 20, 2008 12:09 am Post subject: Re: How to install/uninstall apps on emulators? |
|
|
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 |
|
 |
sherifffruitfly
Joined: 18 Feb 2008 Posts: 8
|
Posted: Wed Feb 20, 2008 12:35 am Post subject: Re: How to install/uninstall apps on emulators? |
|
|
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 |
|
 |
James
Joined: 23 Jan 2008 Posts: 12
|
Posted: Tue Feb 26, 2008 11:00 pm Post subject: Re: How to install/uninstall apps on emulators? |
|
|
.... 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 |
|
 |
|