BetaArchive
https://www.betaarchive.com/forum/

Windows Live Messenger M3 - Windows Server 2008 Hack
https://www.betaarchive.com/forum/viewtopic.php?f=2&t=5971
Page 1 of 1

Author:  remi.serriere [ Sun Oct 12, 2008 6:59 pm ]
Post subject:  Windows Live Messenger M3 - Windows Server 2008 Hack

Hi!

By browsing the resources of Windows Live Installer, I found something interesting...

There is a resource named "CONFIG0", in the resource directory named "CONFIG".
This is the original resource (I just replaced <and> to | show the XML data correctly using BBCode and I arranged the XML data [everything was on a single line]).

Code:
|?xml version="1.0" encoding="utf-8"?|
|installerConfig version="1"|
  |setting name="language"|fr|/setting|
  |setting name="buildtype"|ship|/setting|
  |setting name="CeipDefault"|false|/setting|
  |setting name="HomepageDefault"|true|/setting|
  |setting name="SearchDefault"|true|/setting|
  |setting name="ToolbarDefault"|true|/setting|
  |setting name="SearchFormCode"|IEFM1|/setting|
  |setting name="sku"|wlsetup-all.exe|/setting|
  |applications|
    |application id="messenger"|
      |launch|true|/launch|
    |/application||/applications|
  |ui|
    |level|standard|/level|
  |/ui|
  |rule name="IsValidOs" logic="or"|
    |group logic="and" name="vista+"|
      |os version="vista" condition="greaterthanorequal" /|
      |os productType="workstation" /|
    |/group|
    |group logic="and" name="xpsp2"|
      |os version="xp" servicePack="2" condition="greaterthanorequal" /|
      |os version="vista" condition="lessthan" /|
      |os productType="workstation" /|
      |os cpu="i386" /|
      |fileVersion path="CSIDL_SYSTEM" file="msi.dll" version="3.1.0.0" condition="greaterthanorequal" /|
    |/group|
  |/rule|
|/installerConfig|


See the "rule" section in it. It is used for the OS check.
What we need is not to remove the check but to add an exception so the installer will recognize Windows Server 2008 as an allowed OS. Remember the internal name of Windows Server 2008... It's Longhorn Server. Just check the "BuildLab" String Value in your register at HLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion...

So we just have to add a "group" in the "rule" section:
Code:
|group logic="and" name="longhorn"|
    |os version="longhorn" condition="greaterthanorequal" /|
    |os productType="server" /|
|/group|


Now, let's see the SKU part.
On line 10 there is
Code:
|setting name="sku"|wlsetup-all.exe|/setting|

This is used to tell to the installer to download the components or not. If you have a complete installer you must have that:
Code:
|setting name="sku"|wlsetup-all.exe|/setting|

But if you have a web based installer, you have to have:
Code:
|setting name="sku"|wlsetup-web.exe|/setting|


And the language?
3rd line!
If the language you enter here is not the same as the installer language, you'll have a blank screen when selecting the components.
You won't be able to select what you want.
So don't forget that 3rd line:
Code:
|setting name="language"|fr|/setting|
for French settings, or
Code:
|setting name="language"|en|/setting|
for English settings.
It is NOT possible to change the language of Windows Live Messenger here.
And this is not your system language. This is your Installer language.


I compiled two web installers based on this little hack for French and English versions, but you can do it by yourself for the complete installer. Just open it with a resource editor, et voila!
Four different resource files are "RARed" on the BA FTP server (English Web, English All, French Web, French All)

I think (and hope) it should work with future releases of Windows Live Installers

Oh... I almost forgot... I used the installers from this post.


DONE: Can I upload these two files on the forum or somewhere else for sharing?
EDIT: All the post ^^.

Author:  Andy [ Sun Oct 12, 2008 7:05 pm ]
Post subject: 

Feel free to upload them to the BA FTP. :)

Author:  remi.serriere [ Sun Oct 12, 2008 7:10 pm ]
Post subject: 

Ok!

But could you tell me how I can write the Config resource on the forum and show it to everyone here?
Because the "things" on my previous post are not what I wrote...

EDIT: I just uploaded the files on the BA FTP server.

Author:  leonbollerup [ Mon Oct 13, 2008 8:57 am ]
Post subject:  can you ass support for LH4074 ?

Hi,

Can you add support for Longhorn 4074 ?

Author:  remi.serriere [ Mon Oct 13, 2008 1:18 pm ]
Post subject: 

@leonbollerup:
Did you try this first?
If it's not working, maybe this could do the trick:
Code:
|group logic="and" name="longhornworkstation"|
      |os version="longhorn" condition="greaterthanorequal" /|
      |os productType="workstation" /|
|/group|


Longhorn 4074 is a workstation OS so it should work.
But it's not because Messenger can be installed that it's gonna work (dependencies, dotNet...) so be careful.

I'm building the Longhorn installer but I can't try it.

Author:  leonbollerup [ Mon Oct 13, 2008 1:32 pm ]
Post subject:  ...

When you have the installer ready, let me know, i would be more than happy to test for you.

Are you planing to support just messenger or also windows live mail/writer/etc. ?

Author:  remi.serriere [ Mon Oct 13, 2008 4:29 pm ]
Post subject: 

It's the "official" installer so you can select to install Writer, Photo Gallery, Mail...

Author:  Gillian [ Tue Oct 14, 2008 3:09 am ]
Post subject: 

Actually, install messenger.msi and contacts.msi is ok.

Author:  remi.serriere [ Tue Oct 14, 2008 9:42 am ]
Post subject: 

Exact. It works if you install the MSIs.
But I didn't find the MSIs installers for Windows Live Messenger M3 so I had to find an other way.

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/