The script for the MSOffice 2007 Installer has some issues, most notably that the Installer encounters a crash during set up. Furthermore the installed programs cannot be activated on first run because of some “communication error”.
By contrast simply installing MSOffice (Enterprise) 2007 off the disk using plain Wine (1.1.36) works flawlessly and product activation also completes successfully.
I suspect that the “communication error” is caused by the inet libraries the script appears to download: presumably these deal with things like remote host lookup via DNS and establishing sockets.
Anyway according to the official Wine AppDB no overrides or anything are necessary to install MSOffice 2007 and the overrides that are necessary for Word & Powerpoint to work correctly are applied far later on. (I took a look at the PlayOnLinux script and it appears to do the riched20.dll and usp10.dll overrides only after installing MSOffice 2007)
So a simpler approach would be:
(1) Create prefix;
(2) Check for latest Wine
(3) Install off the disk
(4) Set overrides
(5) Install jscript library via winetricks.
(6) Usual shortcut creation stuff.
For reference see the AppDB entry: http://appdb.winehq.org/objectManager.php?sClass=version&iId=4992
Regards,
Edited by Reiger