mirror of
https://github.com/reactos/reactos.git
synced 2025-05-06 18:31:26 +00:00
[WINESYNC] msi: Also set "MsiRunningElevated" installer property.
This property is supposed to be set starting from Windows Installer 4.0 targeting Windows Vista. This patch fixes the installer that checks this property in addition to VersionNT and ALLUSERS. Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru> Signed-off-by: Hans Leidekker <hans@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org> wine commit id dac655abce0397b3c1accec64039b8cd75beb561 by Dmitry Timoshkov <dmitry@baikal.ru>
This commit is contained in:
parent
0fdd4d83b3
commit
8585445613
1 changed files with 3 additions and 0 deletions
|
@ -744,6 +744,7 @@ static VOID set_installer_properties(MSIPACKAGE *package)
|
|||
/* in a wine environment the user is always admin and privileged */
|
||||
msi_set_property( package->db, L"AdminUser", L"1", -1 );
|
||||
msi_set_property( package->db, L"Privileged", L"1", -1 );
|
||||
msi_set_property( package->db, L"MsiRunningElevated", L"1", -1 );
|
||||
|
||||
/* set the os things */
|
||||
OSVersion.dwOSVersionInfoSize = sizeof(OSVersion);
|
||||
|
@ -970,6 +971,8 @@ void msi_adjust_privilege_properties( MSIPACKAGE *package )
|
|||
msi_set_property( package->db, L"ALLUSERS", L"1", -1 );
|
||||
}
|
||||
msi_set_property( package->db, L"AdminUser", L"1", -1 );
|
||||
msi_set_property( package->db, L"Privileged", L"1", -1 );
|
||||
msi_set_property( package->db, L"MsiRunningElevated", L"1", -1 );
|
||||
}
|
||||
|
||||
MSIPACKAGE *MSI_CreatePackage( MSIDATABASE *db )
|
||||
|
|
Loading…
Reference in a new issue