In the effort of bringing the Gallery into the Windows Publishing, I'd like to point a bug:
As in FAQ C.22, most people probably set their gallery URL to be relative to access root (I did). doing that, the .reg file created by publish_xp.php sets the gallery link to point to a relative url instead of the full URL of the gallery.