December 14, 2009 21:49 by
jasonp
Here are a list of things which you might not know about when creating a Windows Live Messenger Theme Pack:
Known Issues
- COM Object "MessengerContentInstallerLibrary" does not works on 64-bit machines.
Seems like you need to target the build to only x86 machines (32-bt machines) that will force the assembly to run in WOW64 instead of 64 bit
- You need to be signed in to Windows Live Messenger to be able to install a theme pack.
- A theme pack must be served from a HTTP Server.
- Therefore, you must be connected to the internet to install a theme pack. (There is a workaround for this, to simulate a http server using Sockets, which I didn't have any success in it.)
How to handle Installer events
To notify your application after the installer has finished installing the theme pack use the following event handler, DMessengerContentEvents_OnContentInstalledEventHandler
Example:
mci = new MessengerContentInstaller();
MessengerContentInstaller
mci.OnContentInstalled +=new DMessengerContentEvents_OnContentInstalledEventHandler(mco_OnContentInstalled); }
private void mco_OnContentInstalled(int lhrResult)
To identify whether the installation has an error while installing, check the "int lhrResult" param. If the value is = 0, the installation completed successfully. Other than that, the installation has failed and you need to let the user retry the installation.
A theme pack (winter themed pack) which I built is available here: http://jasoncloud.cloudapp.net/ .
{
...
c6636654-865c-491b-a966-c007d9d3808b|0|.0