PDA

View Full Version : cab file for gprs connection


borislav.borissov
4th November 2006, 11:16 AM
Hi All,

I found nice way to automate gprs connection settings creation and I believe that I have to share this with community. Probably for most of you it is not something new- sorry for these that are knowledgable, but for me it was real progress ... so three steps:

1. Create simple txt file like shown bellow and rename it to _setup.xml. Make changes to suit your operator - APN, usename, password and connection name

---------begin of file-------------------------------
<wap-provisioningdoc>
<characteristic type="Install">
<parm name="InstallPhase" value="install" />
<parm name="AppName" value="CAB Provisioning File" />
<parm name="NoUninstall" value="1" />
<parm name="NumDirs" value="1" />
<parm name="NumFiles" value="1" />
<parm name="NumRegKeys" value="0" />
<parm name="NumRegVals" value="0" />
<parm name="NumShortcuts" value="0" />
</characteristic>
<characteristic type="CM_GPRSEntries">
<characteristic type="NAME-OF-CONNECTION">
<parm name="DestId" value="{436EF144-B4FB-4863-A041-8F905A62C572}" />
<characteristic type="DevSpecificCellular">
<parm name="GPRSInfoAccessPointName" value="PUT.YOUR.APN.NAME.HERE" />
</characteristic>
<parm name="UserName" value="USERNAME" />
<parm name="Password" value="PASSWORD" />
<parm name="Enabled" value="1" />
</characteristic>
</characteristic>
</wap-provisioningdoc>
---------end of file-------------------------------
2. Download the following util from MS Site

http://support.microsoft.com/kb/310618

3. do the following
makecab /D COMPRESS=OFF _setup.xml gprs.cab

4. Move the gprs.cab to your device and execute it ... and the magic works.

What I'm looking for is how to install certificate on device - issued from my internal CA....

Regards,
BB.

lts
4th November 2006, 12:31 PM
I take it that you are looking for a way to install a certificate with a CAB and not just copy the certificate to the device and 'run' it?

If so, have a look here: http://www.microsoft.com/technet/itsolutions/mobile/deploy/msfp_b.mspx