Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Deploying .Net Compact Framework applications in windows mobile via msi file

I was trying to generate a MSI file via a visual studio 2008 project which will install a/multiple cab file(s) to windows mobile via activesync(CeapMgr).

I used this as a reference : http://msdn.microsoft.com/en-us/library/aa446504.aspx

However when I install the application to the mobile phone(via activesync) by using the MSI, it adds an entry of the mobile application in the "Control Panel-Add/Remove Programs" of the PC in which the MSI is run, although the application is only supposed to installed in the mobile via activesync.

I do not want the entry in the Add/Remove programs of the PC.

Any suggestions?

like image 388
Vicky Avatar asked Jan 29 '26 10:01

Vicky


1 Answers

This is correct behavior. MSI files do not get installed on the device. Installation files for the device are CAB files.

The article you are looking at creates and MSI that registeres the CAB file with ActiveSync/WMDC. When you connect your device, ActiveSync/WMDC then knows that the application is available for installation on the connected device and through the PC UI you can select to install the application.

If this is not what you are after, then you simply need to create the CAB file. You don't need the MSI or the associated MSI installer project at all. Just create the CAB, copy it to the target however you choose (USB, SD card, RAPI or whatever) and then run the CAB on the target.

like image 67
ctacke Avatar answered Feb 01 '26 00:02

ctacke