sherifffruitfly
Wed Mar 12 12:43:25 CDT 2008
On Mar 11, 6:30=A0pm, "Christopher Fairbairn"
<christop...@christec.co.nz> wrote:
> Hi,
>
> "sherifffruitfly" <sherifffruit...@gmail.com> wrote in message
>
> news:d692f5c1-2743-46c0-8c00-dca1f71120a5@e23g2000prf.googlegroups.com...
>
> > What I don't know is what c# (or other) code to write that accesses
> > this function to uninstall an app. Anyone got a small example?
>
> The link you provided outlined the XML you need to pass to the function. T=
he
> technical documentation for how to come up with that XML can be found on
> MSDN at
http://msdn2.microsoft.com/en-us/library/bb737577.aspx. It is the
> Uninstall Configuration Service Provider (CSP).
>
> In order to do this via managed code you can make use of the
> ConfigurationManager.ProcessConfiguration method
> (
http://msdn2.microsoft.com/en-us/library/microsoft.windowsmobile.conf...)=
> if you are on a Windows Mobile 5.0 or higher device.
>
> If you are using an older device, or need to do this in native code you ne=
ed
> to investigate a native function called DMProcessConfigXML (as documented =
on
> MSDN at
http://msdn2.microsoft.com/en-us/library/ms852998.aspx).
>
> Hope this helps,
> Christopher Fairbairn
ConfigurationManager.ProcessConfiguration sounds like exactly what I
needed - thanks!