Detect Silverlight version

Detect Silverlight version

Postby rbr555 » 24.04.2014, 09:20

Hello,

Windows 7 64bit Silverlight could be 32bit or 64bit.

in DetermineSystemProperties.vbs it should be

Code: Select all
Private Const strRegKeyMSSL               = "HKLM\Software\Microsoft\Silverlight\"

replaced by

Code: Select all
Private Const strRegKeyMSSL_x86               = "HKLM\Software\Microsoft\Silverlight\"
Private Const strRegKeyMSSL_x64               = "HKLM\Software\Wow6432Node\Microsoft\Silverlight\"

and

Code: Select all
' Determine Microsoft Silverlight version
WriteVersionToFile objCmdFile, "MSSL_VER", RegRead(wshShell, strRegKeyMSSL & strRegValVersion)

replaced by

Code: Select all
' Determine Microsoft Silverlight version
If RegExists(wshShell, strRegKeyMSSL_x64) Then
  WriteVersionToFile objCmdFile, "MSSL_VER", Replace(RegRead(wshShell, strRegKeyMSSL_x64 & strRegValVersion), ",", ".")
Else
  WriteVersionToFile objCmdFile, "MSSL_VER", Replace(RegRead(wshShell, strRegKeyMSSL_x86 & strRegValVersion), ",", ".")
End If

Kind regards
Ronald
Last edited by harry on 24.04.2014, 12:30, edited 1 time in total.
Reason: code-tags inserted
rbr555
 
Posts: 22
Joined: 04.01.2013, 12:00

Re: Detect Silverlight version

Postby WSUSUpdateAdmin » 05.05.2014, 07:21

Hello Ronald,

thanks for your suggestion! :)
Your modifications will be in the next release.

Kind regards,
T. Wittrock
WSUSUpdateAdmin
Administrator
 
Posts: 2245
Joined: 07.07.2009, 14:38


Return to Installation / Updating

Who is online

Users browsing this forum: No registered users and 34 guests

cron