How to install Backup4all using the command line parameters

This article explains how to install and uninstall Backup4all using the command line parameters. Backup4all can be installed with various command line parameters that are useful when an unattended installation is needed

On this page: How to install Backup4all 6 (or Backup4all 5) using the .exe setup How to install Backup4all 6 (or Backup4all 5) using the .msi setup Install Backup4all 4 using command line parameters Uninstall Backup4all 4 using command line parameters

How to install Backup4all 6 (or Backup4all 5) using the .exe setup

The parameters available are:

pInstallFolder – indicates the folder where Backup4all will be installed. By default is “Program Files (x86)”

pInstallLanguage – indicates the language to be used for installation. Example: en, fr, it, de, ro

pSettingsAvailableForCurrUser – specify if the settings will be set for current user or for all users

Possible values:

  • Current User = 1
  • All Users = 0

pAutoStart – indicate if the application will be set to start at Windows Startup or not.

Possible values:

  • Enabled = 1
  • Disabled = 0

pShortcutDir – indicate the location of the folder where application shortcuts will be created.

pNoSafeBoot – select if the backup service will run in safe mode or not.

Possible values:

  • Enabled = 1
  • Disabled = 0

By default, the option is set to run in safe mode (value 0). If the value is set to 1, the service will not run in safe mode.

Example: b4asetup-full.exe -pNoSafeBoot=1 -pSettingsAvailableForCurrUser=1

How to install Backup4all 6 (or Backup4all 5) using the .msi setup

The parameters available are:

INSTALL_FOLDER – indicates the folder where Backup4all will be installed. By default is “Program Files (x86)”

INSTALL_LANGUAGE – indicates the language to be used for installation. Example: en, fr, it, de, ro

SETTINGS_AVAILABLE_FOR_CURR_USR_FORCED – specify if the settings will be set for current user or for all users

Possible values:

  • Current User = 1
  • All Users = 0

AUTO_START – indicate if the application will be set to start at Windows Startup or not.

Possible values:

  • Enabled = 1
  • Disabled = 0

SHORTCUTDIR – indicate the location of the folder where application shortcuts will be created.

NO_SAFEBOOT – select if the backup service will run in safe mode or not.

Possible values:

  • Enabled = 1
  • Disabled = 0

By default, the option is set to run in safe mode (value 0). If the value is set to 1, the service will not run in safe mode.

Example: msiexec.exe /i b4asetup.msi -pNoSafeBoot=1 SETTINGS_AVAILABLE_FOR_CURR_USR_FORCED=1


Install Backup4all 4 using command line parameters

Backup4all can be installed with various command line parameters that are useful when an unattended installation is needed.

Syntax

msiexec /i  b4a-pro.msi [switches]


Switches can be any combination of the following parameters:

/QUIET - Instructs Setup to be quiet. When a setup is quiet, there is no user interaction and the installation progress window is not displayed. However the error messages during installation are displayed.

/PASSIVE - Instructs Setup to be quiet. When Setup is quiet, the wizard and the background window are not displayed but the installation progress window is. Everything else is normal so for example error messages during installation are displayed. If a restart is necessary and the /NORESTART command isn't used (see below) and Setup is quiet, it will display a "Reboot now?" message box.

/q[n|b|r|f] - Sets user interface level

n - No user interface

b - Basic user interface

r - Reduced user interface

f - Full user interface (default)

/NORESTART - Do not restart after the installation is complete

APPDIR="installation path" - Overrides the default directory name displayed on the Select Destination Location wizard page. A fully qualified pathname must be specified.

SETTINGS_AVAILABLE_FOR="CurrentUser"|"AllUsers" - Specifies if the settings for Backup4all will be used for the current user only or for all users

DEFAULT_BACKUP_DEST="default backup destination path" - Specifies the path of the folder where program's settings will be kept. If DEFAULT is selected, the path will be "C:\Documents and Settings\<CURRENT USER NAME>\Application Data\Softland\" (same as if <PATH> would be empty). Otherwise if a full path is entered that will be where the settings folder will be kept.

SETTINGS_FOLDER="Backup4all settings path" - Specifies the path of the folder where program's settings will be kept. If DEFAULT is selected, the path will be "C:\Documents and Settings\<CURRENT USER NAME>\Application Data\Softland\" (same as if <PATH> would be empty). Otherwise if a full path is entered that will be where the settings folder will be kept.

Bellow is a list of tasks that should be initially selected or deselected. To select a task, mark it as "TRUE". To deselect a task, use "". Only the specified tasks (and their children) will be selected; the rest will be used as default.

Bellow is a list of tasks that should be initially selected or deselected. To select a task, mark it as "TRUE". To deselect a task, use "". Only the specified tasks (and their children) will be selected; the rest will be used as default.

CREATE_DESKTOP_ICON="TRUE"|"" - Choose if a desktop icon will be created or not.

ASSOCIATE_BKC="TRUE"|"" - Choose if the bkc files will be associated with Backup4all or not.

AUTOSTART="TRUE"|"" - Choose if you want Backup4all to start at system startup or not.

QUICK_START="TRUE"|"" - Choose if you want to create a quick launch icon or not.

CHECK_FOR_UPDATES="TRUE"|"" - Choose if you want to check for updates weekly or not.

START_OTB="TRUE"|"" - Choose if you want to start the OTB agent or not.

REGISTRATION_NAME="registration name" - Backup4all registration name

REGISTRATION_KEY="registration key" - Backup4all Registration key


Uninstall Backup4all 4 using command line parameters

The uninstaller has also some parameters for silent uninstall.

Syntax

msiexec /x  b4a-pro.msi [switches]


Switches can be any combination of the following parameters:

/QUIET - Instructs uninstaller to be very silent during uninstallation. When a setup is very silent the uninstallation progress window is not displayed. However the error messages during uninstallation are displayed.

/PASSIVE - Instructs uninstaller to be silent during uninstallation. When Setup is silent the wizard and the background window are not displayed but the uninstallation progress window is. Everything else is normal so for example error messages during uninstallation are displayed.

/q[n|b|r|f] - Sets user interface level

n - No user interface

b - Basic user interface

r - Reduced user interface

f - Full user interface (default)

Applies to:

Backup4all 4.x, 5.x, 6.x

Comments


NEW: Backup4All 6.2.245