Situation:
You want to know what options you have for managing the Ghost installation.
Solution:
Ghost 6.5, 7.0, 7.5 and 2002 use the Microsoft Installer (MSI) to install Ghost. The following switches apply to Ghost installations. This documents lists the command-line parameters (switches) for Setup.exe and Msiexec.exe.
Setup.exe switches
| Switch | Command line | Description |
| /s | Setup.exe /s | Runs MSI install only in silent installation mode |
| /a | Setup.exe /a | * Runs installation in administrative installation mode |
| /j | Setup.exe /j | * Runs installation in advertise installation mode |
| /x | Setup.exe /x | Uninstalls the application |
| /f | Setup.exe /f | Runs installation in repair installation mode |
| /v | Setup.exe /v"<parameters>" | Passes the parameters to msiexe.exe (see below) |
Switch | Install type (interface) | Command Line | Description |
/i and /qb | Basic | Msiexec /i "c:\temp\symantec ghost.msi" /qb | The /qb switch specifies that no progress or error messages are displayed except the progress bar. |
/i and /q or /i and /qn | Silent | Msiexec /i "c:\temp\symantec ghost.msi" /q | The /q switch specifies that no dialog boxes, progress messages, error messages, or progress bars are displayed. Can use /qn instead of /q. The /qn switch suppresses all screen prompts and forces the computer to restart after the completion of the installation. |
/ju | Advertised | Msiexec /ju "c:\temp\symantec ghost.msi" | Does not take additional parameters |
/a | Administrative | Msiexec /a "c:\temp\symantec ghost.msi" | Does not take additional parameters |
/fa | Repair\Modify | Msiexec /fa "c:\temp\symantec ghost.msi" | Reinstall all files |
/fu | Msiexec /fu "c:\temp\symantec ghost.msi" | Rewrite all required registry entries | |
/fs | Msiexec /fs "c:\temp\symantec ghost.msi" | Overwrite any existing shortcuts | |
/x | Uninstall | Msiexec /x "c:\temp\symantec ghost.msi" |
| Property All letters in the property must be capitalized. | Default Value Some of these values are case sensitive. Use the case that is shown here. | Description |
| INSTALLDIR | Program files\Symantec\Ghost | The folder to which you want to install Ghost. If the folder does not exist, the Microsoft Installer creates the folder. |
| USERNAME | Registered user | User name. This switch is required only when you did not specify the user name during the Windows installation. |
| COMPANYNAME | Registered company | Company name. This switch is required only when you did not specify the company name during the Windows installation. |
| GHOSTINSTALLTYPE | Determines the type of installation: | |
| Server | Enterprise Console (that is, the Ghost server). Because the default value for the GHOSTINSTALLTYPE property is "Server", this property is not required when performing a Server installation. | |
| Server Tools | Tools only (excludes the Ghost server and Ghost client). In Ghost 7.0 and 7.5, this option is called "Standard Tools" in the Windows user interface, though the value is still "Server Tools" when using the command-line installation. | |
| Client | Console Client (that is, the Ghost Win32 Client). | |
| GHOSTLICENSEQTY | 10 | License quantity. Symantec Ghost 7.0 and 7.5 do not use this switch. |
| GHOSTNGSERVERUSERNAME | Sgserver | The user name for the Ghost Configuration Server (that is, for the Ghost service). Applies only to Enterprise Console installations. |
| GHOSTNGSERVERPASSWORD | Sgserver | The password for the Ghost Configuration Server (that is, for the Ghost service). Applies only to Enterprise Console installations. |
| GHOSTCONSOLESERVERNAME | The computer name for the computer to which you installed the Ghost Server. Applies only to Console Client installations. | |
| EMAILADDRESS | Use the EMAILADDRESS parameter to specify the email address to which you want the validation key sent. This parameter is required when performing a Server installation, and is not required when performing a Server Tools or Client installation. The email address to which you want the Ghost validation key sent. Applies only to Ghost 7.0 and 7.5. This parameter is required when performing a silent installation, for all Ghost installation types: Server, Server Tools, and Client. |
Available Translations: