Best Sample for Dependency Checker and diagnostics utility

description

I want use any WinForms application to validate my computer configuration and diagnostics utility that can be ran by an end user or by technical support personnel to determine whether a user's machine is configured correctly for a given application.

I would like found references inspired by day-to-day regarding how to troubleshoot a workstation for a given application. Although checklists and guidelines have proved very useful the manual processes involved are somewhat tedious. Better to expidite the initial
troubleshooting and reduce turnaround times.

For example, how can I determine this
configurations, like Sql Server 2008 R2 installer does ?

Checks OS version, specific version of the .NET Framework, IIS version, system platform.for the 64-bit platform.
Checks java version, visual J# runtime version, visual C++ runtime version is installed
Checks if a pending computer restart is required.
Checks whether the computer meets minimum operating system version requirements.
Checks whether the account that is running SQL Server Setup has administrative privileges on the computer.
Checks whether the WMI service is started and running on the computer.
Checks to see if the computer is connected to the Internet.
Checks whether the computer is a domain controller.
Checks whether Windows PowerShell is installed.
Checks for previous releases of Visual Studio 2008 or if it has already been upgraded to SP1.
Checks if the existing performance counter registry hive is consistent.
Checks whether SqlServer version or SQL Server Services is installed.
Checks for .NET: smtp and proxy configuration, ...
Checks if a user is an machine Administrator, verify that a user belongs to a specified group/role, etc..

So most of these pre-requisite checking are based on registry and file system, as I suggested in my previous post. If some app is installed, it will generally add some registry keys and at least store some files in the system.

Also, it may need case by case discussion if you have some specific requests.

Perhaps in future, Microsoft do open source in codeplex some installer (like SqlServer 2008 R2).

References:

Suggestion of
Michael Sun [MSFT]
MSDN Community Support | Feedback to us