Share via


Metodo Installer.ClearSourceList

Il metodo ClearSourceList dell'oggetto Installer rimuove tutte le origini di rete dall'elenco di origine.

Sintassi

Installer.ClearSourceList(
  Product,
  User
)

Parametri

Prodotto

Specifica il codice prodotto.

Utente

Nome utente per l'installazione per utente; Stringa null o vuota per l'installazione per computer.

Valore restituito

Questo metodo non restituisce valori.

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

MsiSourceListClearAll

Resilienza di origine