in JetBrains.SbomUtils/src/JetBrains.SbomUtils.Console/Analyzer.cs [45:51]
protected IInstalledSoftwareProvider CreateInstalledSoftwareProvider(string path)
{
if (ZipArchiveSoftwareProvider.IsSupported(path)) return new ZipArchiveSoftwareProvider(path);
if (DirectorySoftwareProvider.IsSupported(path)) return new DirectorySoftwareProvider(path);
throw new Exception($"Unsupported disk operation: {path}");
}