Difference between revisions of "Microsoft Office 2007"
(→Install) |
Jasonwryan (talk | contribs) (Removed first person and colloquialisms) |
||
(23 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
+ | [[Category:Office]] | ||
+ | [[Category:Wine]] | ||
+ | {{out of date}} | ||
+ | |||
==Install== | ==Install== | ||
+ | {{Note| To work with JPG images (i.e. in PowerPoint) install {{ic|lib32-lcsm}}.}} | ||
+ | |||
+ | The following has been reported to work, using wine-1.5.0. See these forum posts for details: | ||
− | + | * https://bbs.archlinux.org/viewtopic.php?id=138082 | |
+ | * https://bbs.archlinux.org/viewtopic.php?id=86436 | ||
− | + | {{ Warning| You should never run Wine commands as root. Only run Wine as your user. }} | |
− | + | To get office 2007 working, install bin32-wine, winetricks and then run: | |
$ WINEARCH=win32 WINEPREFIX=~/win32 winecfg | $ WINEARCH=win32 WINEPREFIX=~/win32 winecfg | ||
− | and set | + | and set Windows to XP and then run: |
+ | |||
$ WINEPREFIX=~/win32 winetricks msxml3 gdiplus riched20 riched30 vcrun2005sp1 allfonts | $ WINEPREFIX=~/win32 winetricks msxml3 gdiplus riched20 riched30 vcrun2005sp1 allfonts | ||
$ WINEPREFIX=~/win32 wine setup.exe | $ WINEPREFIX=~/win32 wine setup.exe | ||
Line 14: | Line 23: | ||
$ WINEPREFIX=~/win32 wine ./EXCEL.EXE | $ WINEPREFIX=~/win32 wine ./EXCEL.EXE | ||
− | + | You could set WINEPREFIX in your {{ic|.bash_profile}}, or make 32bit wine your default (then you only have to do {{ic|WINEARCH=win32 winecfg}}). | |
+ | Two reported issues are accidentally emulating 64bit Windows instead of 32 bit and that the programs hang if you don't {{ic|cd}} into the directory, probably because the dlls are linked with the local directory. | ||
+ | |||
+ | ===Office 2k7 SP2=== | ||
+ | |||
+ | Download from: http://www.microsoft.com/download/en/confirmation.aspx?id=5 | ||
+ | |||
+ | Install with: | ||
+ | |||
+ | WINEPREFIX=~/win32 wine office2007sp2-kb953195-fullfile-en-us.exe | ||
+ | |||
+ | ===Winetricks=== | ||
+ | |||
+ | The droid font downloader in winetricks is broken. The URL is part of the google git project. Either the maintainer of winetricks will update or kernel.org will change. You can elect to remove the droid font install from the winetricks script. | ||
+ | |||
+ | sudo nano -w /usr/bin/winetricks | ||
+ | |||
+ | Search for: do_droid | ||
+ | You should see this: | ||
+ | |||
+ | do_droid() { | ||
+ | w_download ${DROID_URL}$1';hb=HEAD' $3 $1 | ||
+ | w_try cp -f "$W_CACHE"/droid/$1 "$W_FONTSDIR_UNIX" | ||
+ | w_register_font $1 "$2" | ||
+ | } | ||
+ | |||
+ | load_droid() | ||
+ | { | ||
+ | # See http://en.wikipedia.org/wiki/Droid_(font) | ||
+ | DROID_URL='http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob_plain;f=data/fonts/' | ||
+ | do_droid DroidSans-Bold.ttf "Droid Sans Bold" 560e4bcafdebaf29645fbf92633a2ae0d2f9801f | ||
+ | do_droid DroidSansFallback.ttf "Droid Sans Fallback" 64de2fde75868ab8d4c6714add08c8f08b3fae1e | ||
+ | do_droid DroidSansJapanese.ttf "Droid Sans Japanese" b3a248c11692aa88a30eb25df425b8910fe05dc5 | ||
+ | do_droid DroidSansMono.ttf "Droid Sans Mono" 133fb6cf26ea073b456fb557b94ce8c46143b117 | ||
+ | do_droid DroidSans.ttf "Droid Sans" 62f2841f61e4be66a0303cd1567ed2d300b4e31c | ||
+ | do_droid DroidSerif-BoldItalic.ttf "Droid Serif Bold Italic" b7f2d37c3a062be671774ff52f4fd95cbef813ce | ||
+ | do_droid DroidSerif-Bold.ttf "Droid Serif Bold" 294fa99ceaf6077ab633b5a7c7db761e2f76cf8c | ||
+ | do_droid DroidSerif-Italic.ttf "Droid Serif Italic" bdd8aad5e6ac546d11e7378bdfabeac7ccbdadfc | ||
+ | do_droid DroidSerif-Regular.ttf "Droid Serif" 805c5f975e02f488fa1dd1dd0d44ed4f93b0fab4 | ||
+ | } | ||
+ | |||
+ | Comment it out with: | ||
+ | |||
+ | #do_droid() { | ||
+ | # w_download ${DROID_URL}$1';hb=HEAD' $3 $1 | ||
+ | # w_try cp -f "$W_CACHE"/droid/$1 "$W_FONTSDIR_UNIX" | ||
+ | # w_register_font $1 "$2" | ||
+ | #} | ||
+ | |||
+ | #load_droid() | ||
+ | #{ | ||
+ | # # See http://en.wikipedia.org/wiki/Droid_(font) | ||
+ | # DROID_URL='http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob_plain;f=data/fonts/' | ||
+ | # | ||
+ | # do_droid DroidSans-Bold.ttf "Droid Sans Bold" 560e4bcafdebaf29645fbf92633a2ae0d2f9801f | ||
+ | # do_droid DroidSansFallback.ttf "Droid Sans Fallback" 64de2fde75868ab8d4c6714add08c8f08b3fae1e | ||
+ | # do_droid DroidSansJapanese.ttf "Droid Sans Japanese" b3a248c11692aa88a30eb25df425b8910fe05dc5 | ||
+ | # do_droid DroidSansMono.ttf "Droid Sans Mono" 133fb6cf26ea073b456fb557b94ce8c46143b117 | ||
+ | # do_droid DroidSans.ttf "Droid Sans" 62f2841f61e4be66a0303cd1567ed2d300b4e31c | ||
+ | # do_droid DroidSerif-BoldItalic.ttf "Droid Serif Bold Italic" b7f2d37c3a062be671774ff52f4fd95cbef813ce | ||
+ | # do_droid DroidSerif-Bold.ttf "Droid Serif Bold" 294fa99ceaf6077ab633b5a7c7db761e2f76cf8c | ||
+ | # do_droid DroidSerif-Italic.ttf "Droid Serif Italic" bdd8aad5e6ac546d11e7378bdfabeac7ccbdadfc | ||
+ | # do_droid DroidSerif-Regular.ttf "Droid Serif" 805c5f975e02f488fa1dd1dd0d44ed4f93b0fab4 | ||
+ | #} | ||
− | + | Save then execute the command from the installation section. |
Revision as of 02:12, 24 July 2013
Install
lib32-lcsm
.The following has been reported to work, using wine-1.5.0. See these forum posts for details:
To get office 2007 working, install bin32-wine, winetricks and then run:
$ WINEARCH=win32 WINEPREFIX=~/win32 winecfg and set Windows to XP and then run:
$ WINEPREFIX=~/win32 winetricks msxml3 gdiplus riched20 riched30 vcrun2005sp1 allfonts $ WINEPREFIX=~/win32 wine setup.exe and then to actually use any of the executables you must cd to the directory. IE: $ cd ~/win32/drive_c/Program Files/Microsoft Office/Office12 $ WINEPREFIX=~/win32 wine ./EXCEL.EXE
You could set WINEPREFIX in your .bash_profile
, or make 32bit wine your default (then you only have to do WINEARCH=win32 winecfg
).
Two reported issues are accidentally emulating 64bit Windows instead of 32 bit and that the programs hang if you don't cd
into the directory, probably because the dlls are linked with the local directory.
Office 2k7 SP2
Download from: http://www.microsoft.com/download/en/confirmation.aspx?id=5
Install with:
WINEPREFIX=~/win32 wine office2007sp2-kb953195-fullfile-en-us.exe
Winetricks
The droid font downloader in winetricks is broken. The URL is part of the google git project. Either the maintainer of winetricks will update or kernel.org will change. You can elect to remove the droid font install from the winetricks script.
sudo nano -w /usr/bin/winetricks
Search for: do_droid You should see this:
do_droid() { w_download ${DROID_URL}$1';hb=HEAD' $3 $1 w_try cp -f "$W_CACHE"/droid/$1 "$W_FONTSDIR_UNIX" w_register_font $1 "$2" }
load_droid() { # See http://en.wikipedia.org/wiki/Droid_(font) DROID_URL='http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob_plain;f=data/fonts/' do_droid DroidSans-Bold.ttf "Droid Sans Bold" 560e4bcafdebaf29645fbf92633a2ae0d2f9801f do_droid DroidSansFallback.ttf "Droid Sans Fallback" 64de2fde75868ab8d4c6714add08c8f08b3fae1e do_droid DroidSansJapanese.ttf "Droid Sans Japanese" b3a248c11692aa88a30eb25df425b8910fe05dc5 do_droid DroidSansMono.ttf "Droid Sans Mono" 133fb6cf26ea073b456fb557b94ce8c46143b117 do_droid DroidSans.ttf "Droid Sans" 62f2841f61e4be66a0303cd1567ed2d300b4e31c do_droid DroidSerif-BoldItalic.ttf "Droid Serif Bold Italic" b7f2d37c3a062be671774ff52f4fd95cbef813ce do_droid DroidSerif-Bold.ttf "Droid Serif Bold" 294fa99ceaf6077ab633b5a7c7db761e2f76cf8c do_droid DroidSerif-Italic.ttf "Droid Serif Italic" bdd8aad5e6ac546d11e7378bdfabeac7ccbdadfc do_droid DroidSerif-Regular.ttf "Droid Serif" 805c5f975e02f488fa1dd1dd0d44ed4f93b0fab4 }
Comment it out with:
#do_droid() { # w_download ${DROID_URL}$1';hb=HEAD' $3 $1 # w_try cp -f "$W_CACHE"/droid/$1 "$W_FONTSDIR_UNIX" # w_register_font $1 "$2" #}
#load_droid() #{ # # See http://en.wikipedia.org/wiki/Droid_(font) # DROID_URL='http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob_plain;f=data/fonts/' # # do_droid DroidSans-Bold.ttf "Droid Sans Bold" 560e4bcafdebaf29645fbf92633a2ae0d2f9801f # do_droid DroidSansFallback.ttf "Droid Sans Fallback" 64de2fde75868ab8d4c6714add08c8f08b3fae1e # do_droid DroidSansJapanese.ttf "Droid Sans Japanese" b3a248c11692aa88a30eb25df425b8910fe05dc5 # do_droid DroidSansMono.ttf "Droid Sans Mono" 133fb6cf26ea073b456fb557b94ce8c46143b117 # do_droid DroidSans.ttf "Droid Sans" 62f2841f61e4be66a0303cd1567ed2d300b4e31c # do_droid DroidSerif-BoldItalic.ttf "Droid Serif Bold Italic" b7f2d37c3a062be671774ff52f4fd95cbef813ce # do_droid DroidSerif-Bold.ttf "Droid Serif Bold" 294fa99ceaf6077ab633b5a7c7db761e2f76cf8c # do_droid DroidSerif-Italic.ttf "Droid Serif Italic" bdd8aad5e6ac546d11e7378bdfabeac7ccbdadfc # do_droid DroidSerif-Regular.ttf "Droid Serif" 805c5f975e02f488fa1dd1dd0d44ed4f93b0fab4 #}
Save then execute the command from the installation section.