Saturday, March 8, 2008

Running MS Visio 2003 On Ubuntu

Ubuntu is now become main stream OS that used by desktop user, not just alternate to those already in the stream like Macintosh MacOS and Microsoft Windows family. By this time, latest Ubuntu version is Gutsy Gibbon 7.10.

Most task that require Windows now can be run on Linux as well thanks to Wine, a Windows emulation program. But to make a Windows based software install and runs smoothly on Linux, need some quite tricks. These knowledge is shared among internet user which is sometime not a comprehensive how-to guide. There are some tips that helped me so much on running MS Visio 2003 on linux.

First of all make sure you have latest Wine version installed. Run
$ sudo gedit /etc/apt/sources.list
Add following repository to your apt-get repo list :
deb http://wine.budgetdedicated.com/apt feisty main

It's recommended to completely uninstall existing Wine installation and rename folder /home/your_user/.wine into something else.
Now install Wine and supporting components :

$ sudo apt-get update
$ sudo apt-get install wine
$ sudo apt-get install cabextract

Install IE4Linux. IE4Linux needed by certain part of the Visio installation and runtime.

$ wget ttp://www.tatanka.com.br/ies4linux/downloads/ies4linux-2.0.tar.gz -O - | tar xvzf -

or this alternate link :

$ wget http://modzer0.cs.uaf.edu/~hardwarehank/files/ies4linux-2.0.tar.gz -O - | tar xvzf -

When completed, run :

$ cd ies4linux/
$ ./ies4linux

Follow the installation by choosing some simple installation option. Now you have IE installed in your Ubuntu box.

Next proceed with Ms Visio 2003 installation. Insert the CD into CD-ROM or mount appropriate file. In terminal, change to source folder then run :

$ wine setup.exe
A installation wizard will show up, follow the wizard as you install on Windows.
Once completed, try to run it.
Application -> Wine ->Programs->Microsoft Office ->Microsoft Office Visio 2003

If you get error message "IOPL not enabled", run
$ winecfg

On application tab, change Windows version to Windows XP. On libraries tab, add new library
gdiplus.dll (native)
Save and close config window. And now your Visio should be run perfectly. Any other issue, please check out the community testing result.

My Environment :
Linux Ubuntu Gutsy Gibbon 7.10, 32 bit version
Wine 0.9.57
Microsoft Visio 2003 (11.3216.5606)

12 comments:

Anonymous said...

Tested work on Ubuntu Hardy Heron, Wine 0.9.59 with same problem and same solution

Vallard said...

Excellent post! The apt database is no longer there for gutsy, so I had to get it here:
http://wine.budgetdedicated.com/

Also, I had problems installing but I reinstalled and then changed the library to gdiplus(native windows) like it said on the other posts.

Thanks for the tip and help!

Anonymous said...

Thanks chief, worked like a charm, been trying this for a while. :) Bit of a n00b to linux, it's only been a few days.

Config
Mandriva spring 2008.1 free editon
wine 1.1.5
Visio 2003 Pro

Works well.

Anonymous said...

Great stuff. Works with Kubuntu KDE 3.5.10 and Wine 1.0.
I am a new user so this was much appreciated.
Could not apply SP3 to Visio 2003 but at least it works.
Thanks. Mike

Anonymous said...

tested with Wine version higher than 1.0, all shows "ubstable" for Visio. Better stick with Wine 1.0 if you want to run Visio 2003 (including its Office 2003 application families)

Anonymous said...

latest update :
- environment : Ubuntu 9.04 (jaunty)
- install wine, wine-gecko
- same trick, add gdiplus as native
work smooth without hassle.

Anonymous said...

Doesn't work ..... :-( . I followed your proc . Visio start correctly but crash each time i want to open a vsd file or each time i want to create a new document ...
help ...
ubuntu 9.04
wine and visio 2003 ....

says said...

after some experiment, for Ubuntu >= 9.04, all you have to do is install wine, and wine-gecko. then installation of any Office 2003 products would be fine.

Make sure it's a clean-wine installation. To make sure it, remove wine and all its related package from Package Manager. And make sure delete .wine folder under your home dir.

Good luck

ikhwan said...

Thanks.. It works well on Ubuntu 9.10. I need to re-install wine before installing Visio as you said above.

Anonymous said...

thanks, works great on ubuntu 10.10 with wine 1.2

AlexRsk said...

Not works! (((
Ubuntu 10.10 Maverick Meercat
Wine 1.2.2
a many, many erros... end finished with:
KConfigGroup::readXdgListEntry: List entry MimeType in "/root/.local/share/applications/wine-extension-vst.desktop" is not compliant with XDG standard (missing trailing semicolon).
err:msi:remove_tracked_tempfiles failed to delete L"C:\\users\\root\\Temp\\msid516.tmp"

Maz said...

Hi Guys, I am first time Linux user tryin to get there..

I have Ubuntu 10.04 LTS and installed latest wine, but when i run it i get

wine: cannot find L"C:\\windows\\system32\\setup.exe"

the purpose is to install visio 03 .

Any help will be appreciated.