Proprietà Installer.Patches

La proprietà Patches di sola lettura dell'oggetto Installerrestituisce un oggetto StringList che contiene tutte le patch applicate al prodotto.

Questa proprietà è di sola lettura.

Sintassi

propVal = Installer.Patches

Valore proprietà

Specifica il codice prodotto.

Commenti

Per enumerare le patch, un'applicazione scorre l'oggetto StringList usando un costrutto For Each. Poiché le patch non sono ordinate, qualsiasi nuova patch ha un indice arbitrario. Ciò significa che la funzione può restituire patch 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

MsiEnumPatches