Friday, January 20, 2012

Silently uninstalling previous version of product

Syntax:

1)   msiexec /x {PRODUCT_ID}

2)   msiexec.exe /i { PRODUCT_ID } /qn REMOVE=ALL

Commands helpful in accessing IIS 7.0

AppCmd.exe is a command which can be very helpful in accessing various types of information from IIS 7.0.

This exe resides in SYSTEM32\INETSRV directory on a local machine.

Some commands are:


appcmd list site "Default Web Site" /xml | appcmd list app /in /xml | appcmd list apppool /in /xml | appcmd recycle apppool /in
appcmd list app /site.name:"Default Web Site" /xml | appcmd list apppool /in /xml | appcmd recycle apppool /in


I will describe the purpose of these commands soon...