As promised, an update on where I am at with trying to get a working installation of Microsoft Office 2010 on Ubuntu.

After numerous hours spent trying various options and configurations of WINE I’m still unable to get it working.  Sure, I can get it to install but it won’t run so I can’t really call it a success.  I’ll have some time over the Christmas break so will keep trying and hopefully will have a stable solution soon; these things have a habit of ‘falling into place’ and the answer is usually staring me in the face!

office_2010


My original post showing how to install Office 2007 can be found here – http://www.mikesouthby.co.uk/2009/11/ubuntu-9-10-installing-microsoft-office-2007

Linux is growing in popularity more and more with every year that passes, in recent years this has been made ever more public with the Ubuntu distributions which are now real Windows alternatives for the average end user.  Just as with Mac sofware, Ubuntu comes ‘out of the box’ with everything you could possibly need to go about your day to day business; best of all everything is essentially free thanks to its open source underpinnings.

However there are drawbacks.

Ubuntu comes bundled with OpenOffice, a Microsoft Office alternative from Sun.  It works really well; giving you all the features you have come to expect from using Office on Windows, but – and here’s the real killer – even though it has the same functionability, it looks different, acts different and has different native file formats. This alone is enough for a lot of people not to give Ubuntu or other Linux distributions a try, afterall, why would you want to switch to another OS when you have Windows installed already, do all of your work in Office and are familiar with both.  Microsoft Office not being compatible with Ubuntu is a real problem.

As more and more Linux distributions have been developed and their popularity has increased, so has the need for a stable solution to using Office in a Linux environment, it’s been very ‘messy’ but a lot of people have had varying success using Wine.  Wine let’s you run Windows software in a Linux environment which when it works, works great.  However, Office had always been one of those annoyances that doesn’t seem to work under Wine as it should.  Fortunately though, Wine has been improved over the years and now their is a solution.

For the purposes of this guide, I am using the latest version of Ubuntu, Wine and Microsoft Office; Ubuntu 9.10, Wine 1.1.32 beta and Microsoft Office 2007.

So, to get Office working on Ubuntu, read on.

Firstly, we need to make sure that all previous versions of Wine are uninstalled.  Previous versions of Wine suffered from a regression issue and will not work with Office 2007 so:

  • Click on System > Administration > Synaptic Package Manager
  • In Synaptic Package Manager, type Wine in the search field and highlight any existing instances of Wine which are installed on your system, making sure to choose Mark for Complete Removal and then Apply
  • We now need to remove the exiting .wine folder by navigating to Places > Home Folder.  You’ll need to press CTRL+H to unhide the .wine folder so that you can delete it

Next, we need to install the latest version of Wine, but before doing so it won’t hurt to give your machine a restart.  Once you’ve done this, do the following:

  • Download the latest version of Wine from http://wine.budgetdedicated.com/archive/index.html, I used v1.1.32 beta.  When the popup box appears, choose to Open with Gdebi package Installer.  Once the package begins installing, you will get a warning dialogue.  Acknowledge this and continue through the install process

We can now install Microsoft Office 2007, so pop the installation disc into the drive and wait for the system to mount it:

  • Navigate to the installer by going to Places > Office12 and right click setup.exe chosing Open with Wine Windows Program Loader
  • Now follow the installation process as if it were a Windows installtion [screenshot], but choosing a custom installation and choosing the program options you’ll need [screenshot].  Note:  Unfortunately, not all of the office applications seem to work correctly under Ubuntu (or Linux generally) so I’d recommend just installing Word, Excel and PowerPoint.  Access and Outlook have known issues.

Once Office has finished installing [screenshot], we need to install winetricks which is a useful tool to use some common workarounds to some of the deficiencies in Wine:

  • Open your Terminal (Applications > Accessories > Terminal) and type:
    sudo wget www.kegel.com/wine/winetricks [screenshot]
  • Next, install cabextract in order to be able to extract the contents of Microsoft cabinet files.  To do this, type the following:
    sudo apt–get install cabextract [screenshot]
  • Next we need to install MS core fonts, Visual C++, MS scripting and Jscript, type the following:
    sh winetricks corefonts tahoma vcrun2005spl wsh56js

