Skip to main content

Posts

Showing posts from May, 2007

Uninstall an application from the command line

Software automation testing sometimes need to perform installation and un-installation of software products. One of the new things that I learned was that a user can un-install a certain application from the command line. To determine how to uninstall a certain product, open registry and navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall. For the application that you want to uninstall look for the key "UninstallString". Copy and paste this string in the command line, hit on {ENTER} and it should uninstall the application for you. ~ts~

Determine the application that spawn a certain process

Maintaining the performance of a computer takes a lot of research and tinkering of the system. One of the tools that that I find really useful is Process Explorer formerly of Sys Internals which is now a part of Microsoft. It was originally and still is designed/maintained by Mark Russinovich, et al. One of the key features that I like with Process Explorer is that it shows a tree view of the running process in a system. And in addition to that it allows the user to search by process handle or a DLL substring. The best feature that I like with this tool is that it shows you the command line arguments used to run the application. If you think this is too good to be true, see for yourself. Head to http://www.microsoft.com/technet/sysinternals/utilities/ProcessExplorer.mspx and download the file. ~ts~