Friday, June 16, 2006

Migrating to Mac: Part 3: Tale of the two Syncs...

One of the things that I knew would be an issue with my new Mac was syncing me PDA. I have an old O2 XDA II Pocket PC (Phone Edition). Anyone who has used a PocketPC Phone knows that the only way to use it is with a PC. Keeping your contacts and appointments synchronised across the devices is important. Getting something to sync the Mac with the PDA was critical.

I decided to setup a sync program as one of my first tasks. So after installing Office 2004 and copying my e-mail across I started searching for a solution. I found that there are two main solutions PocketMac and The Missing Sync. From my initial reading PocketMac appeared to have been around longer and had a few extra features. So I paid, downloaded and installed PocketMac.


PocketMac was a little tricky to get working correctly and does not work with USB on the new Intel Macs. Their web site indicates that it is a Mac problem that they have to work around, I should have realised something was wrong when I read this... Anyway, I eventually got it working with Bluetooth. It worked ok for one day, and then... it stopped working. I'm not exactly sure what went wrong. I was in the process of installing a variety of other programs so what was conflicting with what was not something that I could work out. I followed PocketMac's troubleshooting advice and eventually, after about 5 hours of reading logs and experimenting, I eventually gave up and posted a support request. I posted their trace report, and made sure that I outlined most of what I had tried. After a day I got back a post of their "Dont use USB, use Bluetooth". So they didn't even read any of my help request. I replied, and after another day they esclated it to their next support level. I waited, and waited, and well nothing. After a week and a half I gave up on them and asked for a refund. Looking back, their product was not really well polished, and their web site is not very professional.

So yesterday I purchased The Missing Sync for Windows Mobile. After such a bad experience with PocketMac I prepared for the worst. Their web site has a section on migrating from PocketMac, which I thought was interesting. I followed their instructions and rid my Mac and PocketPC of their software. With this done I set about installing The Missing Sync. The install went smoothly. I plugged in my PocketPC and started the Sync. A connecting overlay appeared on screen and the PocketPC tried to connect to the Mac. This was a nice addition, the status shows which state the connection is in something that wasn't provided by PocketMac. Anyway the bad news at this point was that it failed to connect... I was not overly concerned as in the attempt to connect with PocketMac I had played with many settings on the PocketPC. I renamed the PocketPC for sync purposes then tried connecting again. This time everything worked. I setup the partnership which overrode the PocketMac partnership on the device. The sync was a little slower than with PocketMac. However, it works and provides feedback on where it is up to which is always good to see. The Missing Sync program is far more polished, as is their web site. I cannot comment on their support as I haven't needed it. The Missing Sync also connects via USB and Bluetooth, both of which are working fine for me.

Both PocketMac and Missing Sync are able to sync contacts with Entourage, or the Mac Address Book, and appointments with Entourage or iCal. So you dont need Entourage to make use of these.

Note: I didn't try renaming my PocketPC with PocketMac. This may have corrected the issue I was having. However, I dont know and I'm not going to reinstall it to try.

Wednesday, June 14, 2006

Migrating to Mac: Part 2


Having received my Mac the first task I had was to migrate my e-mail, contacts, and appointments. On my notebook I have been using Outlook 2003, so the plan was to switch to Microsoft's equivalent program on the Mac. The first issue was finding what that product was called. I had incorrectly thought that it would still be called Outlook... With some googling I became familiar with the Entourage product, the mail/contacts/appointments program in Office 2004 for Mac.

As we have licenses for Office for Mac I installed the suite which was a very pleasant process compared to the same process on a PC. Insert the CD start the installer and the hard work is all done. Before I could get up the installer was finished. Having used a PC for so long I am used to the hours of waiting while office installs and registers everything...

With Entourage installed the next step was to migrate my data from Outlook 2003. Cant be that difficult I thought to myself, after all it is Microsoft -> Microsoft. Open Entourage, which looks great its not just a simple port of Outlook, and then start looking for import. Entourage can import mail from csv files, mbox, earlier versions of office for Mac, but not any of the Outlook for Windows products. Ok... Goggle time.

There are several ways of performing this migration.


  • MacUser has a very convincing article noting that Microsoft has released a converter. When you get to the Microsoft site you find that it can only import from previous Mac versions.

  • mvp.org has a page that lists a few options including using an IMAP or Exchange server neither of which I had access to. They also offer links to some scripts to do this. These seem overly complex for the task in my opinion.

  • There is a product called O2M. For $10 this is a good option. It can transport mail, contacts, appointments, etc. from Outlook to mbox, iCal, etc formats that you can then import on the Mac. I used the trial version but was too cheap to purchase it for the one off transfer of data.



