Share via


Installer.Products - proprietà

La proprietà Products è una proprietà di sola lettura che restituisce un oggetto StringList che enumera il set di tutti i prodotti installati o annunciati per l'utente e il computer correnti.

Questa proprietà è di sola lettura.

Sintassi

propVal = Installer.Products

Valore proprietà

Commenti

Per enumerare i prodotti, un'applicazione scorre l'oggetto StringList usando un costrutto For Each. Poiché i prodotti non sono ordinati, qualsiasi nuovo prodotto ha un indice arbitrario. Ciò significa che la funzione può restituire prodotti in qualsiasi ordine.

Requisiti

Requisito Valore
Versione
Windows Installer 5.0 in Windows Server 2012, Windows 8, Windows Server 2008 R2 o Windows 7. Windows Installer 4.0 o Windows Installer 4.5 in Windows Server 2008 o Windows Vista. Windows Installer in Windows Server 2003 o Windows XP
DLL
Msi.dll
IID
IID_IInstaller è definito come 000C1090-0000-0000-C000-000000000046

Vedi anche

MsiEnumProducts