I have been installing the latest version of ActiveSync (version 4.5) on various machines recently. You can download it from the Microsoft Mobile web site here.
I have installed ActiveSync 4.5 on many of my Windows XP machines and its been working fine, with the caveats mentioned in my previous post. All that is except for one Windows XP machine. So the saga begins...
During the ActiveSync 4.5 install, it tries to install a hotfix for the RNDIS protocol. On this specific Windows XP machine, the install just hung indefinitely with an empty progress bar and no error messages. Eventually my system became completely unresponsive and the only cure for this was a machine reboot via the power switch - ouch. I tried again - same result. I must have tried this twenty times over several days with the same result.
Uninstall Is Not An Option
So I thought - I'll uninstall ActiveSync 4.5 and go back to 4.1. Unfortunately the ActiveSync 4.5 installation is not an in-place upgrade for existing versions of ActiveSync 4.x. It actually uninstals the previous version at some point during the install. So depending on the type and time of install failure you may be left without any version of ActiveSync at all. Potentially there could be nothing there to be uninstalled.
To uninstall ActiveSync 4.5, the ReadMe (in C:\Program Files\Microsoft ActiveSync by default) says to do the following:
To successfully uninstall ActiveSync 4.5 and reinstall a previous version of ActiveSync on your desktop PC, do the following:
1. Uninstall ActiveSync 4.5.
2. Open Windows Explorer, navigate to the System32 directory in your Windows directory, and then manually delete the dynamic-link library Rapi.dll.
3. Reinstall the previous version of ActiveSync.
Which is all fine unless the installation failed where mine did. I had no uninstall option in Add/Remove programs or a rapi.dll present. My install was failing so early that nothing was being recorded as having been installed. Feeling nervous about installing a previous version over a broken newer version I decided to try to fix the 4.5 install instead.
Troubleshooting The Devices
I knew that ActiveSync historically was very sensitive to the activities of other attached hardware, particularly USB devices, so I began to disconnect devices that I thought might have an effect. First to go was the sync cradle for my IPAQ (even though the IPAQ wasn't cradled during the install). This made no difference. Next to go was the Creative Zen PMC (Portable Media Center) sync cradle. Still no effect. Next were all the external hard drives. Still no difference. Each time I tried a different hardware configuration I had to do a hard reboot to recover control of the PC.
Eventually I disconnected all the external USB devices (hubs, printers, the lot). As if by magic the RNDIS patch updated successfully and ActiveSync 4.5 installed successfully. I plugged everything else back in, rebooted and after installing a few drivers again (for the previously unplugged devices) everything worked fine. Success!
Bluetooth Gotcha
But what caused the issue? I examined all the external USB devices attached to the machine and realised that one of them was a Belkin external Bluetooth Adaptor. This was the only networking type device I had on the USB connection. Previously in the past it had been used for synching with ActiveSync over Bluetooth. It shows as a Local Area Network Connection under Windows XP as well. I can only assume that the networking protocols it was running were blocking the install of the RNDIS patch. Once unplugged and ActiveSync 4.5 installed, the Bluetooth adaptor was reconnected and has run perfectly since.
Installation Tips and Tricks
So if you are having the same issue of hung ActiveSync 4.5 installs I would do the following:
- Sync the device so it has the latest versions of your data and applications in case the worst happens...
- Make sure you have a full backup of your device. Windows Mobile 5 users may need a third party tool for this.
- Close all other applications and save data so you wont lose anything if the machine hangs.
- Unplug or remove any USB devices (such as Bluetooth. WiFi adaptors) that might be running expected network protocols.
- Disable any network configuration tools (WiFi, network monitors etc) prior to installation of ActiveSync 4.5