Partager via


ProductState, propriété

Le programme d’installation définit la propriété ProductState sur l’état d’installation du produit lors de l’initialisation. Cette propriété est définie sur l’un des types de données INSTALLSTATE suivants retournés par MsiQueryProductState.

INSTALLSTATE Valeur numérique État d’installation du produit
INSTALLSTATE_UNKNOWN -1 Le produit n’est ni publié ni installé.
INSTALLSTATE_ADVERTISED 1 Le produit est publié mais n’est pas installé.
INSTALLSTATE_ABSENT 2 Le produit est installé pour un autre utilisateur.
INSTALLSTATE_DEFAULT 5 Le produit est installé pour l’utilisateur actuel.

 

Exigences

Exigence Valeur
Version
Windows Installer 5.0 sur Windows Server 2012, Windows 8, Windows Server 2008 R2 ou Windows 7. Windows Installer 4.0 ou Windows Installer 4.5 sur Windows Server 2008 ou Windows Vista. Windows Installer sur Windows Server 2003 ou Windows XP. Consultez la Windows Installer Run-Time Configuration requise pour plus d’informations sur le service pack Windows minimal requis par une version de Windows Installer.

Voir aussi

propriétés