[Bug 45208] Microsoft Office 2010 installer crashes at around 50 % mark
WineHQ Bugzilla
wine-bugs at winehq.org
Mon Apr 4 09:53:18 CDT 2022
https://bugs.winehq.org/show_bug.cgi?id=45208
--- Comment #36 from Andreas Christ <andreas.christ at runbox.com> ---
Just managed to install office as suggested by Serge using the following
command (after preparing the prefix as explained in the AppDb):
WINEPREFIX=/home/christ/.local/share/wineprefixes/MS_Office_2010 WINEARCH=win32
wine /media/christ/OFFICE14/setup.exe & sleep 3 && cpulimit -l 10 -p $(pgrep -i
setup.exe)
I took the command from here:
https://appdb.winehq.org/objectManager.php?sClass=version&iId=34941
So the problem may also affect the Office 2016 installer.
(In reply to Serge V Shistarev from comment #34)
> 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