[Bug 45208] Microsoft Office 2010 installer crashes at around 50 % mark

WineHQ Bugzilla wine-bugs at winehq.org
Sun Dec 12 03:17:58 CST 2021


https://bugs.winehq.org/show_bug.cgi?id=45208

Serge V Shistarev <madlynxed at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |madlynxed at gmail.com

--- Comment #34 from Serge V Shistarev <madlynxed at gmail.com> ---
I find out two simple workarounds to install Office.

Slow: Use cpulimit command to limit cpu cycles for setup.exe process (smth like
cpulimit -l 10 -p <setup.exe_pid>

-OR-

More sophisticated, but much faster: while setup is installing office disable
all cpu cores, except cpu0, run empty cycle with nice level -20 (highest
priority), wait until setup finished (or last step, when setup says that it
sets up updates),  roll everything back.

Script:

cpus() { for i in $(seq $(cat /sys/devices/system/cpu/present | tr "-" " "));
do \
  [ $i = 0 ] && continue; echo $1 | tee /sys/devices/system/cpu/cpu$i/online; \
  done; }; cpus 0; echo "Press any key to stop CPU stress"; tty=$(stty --save);
\
  stty -icanon -icrnl time 0 min 0; nice -n -20 sh -c \
  'while [ -z "$(cat -v)" ]; do :; done'; stty $tty; cpus 1

Tested on Ryzen 3700X, Core i7-7700HQ

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list