Installing Upgrade Advisor from the Command Prompt
You can install Upgrade Advisor either by using the Setup Wizard or from the command prompt. By using the command prompt you can perform unattended and automated installations.
The basic syntax for installing Upgrade Advisor from the command prompt is as follows:
The following table shows the most common options.
Sets user interface (UI) level:
n = no UI
b = basic UI (progress only, no prompts)
r = reduced UI (dialog box at the end of installation)
f = full UI
Specifies log file options. To log all messages to log_file_name, use -L*vlog_file_name. To log error messages only, use -Lelog_file_name.
Specifies to install (ADDLOCAL), remove (REMOVE), or reinstall (REINSTALL) Upgrade Advisor.
Installs Upgrade Advisor to the location specified by path.
The following example shows how to install Upgrade Advisor by using the command prompt:
SQLUA.msi /qn ADDLOCAL=ALL UAINSTALLDIR="C:\Upgrade Advisor"
You can also use the Msiexec program when you run this command:
Msiexec.exe /i C:\Downloads\SQLUA.msi /qn ADDLOCAL=ALL UAINSTALLDIR="C:\Upgrade Advisor"
This can be helpful if you have to use additional installation options.