1646: Installing an Acronis Product from Command-Line

use Google Translate

Last update: 08-07-2021

To install an Acronis product from command-line you need to extract the installation package and then issue the msiexec command along with defining necessary switches

This article applies to:

This article applies to older versions of Acronis products. For newer versions, the same information can be found in product documentation:

Introduction

Any of the Acronis products listed above can be installed from command-line.

Installation of these products requires that the operating system have Windows Installer 2.0 or higher.

Solution

  1. Extract the Acronis product installation package:
    1. Launch the product installation file
    2. Once the Acronis product installation screen appears, right-click on the name of the component you need to install. You should see two options there: Install and Extract. Select Extract
    3. Select the path for extracting the component and click Save
  2. Go to the Run prompt (Start -> Run) and issue the following command:
    • msiexec /i [drive letter]:\[path to the extracted installation package] /qb PIDKEY=[full or upgrade serial number] OLD_PIDKEY=[old serial number if an upgrade serial number was specified] TARGETDIR=[target location]

Examples of issuing installation commands:

  • If you are installing a full version of the product to a default location, then run:
    • msiexec /i C:\AcronisTrueImage.msi /qb PIDKEY=XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
  • If you are installing a full version of the product to a custom location, then run:
    • msiexec /i C:\AcronisTrueImage.msi /qb PIDKEY=XXXXX-XXXXX-XXXXX-XXXXX-XXXXX TARGETDIR=D:\Acronis
  • If you are installing an upgrade version of the product to a default location, then run:
    • msiexec /i F:\AcronisTrueImage.msi /qb PIDKEY=XXXXX-XXXXX-XXXXX-XXXXX-XXXXX OLD_PIDKEY=XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
  • If you are installing an upgrade version of the product to a custom location, then run:
    • msiexec /i F:\AcronisTrueImage.msi /qb PIDKEY=XXXXX-XXXXX-XXXXX-XXXXX-XXXXX OLD_PIDKEY=XXXXX-XXXXX-XXXXX-XXXXX-XXXXX TARGETDIR=D:\Acronis

More information:

Versions of Windows operating systems higher than Windows 2000 include Windows Installer by default.

Windows 95/98/Me require downloading Windows Installer Redistributable

Windows NT 4.0/2000 require downloading Windows Installer Redistributable

You can also take a look at the Microsoft Knowledge Base Article 314881 for additional information on working with Windows Installer.

List of parameters that can be used during installation of Acronis products

Parameter Description Example
PIDKEY=[serial number] Specifies serial number for the product being installed. You need to use this only for versions of Acronis products without License Server. msiexec /i C:\AcronisTrueImageServer.msi PIDKEY=XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
OLD_PIDKEY=[old serial number] Specifies serial number of the older Acronis product. You need to use this only if you are installing an upgrade version. msiexec /i C:\AcronisTrueImage.msi /qb PIDKEY=XXXXX-XXXXX-XXXXX-XXXXX-XXXXX OLD_PIDKEY=XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
USE_LICENSE_SERVER=1 [LICENSE_SERVER="computer name or IP-Address"] Specifies the Acronis License Server component network address. For versions with Acronis License Server only. msiexec /i C:\AcronisTrueImageEnterpriseServerAgent.msi USE_LICENSE_SERVER=1 LICENSE_SERVER="MyLicenseServerComputer.domain.local"
ADDLOCAL=component name,component name Allows you to install certain components of the product. msiexec /i C:\AcronisTrueImageServer.msi PIDKEY=XXXXX-XXXXX-XXXXX-XXXXX-XXXXX ADDLOCAL=TrueImageClient,MediaBuilder,TrueImagePE
TARGETDIR=[target directory] Specifies the target directory of where the product is being installed to. msiexec /i C:\AcronisTrueImage.msi /qb PIDKEY=XXXXX-XXXXX-XXXXX-XXXXX-XXXXX OLD_PIDKEY=XXXXX-XXXXX-XXXXX-XXXXX-XXXXX TARGETDIR=D:\Acronis
REINSTALL=ALL REINSTALLMODE=vomus This parameter needs to be specified when updating some component (installing it over a previous build). msiexec /i C:\AcronisTrueImageServer.msi ADDLOCAL=TrueImageClient,MediaBuilder REINSTALL=ALL REINSTALLMODE=vomus
/q[n|b|r|f]

Sets the user interface level of installation.

  • n - No User Interface
  • b - Basic User Interface
  • r - Reduced User Interface
  • f - Full User Interface
msiexec /i C:\AcronisTrueImage.msi /qb PIDKEY=XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
/norestart Installation of an Acronis product requires a reboot. This switch suppresses reboot. This is available only in Windows Installer 3.0 or higher. msiexec /i C:\AcronisTrueImage.msi /qb PIDKEY=XXXXX-XXXXX-XXXXX-XXXXX-XXXXX /norestart
REBOOT=ReallySuppress This parameter suppresses reboot in versions of Windows Installer older than 3.0 msiexec /i C:\AcronisTrueImage.msi /qb PIDKEY=XXXXX-XXXXX-XXXXX-XXXXX-XXXXX REBOOT=ReallySuppress

 

Tags: