Mailbag: How do I fix problems preventing installing the .NET Framework 2.0 MSI directly

Question:

I saw your previous post about deploying the .NET Framework 2.0 using the MSI directly. I have been trying to install the .NET Framework by running this command line:

dotnetfx.exe /q:a /c:"msiexec.exe /i c:\temp\netfx.msi using_exhuih=1 /qb"

However, when I try to use this command line, setup shows an error dialog like the following:

.NET Framework 2.0 install block dialog

It appears that I'm using one of the valid properties listed in your previous blog post. How can I fix this?

Answer:

MSI property values are case-sensitive. You need to make sure that the USING_EXUIH parameter in your command line is in all capital letters instead of in all lower-case letters.

To install the .NET Framework 2.0 using the MSI directly, you should update your command line to look like the following:

dotnetfx.exe /q:a /c:"msiexec.exe /i c:\temp\netfx.msi USING_EXUIH=1 /qb"