Uninstalling software via exe (please quick)

  • Thread starter Thread starter Koray TUÐ
  • Start date Start date
K

Koray TUÐ

hi
i want to uninstall my software via another exe file.
but i dont know how will i do.
 
Partly depends on how the software was installed in the first place and what
type of device you are using. But say for example your application was
installed as a cab file on Pocket PC and appears in the Remove Programs
applet. In this case you run the unload.exe application with the fullname of
the installation package as a command line argument. You can determine this
from the Remove Programs screen or look in the registry on the device -
HKEY_LOCAL_MACHINE\SOFTWARE\Apps and it's subkeys

You can refer to the OpenNETCF SDF for Registry and Process code
(www.opennetcf.org/sdf)
e.g.
Process.Start("unload.exe","MyCompany MpApp v2")

Peter
 
On all Smartphone devices (and the next version of Pocket PC), the
"official" way of doing this is through calling DMProcessConfigXML with the
UnInstall CSP. Querying this CSP will also tell you what apps are
installed.

--
Robert Levy
Program Manager
Mobile Devices Product Group
http://blogs.msdn.com/windowsmobile

This posting is provided "AS IS" with no warranties, and confers no
rights.
 
Back
Top