July 10th, 2006 Adrian Banks 6149 Views
There are three supported modes:
- Standard Mode
All UI screens are displayed, including warnings about missing prerequisites, existing beta versions, errors and reboots.
The setup includes a multi-lingual UI that chooses the correct language from the user's operating system UI language settings, so a user should always see the install in their preferred language.
- Unattended Mode
All UI screens are suppressed, except for a progress dialog during installation.
To install in unattended mode, use the following command line:dotnetfx.exe /q:a /c:"install.exe /qb"
Changing /qb to /qb! will hide the cancel button on the progress dialog, stopping the user from aborting the install.
- Silent Mode
All UI screens are suppressed. This is useful for a custom installer to install the .Net Framework.
To install in silent mode, use the following command line:dotnetfx.exe /q:a /c:"install.exe /q"
If using silent mode, any errors, previous beta versions or reboots must be handled by the hosting installer since the .Net Framework installer cannot display any dialogs to prompt the user. Aaron also provides details of possible return codes from the installer, how to detect previous beta versions of the framework and how to manage reboots.
Entry Filed Under: .Net