I am creating an MSI
for installing my Silverlight OOB
application. It should install Silverlight Plugin if it is not present, or the required version is not present.
So, how can I detect if Silverlight exists on my machine. If present how can I know which version is present.
My MSI
is distributed, may not be downloaded from webpage, so I can't put any javascript and download the MSI package accordingly.
You can use the registry. The following link shows the keys for 32 and 64 bit systems: How To Determine Silverlight version on x64 machines?