Hi,
Please assist me relevance which we can use and fetch Microsoft Silver light version from our environment,
Thanks
Hi,
Please assist me relevance which we can use and fetch Microsoft Silver light version from our environment,
Thanks
you can download silverlight and upload it with the wizard. and then just add a /q
so it would look something like this:
wait "__Download\Silverlight_x64 071217.exe" /q
and if you need to a a version check before installing you can do something like:
if (exists keys whose ((value "DisplayName" of it as string as lowercase starts with "microsoft silverlight") and (value "DisplayVersion" of it > "5")) of key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" of registry) then (true) else (false)
Tried on of our one server where silver light has installed but the result not coming, screen shot as below :-
try this then:
if (exists keys whose ((value "DisplayName" of it as string as lowercase starts with "microsoft silverlight") and (value "DisplayVersion" of it > "5")) of key "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall" of x64 registry) then (true) else (false)
or this:
if (exists keys whose ((value "DisplayName" of it as string as lowercase starts with "microsoft silverlight") and (value "DisplayVersion" of it > "5")) of keys "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" of ( x64 registries; x32 registries )) then (true) else (false)
Result is coming True not getting version
this last screenshot lost me.
its coming as true getting version. but you are saying is not.
Means result coming as true but version not reflecting i don’t know why …
so, I guess the best question would be.
do you need the relevance to check for Silverlight? yes / no
do you need to check version? Yes /No
What version are you checking for?
anything about what version? or just if Silverlight is installed?
I am looking about relevance part what silverlight version installed ?
ok so what I gave you is what you want to use. all you need to do is change the > or < sign and you can also enter in the number of the version “5.1.1” or whatever you need
Try this:
value "DisplayVersion" of keys whose (value "DisplayName" of it as string as lowercase contains "microsoft silverlight") of keys "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" of (x32 registries;x64 registries)