The approach that I used is explained by Dave Riches and also on the O'Reilly Network. This process involves converting the e-mail in your Outlook PST file into individual mbox files that can then be imported into Entourage.

The process that I followed best matches Dave's process.

  1. Install Thunderbird, which has the ability to import PST files and internally it stores its mail as mbox files.

  2. Copy files to Mac

  3. Drag mbox files into Entourage


The process is simple enough except that I arrange my mail into a hierarchy of folders. When you import your mail into Thunderbird it will create a folder for each mail folder in Outlook. Each of these folders then contains its subfolders and a mbox file with the mail from that folder. There was no way that I was going to drag all of these individual files into Entourage. However, the files are now just simple text files and can therefore be altered via the command line.

The first thing that I decided to do was to compact some of my folder hierarchies. I did this at a Command Prompt on my Windows machine. The command to do this is:

(for /F "delims=" %i IN ('dir /s /b *.') DO @type "%i") > NewMailFile.mbox


Execute this command in the folder that you want to compress the mbox files into. In my case I kept a folder with all of my internet site subscription e-mails (like blogger, feedburner, bloglines, etc). I have subscribed to many sites! I executed this command in the folder containing my "Internet Sites" mailbox, compressing these into a single mbox file.

At this point I copied all of the mbox files to my Mac. Thunderbird does not add an mbox extension to its files and unfortunately Entourage will only import them if they have the mbox extension. The following command run at the Mac Terminal, in the directory where you copied your mail files and folders.

find . -type f -print -exec mv "{}" "{}.mbox" \;


With this done you can now drag each of the mbox files into Entourage. The import is complete.

With my mail in Entourage I then proceeded to transfer my contacts and appointments. As I use a PDA I did this by syncing Outlook with my PDA and then syncing the PDA with Entourage. In order to do this I purchases PocketMac Pro. Once I got it installed and followed the instructions it synced all of my contacts and appointments. PocketMac itself worked for a couple of days but lately it has stopped working. I'm not sure what else I have installed that could cause this problem and the PocketMac support is very slow. If this is not resolved soon I am going to try The Missing Sync for Windows Mobile, v2.0, unfortunately they don't have a trial version otherwise I would have switched sooner. (If anyone has any advice on this let me know...)

Tuesday, June 06, 2006

Migrating to Mac: Part 1


Recently I decided to get a new notebook. My current notebook is a Toshiba S1 with 1GB RAM and a ATI Mobile 9000 card. I needed to upgrade for several reasons. Firstly I need more RAM. I do distributed .NET development and presentations on the notebook and I want to run multiple Virtual PCs at once. One running a web server, another for the app server and one for the database server. With 1GB of RAM I can run one virtual machine but the others are really pushing it. Secondly I want to play around with Vista, I need a DirectX 9.0 graphics card. With this in mind I started looking for a notebook to meet my needs.

Needs:
- Presentations and office document creation (PowerPoint, Word, Excel)
- .NET development (3-Tier demonstrations... with 3 tiers)
- DirectX 9 capable (for Vista)

I have been reading about Apple's MacBook Pro and this started to look like a viable alternative. Apple offers a nice package, well thought out design, good hardware spec, with the capability of running both MacOS and Windows. Other notebooks offer similar features, but not the entire package.

I spent some time finding out the capabilities of the MacBook in relation to my requirements. A quick watch of the Fast OS Switching and related videos appear to demonstrate the ability for the MacBook to meet my most important requirement, multiple virtual machines. The main issue with these videos is that they are usually running only a web browser in each virtual machine. I need to do more. Based on the machine spec I believe that it will be capable of meeting my requirements.

So the Plan became:
* Get a MacBook Pro 2.16GHz with 2GB RAM (and faster disk).
* Get Office 2004
* Migrate Outlook to Entourage (Office 2004's equivalent to outlook)
* Install Parallels
* - Setup multiple virtual machines to enable distributed .NET development
* Install Boot Camp
* Install Vista in VM Ware within XP

This plan has recently been put into action. I have now received my MacBook Pro and have started the migration process. A few issues have arisen since I received the notebook. I need the following:

1: a keyboard that supports both Mac and Windows.
2: to be able to sync my PocketPC with Entourage
3: to be able to sync music with my Zen Neeon

The keyboard issue was one that I had not thought of before. At home I used a Logitech Cordless MX Duo that has drivers for both Mac and Windows, so problem solved. I will cover the other details as I go.

In the next part I will look at migrating my contacts and mail from Outlook to Entourage.