Thoughts about setup and deployment issues, WiX, XNA, the .NET Framework and Visual Studio
All postings are provided AS IS
with no warranties, and confer no rights. Additionally, views expressed
herein are my own and not those of my employer, Microsoft.
This is a quick follow-up to my previous post about using the /? switch to see a list of .NET Framework 4 command line switches. It is fairly common to need to extract the contents of a self-extracting setup package (such as to create an administrative install point). Unfortunately, that command line switch is not documented in the usage dialog for .NET Framework 4 setup or for most updates available on Windows Update for some reason. It is possible to use a tool like WinZip to extract most self-extracting packages, but if you don’t have a tool like that available on your computer, you can do the following to extract the contents of the .NET Framework 4 setup package:
The above example shows how to extract the contents of .NET Framework 4 setup. The same /x switch is also supported by many other types of installers, including many of the updates that are available on Windows Update.
I was having problems with my Media Center 2005 freezing. I read many comments on the web about this issue and couldn't figure it out, until I ran into a user that had a similar problem. He mentioned that the problem was occurring when his Media Center 2005 downloaded the most recent guide listing. He determined that there was a conflict with .NET framework 4 and when he unistalled it, his media center started humming again. So I tried it as well and sure enough, mine started working again as well. Can you please comment on this issue, hwat the problem is and what if anything I am missing by not having .NET Framework installed?
Hi Patrick Brady - I haven't heard of any problems related to Media Center 2005 not working if the .NET Framework 4 is installed. There were some issues back in older beta versions of the .NET Framework 4, but my understanding was that those had been fixed prior to the final .NET Framework 4 release. Were you seeing any specific error messages or event log entries that led you to suspect that the .NET Framework 4 was causing a problem?
If you don't install the .NET Framework 4, you won't be able to run applications that require it. Most applications will work equally well on older versions of the .NET Framework, and you've already got at least one version installed because Media Center 2005 requires it. There are some applications that require specific versions of the .NET Framework, and those are the ones you won't be able to use unless you install the .NET Framework 4.
What does the /q option do?
Hi James - In the example listed above, the /q switch will cause the .NET Framework 4 setup package to be extracted without showing any UI or requiring you to click on anything. This can be useful if you want to automate the extraction without requiring any user interactions.