HighTechTalks DotNet Forums  

Re: Uninstalling software via exe (please quick)

Dotnet Framework (Compact Framework) microsoft.public.dotnet.framework.compactframework


Discuss Re: Uninstalling software via exe (please quick) in the Dotnet Framework (Compact Framework) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Peter Foot [MVP]
 
Posts: n/a

Default Re: Uninstalling software via exe (please quick) - 12-08-2004 , 02:52 PM






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

--
Peter Foot
Windows Embedded MVP
www.inthehand.com | www.opennetcf.org

"Koray TUŠ" <koray.tug (AT) univera (DOT) com.tr> wrote

Quote:
hi
i want to uninstall my software via another exe file.
but i dont know how will i do.




Reply With Quote
  #2  
Old   
Robert Levy [MS]
 
Posts: n/a

Default Re: Uninstalling software via exe (please quick) - 12-08-2004 , 10:49 PM






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.

Peter Foot [MVP] wrote:
Quote:
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

--
Peter Foot
Windows Embedded MVP
www.inthehand.com | www.opennetcf.org

"Koray TUŠ" <koray.tug (AT) univera (DOT) com.tr> wrote in message
news:eDL1KnQ3EHA.2540 (AT) TK2MSFTNGP09 (DOT) phx.gbl...
hi
i want to uninstall my software via another exe file.
but i dont know how will i do.



Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.