For an automated setup build that generates the setup for an application which uses Microsoft SQL Server, I am currently evaluating whether the following is possible:
You could invoke a standard select clause (using ADO.NET for example) over the sysobjects view.