Automating MSN Add-In installation...

Hi all,
Does anyone know where in the Registry MSN stores the Add-In locations
Or if there is some official way of automating the installation of Add-Ins into MSN

Thanks.


Answer this question

Automating MSN Add-In installation...

  • Shmelly

    This looks like what I need. I'll test it out and then mark your post as the answer.

  • Matt Stum

  • Nilkanth

    For those who need the Object Pascal version of the previous C code follows...

    function HotmailToPassportID( aEmail : WideString ) : Cardinal;
    var
    x : Cardinal;
    i : integer;
    lower : WideString;
    begin
    x := 0;

    // Email must be in LowerCase
    lower := WideLowerCase( aEmail );

    // Loop through and add up the letters
    for i := 0 to Length( lower ) do
    begin
    x := x * 101;
    x := x + Cardinal( lower[ i ] );
    end;

    result := IntToStr( x );
    end;

  • HansS4

    OK I've found that it adds them to HKEY_CURRENT_USER\Software\Microsoft\MSNMessenger\PerPassportSettings\<SOME ID>\InstalledAddInsList\<YourAddinAssembly.dll>

    Where <SOME ID> maps to your MSN/Passport Account number. Does anyone know how this number is derived I suppose the question I am asking is, given an email address how can I get the ID so that I can install the addin into the correct place

    Thanks.


  • programmer01

    More information can be found here:
    http://stiggy.be/msn/index.php/Calcuating_User_ID

  • Automating MSN Add-In installation...