Commit c8548fb8 authored by Mike McCormack's avatar Mike McCormack Committed by Alexandre Julliard

msi: Set the ALLUSERS property to 1 always.

parent e2a0a354
...@@ -212,6 +212,7 @@ static VOID set_installer_properties(MSIPACKAGE *package) ...@@ -212,6 +212,7 @@ static VOID set_installer_properties(MSIPACKAGE *package)
static const WCHAR szColorBits[] = {'C','o','l','o','r','B','i','t','s',0}; static const WCHAR szColorBits[] = {'C','o','l','o','r','B','i','t','s',0};
static const WCHAR szScreenFormat[] = {'%','d',0}; static const WCHAR szScreenFormat[] = {'%','d',0};
static const WCHAR szIntel[] = { 'I','n','t','e','l',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; SYSTEM_INFO sys_info;
/* /*
...@@ -315,6 +316,7 @@ static VOID set_installer_properties(MSIPACKAGE *package) ...@@ -315,6 +316,7 @@ static VOID set_installer_properties(MSIPACKAGE *package)
/* in a wine environment the user is always admin and privileged */ /* in a wine environment the user is always admin and privileged */
MSI_SetPropertyW(package,szAdminUser,szOne); MSI_SetPropertyW(package,szAdminUser,szOne);
MSI_SetPropertyW(package,szPriv,szOne); MSI_SetPropertyW(package,szPriv,szOne);
MSI_SetPropertyW(package, szAllUsers, szOne);
/* set the os things */ /* set the os things */
OSVersion.dwOSVersionInfoSize = sizeof(OSVERSIONINFOA); OSVersion.dwOSVersionInfoSize = sizeof(OSVERSIONINFOA);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment