Kiquenet
Kiquenet

Reputation: 15036

Dependencies Checker Diagnostics utility using C#

Update:

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.

I use VS 2010, C#, Win7 and WinXP.

I only found Ndiagnostics in codeplex, but is dead project

For example, how can I determine this configurations, like Sql Server 2008 R2 installer does (SQL Server Setup validates your computer configuration before the Setup operation completes).


Customs for:

and more...

any suggestions, code samples, tips, sample applications, etc ?

Update: Request in Microsoft All-In-One Code Framework
http://1code.codeplex.com/workitem/10118

good idea is Diagnostics Tool for Microsoft Dynamics CRM 2011 but it's specific only for CRM
http://crmdiagtool2011.codeplex.com/

Upvotes: 0

Views: 533

Answers (1)

Daniel Powell
Daniel Powell

Reputation: 8303

If the only job of the winforms app was to check prerequisites you could achieve this quite easily but building you own custom rule engine and then just create classes for each type of rule you want to apply.

Of course then you run into problems like the winforms app wont run unless .net is installed etc.

It would be a better idea to investigate some of the technologies I mentioned as they have some form of "prerequist" checking built in, although I believe in the case of sql this is most likely a chunk of custom code that microsoft has written and provided in the SQL 2008 msi.

I believe sql 2008 msi is built using wix, if so and Microsoft hasn't obfuscated it in any way you may be able to decompile the msi with the tools on the wix codeplex page and then view the code that microsoft used to generate such an interface.

Upvotes: 1

Related Questions