We have decided to take the plunge and require that our users have .NET 3.5 installed before they can use our media center plug-in.
I want to make sure the install experience is as smooth as possible and that our installer stays small.
What changes do I need to make to my WiX file to support the following scenarios? Code examples would be much appreciated.
- User has .Net framework 3.0 installed, interactive install.
Desired Behavior: User is prompted with a window that tells her she needs a new version of the framework, if she accepts, dotNetFx35setup.exe (2.7 MB) is downloaded, and then executed. Finally, the installation proceeds.
- User has .Net framework 3.0 installed, non-interactive install.
Background: To facilitate auto-updates from within media center, we may execute "msiexec.exe /qb /i mediabrowser.msi" if a user elect to upgrade an existing version.
Desired behavior: User is prompted with a window that tells her she needs a new version of the framework, if she accepts, dotNetFx35setup.exe (2.7 MB) is downloaded, and then executed. Finally, the installation proceeds silently.
Are there any other open source projects that implement something along these lines?
Related question: Is .NET 3.5 a reasonable pre-requisite for a media center plugin?