Udostępnij za pośrednictwem


Właściwość ProductState

Instalator ustawia właściwość ProductState na stan instalacji produktu podczas inicjowania. Ta właściwość jest ustawiona na jeden z następujących typów danych INSTALLSTATE zwróconych przez MsiQueryProductState.

INSTALLSTATE Wartość liczbowa Stan instalacji produktu
INSTALLSTATE_UNKNOWN -1 Produkt nie jest ani anonsowany, ani zainstalowany.
INSTALLSTATE_ADVERTISED 1 Produkt jest anonsowany, ale nie jest zainstalowany.
INSTALLSTATE_ABSENT 2 Produkt jest instalowany dla innego użytkownika.
INSTALLSTATE_DEFAULT 5 Produkt jest instalowany dla bieżącego użytkownika.

 

Wymagania

Wymaganie Wartość
Wersja
Instalator Windows 5.0 w systemie Windows Server 2012, Windows 8, Windows Server 2008 R2 lub Windows 7. Instalator Windows 4.0 lub Instalator Windows 4.5 w systemie Windows Server 2008 lub Windows Vista. Instalator Windows w systemie Windows Server 2003 lub Windows XP. Aby uzyskać informacje o minimalnym dodatku Service Pack wymaganym przez wersję Instalatora Windows , zobacz wymagania Run-Time Instalatora Windows.

Zobacz też

właściwości