[3/4] kernel32/heap: Add registry caps for reported memory. (try 2)

Adam Martinson amartinson at codeweavers.com
Wed Jun 8 15:52:53 CDT 2011


This is a workaround for some broken installers which don't understand
large amounts of memory.  eg, the Photoshop 4 installer is broken on
Windows on systems with modern amounts of memory due to a bug in
Macromedia Director.  Macromedia's suggested solution is to reduce the
pagefile size to 200MB or less.  This gives us a similar course of action,
setting HKLM\Software\Wine\GlobalMemory\TotalPageFileMax = "200" fixes the
installer in Win98 mode.
Similarly, setting HKLM\Software\Wine\GlobalMemory\TotalPhysMax = "2047"
fixes the Dragon NaturallySpeaking 7 installer.
Fixes bugs 10844 + 15708.
---
  dlls/kernel32/heap.c |   75 
+++++++++++++++++++++++++++++++++++++++++++++++++-
  1 files changed, 74 insertions(+), 1 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0010-kernel32-heap-Add-registry-caps-for-reported-memory.patch
Type: text/x-patch
Size: 4930 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20110608/4a07777b/attachment.bin>


More information about the wine-patches mailing list