The next stage is to confgure Wine itself:

  • As we already have a Terminal window open, type:
    winecfg [screenshot]
  • On the Libraries tab, add 2 new variables:
    riched20
    usp10
  • Once you have done this [screenshot], highlight or click riched20 and click Edit, change to Native Windows then Apply and OK

Finally, we can now test Office, navigate to Word; Applications > Wine > Programs > Microsoft Office and click the launcher for Word.  You may need to restart your machine in order for the Microsoft Office program group to appear in the menu.  When Word launches, you’ll need to activate as normal and, importantly, choose not to use Microsoft updates [screenshot] (see note below).

Notes: There are some limitations, the most noteworthy of which is that this may not work correctly if you install using media with an SP already applied, Office under Wine will not work with any of the Microsoft Service Packs and/or Microsoft Update.

The ‘proof is in the pudding’ as they say, heres some screenshots [Word Excel PowerPoint].  Enjoy!

If you find this guide useful, please leave a comment.

Mozilla Release Firefox 3.6 Beta   November 2nd, 2009

Mozilla has now released the beta of the soon to be released Firefox 3.6 release which has optimisations across the board, a new theme feature as well as a whole load of minor tweaks and updated platform technologies.  It’s been over 2 months since Mozilla unveiled Firefox 3.6 alpha and whilst work is a long way off being finished, they are now pushing forward with the public beta.  It’s been code named ‘Namoroka’ after a national park on the island of Madagascar.

The beta is built on the Gecko 1.9.2 rendering engine and is said to contain many improvements for web developers as well as end users.  The beta will feature a built-in theme engine which has been called ‘Personas’.  The Personas feature allows you to dress up your browser in colours using various user interface themes which will not require a restart to install.  Personas will be available initially as a Mozilla Labs experimental extension so officially, may not feature in the final release.  Another notable feature is a new dialog that will let you know when any of your installed plug-ins expire, ensuring that you are kept up-to-date and safe.

The beta supports the WOFF font format and new CSS, DOM and HTML5 web technologies.  It will be able to display open video in full screen and supports poster frames.  Needless to say the final release will have even more features.  The full list of features and changes can be found here [Link].

If you want to give the beta a try yourselves, here are the installers:

WindowsMacLinux

Caveat:  I have provided the installers for your convenience, please only download and install them if you understand the concept of a beta release.  I will not be held responsible for any problems you have, nor will I be able to offer any support.  Please ensure you backup any personal data before using beta software!

If you do decide to give the beta a try, let me know how you get on and your thoughts.

With Windows 7 well on the way now with official public release due on October 22nd, I’m sure a lot of people will want to dual boot the new OS with an existing installation of Vista.  In this post, I’ll show you how to achieve this.

Firstly, and very importantly, make sure that you have applied the latest updates from Windows Update and made sure that you have the latest drivers installed for your specific hardware.  It’s important to remember that Windows 7 is still currently in beta release.  The version of Windows that I am using in this post is Windows 7 Ultimate Edition, build 6.1.7000.  When the final version is available, although unlikely, this information may need updating.

I am going to perform this installation on a virtual machine.  If it were a production machine you would simply create a restore point and back up any data on the system before continuing.

Things to note before attempting a dual-boot configuration:

  • You need a hard disk in the system that has a separate partition for each operating system that you want to install
  • If the single disk does not have multiple partitions already configured you may need to reformat and / or repartition your hard disk
  • Alternatively, you could install an additional hard drive in the system
  • The partition should formatted with the NTFS file system.
  • To avoid major configuration problems, especially between older boot managers and newer boot managers, you should always install operating systems from oldest release to newest i.e. Vista should be installed first.

Notes – When you install multiple operating systems to a single system in a multi-boot configuration you should do so in the order of their release. Windows 2000, Windows XP, Windows Vista and Windows 7 released in that order so if you’re trying to install one or more on a system you should do them in that order.

- The Installation

Before starting this post I already have a virtual machine configured with Windows Vista Ultimate Edition service pack 1 and have an available primary partition to use for Windows 7.  I am going to launch setup from within the running Vista operating system; I could have just as easily booted from the DVD at startup and kicked off the installation routine following most of the upcoming steps.

