Upgrading Plesk for Windows in Unattended Mode

  1. Obtain the installer script

    Browse to http://page.plesk.com/plesk-free-download-wp and scroll down to the Plesk Windows Installer section.

    Click the download icon and save the plesk-installer.exe file to your computer.

  2. Launch the installer with necessary options

    To install Plesk without requiring any user input, run the installer script providing all the necessary information through the corresponding options:

    plesk-installer.exe <OPTIONS> --upgrade-installed-components <OTHER_OPTIONS>

The following installer options are commonly used when automating Plesk upgrade.

Option Use Explanation

--source

--source <URL>

or

--source <PATH>

Packages source options define the location where the installer should obtain the Plesk packages for upgrading or installation. You can use either --source <URL> to specify the URL of a mirror of the Plesk updates server, or --source <PATH> if the packages are found locally on the file system. If you use neither, the Plesk packages will be retrieved from the Plesk updates server.

For information on managing local mirror repositories, see Mirroring Plesk Autoinstall Servers.

--select-release-id

--select-release-id <ID>

This option defines what version Plesk will be upgraded to. <ID> is a unique Plesk version identifier (e.g. PANEL_17_0_17_WIN).

View the list of available version IDs for publicly released versions by running:

plesk-installer.exe --show-releases

View the complete list of available version IDs including those intended for product review and testing purposes by running:

plesk-installer.exe --show-releases --skip-branch-filter

--installation-type

--installation-type <TYPE>

Choose one of the predefined sets of components for installation: Recommended, Full or Custom.

View the available installation types by running:

plesk-installer.exe --select-release-id <ID> --show-installation-types

--install-component

--install-component <COMPONENT_1> [--install-component <COMPONENT_2> [... [--install-component <COMPONENT_N>]]]

Alternatively to --installation-type, you can specify the exact list of components to be installed.

View the complete list of components available for a specific version by running:

plesk-installer.exe --select-release-id <ID> --show-components

To view the complete list of the installer options, run:

plesk-installer.exe --help

Example 1: Upgrading Plesk from default updates server

The following command performs the upgrade to the Plesk 17.0.17 release version (ID is 'PANEL_17_0_17') from the Plesk updates server. All installer output is redirected to an XML file.

plesk-installer.exe --select-release-id PANEL_17_0_17_WIN --upgrade-installed-components --enable-xml-output

Example 2: Upgrading Plesk from a mirror, specific components

The following command upgrades Plesk to the 17.0.17 release version (ID is 'PANEL_17_0_17_WIN') from the mirror set up on the server 'mirror.example.com' available via HTTP. Installation files will temporarily be stored in the '%SystemDrive%\Parallels\' folder, and the installation status will be reported to the email 'admin@example.com'. The Bind name server component is additionally installed.

plesk-installer.exe --source http://mirror.example.com/ --target %SystemDrive%\Parallels --select-release-id PANEL_17_0_17_WIN --upgrade-installed-components --install-component dns --notify-email admin@example.com
 

Leave your feedback on this topic here

If you have questions or need support, please visit the Plesk forum or contact your hosting provider.
The comments below are for feedback on the documentation only. No timely answers or help will be provided.