May 2012: Looks like all of the GUIDS have changed?

May 29, 2012 at 8:31 PM
Edited May 29, 2012 at 8:32 PM

This would be a great tool but it needs to be updated regularly?

What are the current set of GUIDs?

May 29, 2012 at 9:02 PM

Here's the function I need to fix:

private

 

string getDownloadLink(string language, string

guid)

{

 

string ret = ""

;

 

try

{

 

string url = "http://www.microsoft.com/downloads/" + language + "/details.aspx?familyid="

+ guid;

 

string

returned1 = client.DownloadString(url);

 

string returned2 = returned1.Substring(returned1.IndexOf("fileurl=\"http://download.microsoft.com/download"

) + 9);

 

int offset = returned2.IndexOf('"'

);

 

string

returned3 = returned2.Substring(0, offset);

 

if (returned3.IndexOf("\'") != -1) returned3 = returned3.Substring(0, returned3.IndexOf("\'"

));

returned3 = System.Web.

HttpUtility

.UrlDecode(returned3);

 

//MessageBox.Show(returned);

ret = returned3;

}

 

catch (WebException

ex)

{

 

if (ex.Status == WebExceptionStatus.ProtocolError && ex.Response != null

)

{

 

var resp = (HttpWebResponse

)ex.Response;

 

if (resp.StatusCode == HttpStatusCode

.NotFound)

{

 

string returned2 = client.DownloadString("http://www.microsoft.com/downloads/details.aspx?familyid=" + guid + "&displayLang="

+ language);

returned2 = returned2.Substring(returned2.IndexOf(

"if (g_IsIE) {window.open(\'http://download.microsoft.com"

) + 26);

returned2 = returned2.Substring(0, returned2.IndexOf(

"\""

));

 

if (returned2.IndexOf("\'") != -1) returned2 = returned2.Substring(0, returned2.IndexOf("\'"

));

returned2 = System.Web.

HttpUtility

.UrlDecode(returned2);

 

//MessageBox.Show(returned2);

ret = returned2;

}

}

}

 

return

ret;

}

Coordinator
Jun 7, 2012 at 3:04 PM

I just double checked the GUIDs and they are all the same as before... What error are you seeing?

 

046f16a9-4bce-4149-8679-223755560d54 SP2010 LP
646e311a-aaf3-4d30-b03c-2f3c70d19a22 SP2010 Foundation LP

ecdb9e7b-7dba-4ca6-8683-5427925ae955 SP2010 LP SP1
68b5071a-e890-4b1c-b6dc-8493a033e853 SP2010 Foundation LP SP1

Coordinator
Aug 16, 2012 at 7:06 PM

Someone else raised an issue with some of the download links and I tracked down the problem. Please grab version 1.6 as this new release fixes some of the invalid urls.

Mat