in src/VSSetup.PowerShell/QueryFactory.cs [18:32]
public static ISetupConfiguration2 Create()
{
try
{
return new SetupConfiguration();
}
catch (COMException ex) when (ex.ErrorCode == NativeMethods.REGDB_E_CLASSNOTREG)
{
return null;
}
catch (FileNotFoundException)
{
return null;
}
}