Once the Windows 7 media is in the DVD drive autorun should execute on its own. It may not based on your default settings in which case you’d have to launch the installation routine manually.  Setup will begin copying some of the needed temporary files and then present you with the “Get important updates for installation” options.

You can choose one option or the other; unless you have some specific reason to do otherwise, it is almost always the best bet to go ahead and get the latest updates for installation (as recommended by the setup wizard).

If you do not want to take part in the Windows improvement program (I’d recommend you don’t, I like to know what my machine is doing and do not like the idea of information being passed out without my knowing!) you’ll need to clear the “I want to help make Windows installation better” check box as it is selected by default.  I am going to choose the “Get important updates for installation” option for this post.

Setup will search online for installation updates (if any) and will reboot the system when this part of the installation is complete

If this system should restart at this point or a little later on in the installation routine you need to make sure you are not doing anything with the keyboard if your system is set to check the DVD drive for a boot device; otherwise you’ll hit a key and then begin booting from the DVD which starts the setup process all over.  If you should accidentally do this you can fix it by power cycling the system and letting the routine restart from where it left off which it will do if you do not hit the keys on the keyboard on the next cycle.

- After the reboot

Once the system gets back up from rebooting you’ll reach the “Please read the license terms” screen; you’ll need to accept the license terms to proceed to the next phase.

The next screen is where you have the option to chose which type of installation you want to perform.

You would select Custom (advanced) to perform a clean installation or to set up the system in a dual or multi-boot configurations. As we are going ahead with a dual boot installation this is the option we would select.

When the routine continues from here you’ll be presented the “Where do you want to install Windows” options which will show you the available partitions where Windows can be installed.

Notes – if you are expecting to see another partition and it is not available you can try refreshing the screen but it is more likely that setup needs to load a driver for that device and it is not present.  To load a driver for a missing controller or other device you would choose the Load Driver option shown at the bottom left of the window.  In order for you to successfully install Windows 7 alongside the existing Windows Vista installation you should choose the other available partition, in this case E: on Disk 0 Partition 2

If there is not enough space to create partition 2 on Disk 0 the only way that you would be able to install Windows 7 in a dual boot configuration would be to have access to another physical disc, you simply cannot install two versions of Windows to the same partition by design.

Once the setup routine continues, it will copy the Windows files and then begin expanding them.  At some point in the ‘Expanding Files’ sequence the routine will stop and the system will reboot before continuing, don’t worry this is normal.  During this reboot cycle you’ll notice the first Windows 7 splash screens.

Once setup comes back online it will finish expanding all of the files (and it’ll reboot again) and install all of the files needed before it restarts one final time for the final configuration (after setup) of the Windows 7 OS.

What you should also notice during this startup sequence (and all that follow) is that you are now presented with the Windows Boot Manager [image 6] at start up which allows you to choose which operating system you want to boot the system into.  When you install Windows 7 in a multi-boot environment it becomes the default operating system in the Windows Boot Manager.  Setup always designates the last operating system to be installed the default to start after a 30 second delay; this can of course be changed later on.

- After Installation

Now that Windows 7 is running you can start the final stage of setting up the system.  On the first screen you are prompted to choose a country or region setting, the time and currency settings and keyboard layout you’re using.  Obviously this will vary according to where you are but for me, I’ve chosen the United Kingdom settings.

Next, you’ll need to type in a user name to use on the system and that entry will give you a computer name suggestion based on what you entered.  You can choose to keep that name or change it (I recommend changing it to something more appropriate, such a $name-laptop or $name-desktop etc for easier identification later on) and click NEXT.

The next screen is ‘Set a password for your user account’ where you enter your password information and a hint in case you need help remembering what your password is.  Please do remember to take setting your password seriously, don’t type something so obvious it can be hacked!

The step of entering in a product key and for activation of the operating system is going to be dependent on which type of installation media you have, I am using standard media that requires this for install and this would be the screen where you’d provide this information.  You can just choose NEXT and bypass entering a key; you;ll be able to run the operating system for 30 days.  At the end of that time you will be required to enter a key and activate the product.  After the key is entered and you choose NEXT you’ll land on the ‘Help protect you computer and improve Windows automatically’ page which is where you’ll initially configure the Windows Update settings.

