We decided to take a decisive step and require our users to install .NET 3.5 before they can use our media center.
I want to make sure that the installation process is as smooth as possible, and that our installer remains small.
What changes do I need to make to the WiX file to support the following scenarios? Code examples would be much appreciated.
- User installed .Net framework 3.0, an interactive installation.
Desired behavior : the user is prompted with a window indicating that she needs a new version of the framework, if she accepts, dotNetFx35setup.exe (2.7 MB) is downloaded and then executed. Finally, the installation continues.
- The user has the .NET Framework 3.0 installed, a non-interactive installation.
Background . To facilitate automatic updating from the media center, we can run "msiexec.exe / qb / i mediabrowser.msi" if the user decided to upgrade the existing version.
Desired behavior : the user is prompted with a window indicating that she needs a new version of the framework, if she accepts, dotNetFx35setup.exe (2.7 MB) is downloaded and then executed. Finally, the installation continues silently.
Are there any other open source projects that are implementing something in this direction?
Related question : Is .NET 3.5 a reasonable prerequisite for a media center plugin?
source share