Properti ProductState
Alat penginstal mengatur properti ProductState ke status penginstalan untuk produk saat inisialisasi. Properti ini diatur ke salah satu jenis data INSTALLSTATE berikut yang dikembalikan oleh MsiQueryProductState.
INSTALLSTATE | Nilai numerik | Status penginstalan produk |
---|---|---|
INSTALLSTATE_UNKNOWN | -1 | Produk tidak diiklankan atau diinstal. |
INSTALLSTATE_ADVERTISED | 1 | Produk diiklankan tetapi tidak diinstal. |
INSTALLSTATE_ABSENT | 2 | Produk ini diinstal untuk pengguna yang berbeda. |
INSTALLSTATE_DEFAULT | 5 | Produk diinstal untuk pengguna saat ini. |
Persyaratan
Syarat | Nilai |
---|---|
Versi |
Windows Installer 5.0 di Windows Server 2012, Windows 8, Windows Server 2008 R2 atau Windows 7. Windows Installer 4.0 atau Windows Installer 4.5 pada Windows Server 2008 atau Windows Vista. Windows Installer pada Windows Server 2003 atau Windows XP. Lihat Persyaratan Run-Time Penginstal Windows untuk informasi tentang paket layanan Windows minimum yang diperlukan oleh versi Penginstal Windows. |
Lihat juga