The next screen is the ‘Review your time and date settings’ page which allows you to change time zone settings.  You are also able to change the time and date as well if you need to.  Additionally, the ‘automatically adjust clock for Daylight Saving Time’ checkbox is selected by default so if you’re in an area where it is not observed you’ll need to clear this option.

On the next screen you are presented with the ‘Select your computer’s current location’ page where you choose to identify the network settings as Home, Work or Public which will automatically configure the network resource settings, firewall settings, network discovery settings and other parameters based on the profile you choose.

After you make this selection, Windows 7 will finalise your settings and the operating system will show the user desktop and you will be good to go!  Enjoy…

Windows 7 Tweaks   September 7th, 2009

So Windows 7 has been around in various beta and RC candidates for a while now and Microsoft have finally announced the official public launch date will be October 22nd so it won’t be too long before it’s available to the masses (yeap, that’s you lot).

So is it worth it?

Microsoft were given a lot of criticism after the launch of Vista and rightly so.  Vista ran far slower than Windows XP on comparable hardware, not exactly the massive step forward that it was intended to be.  In fact, it was a bit of an embarrassment.  As such, one of the main goals of the development team for Windows 7 was to ensure that it ran significantly better than Vista overall, they simply could not be faced with the same situation again.  Well, I have been running Windows 7 on my main development laptop now for some time and I am pleased to report that I am thus far, impressed with the work that they have done.  Would I recommend it?  You know for consumers, I think I would.  Of course the same question is not so easily answered in the corporate sector owing to various other factors, but I’m sure that over time, IT managers will be less apprehensive with a migration to Windows 7 than they were with Vista.  There will always be the argument for other vendors such as Apple or the various Linux distros but that’s not what I am discussing here.

There are however as with any OS, some tweaks which you can apply to Windows 7 to improve speed and general responsiveness, here are some which I recommend you do to squeeze even more performance out of an already, pretty robust platform.

- MSCONFIG

MSConfig has been around in one form or another for some time now, since the days of Windows 3.1 in fact (ah, those were the days!), it’s still alive and well and working behind the scenes in Windows 7.  MSConfig was initially envisaged as a tool for system administrators to help diagnose problems with the boot process, however, it can also be used as a tool for optimising the systems performance.  To launch MSConfig, open the run prompt (either through the start menu itself or Ctrl+R) and type msconfig followed by enter.  When the System Configuration dialog box opens go straight to the Startup tab, the tab which shows you which programs are set to run when the system boots, it also allows you to disable any unwanted startup items.  Obviously each installation will be different based on hardware and what software has been installed so use caution when deselecting items!  Unfortunately there is no ‘right for all’ answer, get in touch if you’d like some advice.

- THE AERO INTERFACE

The performance impact of the Aero interface has been debated since the time that Windows Vista was first released.  I have seen some benchmark tests that indicate that there is no noticeable performance impact associated with enabling the Aero interface.  At the same time though, there are people who swear that their PCs run more efficiently without it.  In either case, there is no denying that Aero does consume a significant amount of system resources and we can probably do without it.

In the current beta of Windows 7, Setup is designed to compute the system index, unlike in Vista where this was done at a later stage by the user.  Assuming that the machine has a sufficient system index score and compatible graphics hardware, Aero is automatically enabled.  On the other hand, Aero is not automatically enabled (although the Aero Shake and Aero Peek features are enabled) if you are running Windows 7 within a virtual machine.

Windows 7 is designed so that it will not compute the system index if it is running within a virtual machine, and unless a system index is calculated, the aero glass is not enabled.

- Internet Explorer Add-Ons

By itself, Internet Explorer is a fairly efficient application.  However, add-ons can really decrease the browser’s performance.  Windows 7 actually allows you to see which add-ons are taking the longest to load.  From there, you can make a decision as to whether or not you want to disable the add-on in the name of faster load times.

You can check the performance of each add-on by opening Internet Explorer, and selecting the Manage Add-Ons command from the Tools menu.  When the list of add-ons appears, scroll all the way to the right, and you will see a column that tells you how long each add-on takes to load.