How does the setup bootstrapper detect if prerequisites are installed?

Posted by Marek on Stack Overflow See other posts from Stack Overflow or by Marek
Published on 2010-04-08T07:07:42Z Indexed on 2010/04/08 7:13 UTC
Read the original article Hit count: 347

Filed under:
|
|
|

Trying to solve this problem.

I would like to learn how the bootstrapper detects if prerequisites (specifically .NET 3.5) are installed.

According to this reference, a way to detect if .NET is installed is to check the following registry key:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v3.5

Using process monitor, I have inspected registry queries done by the bootstrapper (setup.exe) and it did not show any access to this registry key.

Does anybody know how the bootstrapper determines whether the prerequisites are installed on the target system?

© Stack Overflow or respective owner

Related posts about bootstrapper

Related posts about msi