Is there any command can trigger uninstall?

  • Thread starter Thread starter Jabin.Yan
  • Start date Start date
J

Jabin.Yan

In MSDN link ms-help://MS.MSDNQTR.v80.en/MS.MSDN.v80/
MS.MOBEMBDEV.v10.en/mobilesdk5/html/
wce51conUninstallingApplications.htm


But I want to write a piece of code to trigger uninstall application
which is installed by cab file.
Is there any command which can be used?

Thanks,
Jabin
 
I'm not sure exactly what you are after but if you just want to uninstall an
application on Windows Mobile then you can use the UnInstall Configuration
Service Provider by calling DMProcessConfigXML.

If you are running on WM5 or later than you can use the
Microsoft.WindowsMobile.Configuration.ConfigurationManager.ProcessConfiguration() method to do this, otherwise you will have to P/invoke DMProcessConfigXML.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top