msi: Implement MsiGetMode(MSIRUNMODE_ROLLBACKENABLED).
This commit is contained in:
parent
9c9e0981b4
commit
49f263558b
|
@ -762,6 +762,10 @@ BOOL WINAPI MsiGetMode(MSIHANDLE hInstall, MSIRUNMODE iRunMode)
|
||||||
r = msi_get_property_int( package->db, szInstalled, 0 ) != 0;
|
r = msi_get_property_int( package->db, szInstalled, 0 ) != 0;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case MSIRUNMODE_ROLLBACKENABLED:
|
||||||
|
r = msi_get_property_int( package->db, szRollbackDisabled, 0 ) == 0;
|
||||||
|
break;
|
||||||
|
|
||||||
case MSIRUNMODE_REBOOTATEND:
|
case MSIRUNMODE_REBOOTATEND:
|
||||||
r = package->need_reboot;
|
r = package->need_reboot;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue