Module: wine Branch: master Commit: c8548fb88d569f63f43fb009072ff8f03e562cb0 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=c8548fb88d569f63f43fb009...
Author: Mike McCormack mike@codeweavers.com Date: Fri Aug 25 22:35:29 2006 +0900
msi: Set the ALLUSERS property to 1 always.
---
dlls/msi/package.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/dlls/msi/package.c b/dlls/msi/package.c index 227be6c..5a22957 100644 --- a/dlls/msi/package.c +++ b/dlls/msi/package.c @@ -212,6 +212,7 @@ static VOID set_installer_properties(MSI static const WCHAR szColorBits[] = {'C','o','l','o','r','B','i','t','s',0}; static const WCHAR szScreenFormat[] = {'%','d',0}; static const WCHAR szIntel[] = { 'I','n','t','e','l',0 }; + static const WCHAR szAllUsers[] = { 'A','L','L','U','S','E','R','S',0 }; SYSTEM_INFO sys_info;
/* @@ -315,6 +316,7 @@ static VOID set_installer_properties(MSI /* in a wine environment the user is always admin and privileged */ MSI_SetPropertyW(package,szAdminUser,szOne); MSI_SetPropertyW(package,szPriv,szOne); + MSI_SetPropertyW(package, szAllUsers, szOne);
/* set the os things */ OSVersion.dwOSVersionInfoSize = sizeof(OSVERSIONINFOA);