How to do a silent installation of Aspera Drive on Windows

Description

You can install Aspera Drive silently via command line rather than interactively through a GUI wizard.

The silent installation can also be done for system wide installations of Aspera Drive, meaning installation for every user on the system.

Environment

  • Product: Aspera Drive
  • Version: 1.3.0 and greater
  • Operating System: Windows

Instructions for personal installation

1. Open the Command Prompt.

2. Navigate to the directory with the Aspera Drive MSI file. (cd ...)

3. Run the following command, replacing <version> with the version number on your installation file:

msiexec.exe /i AsperaDrive-<version>.msi /qn

4. If the installation fails, there are debugging options:

first, replace the option : /qn with : /passive, this will show a progress dialog

second, add : /l*v install.log, this will create a log file

Instructions for global installation

The instructions are globally the same, simply add few options to activate the global installation, and run this as an administrator.

1. Open the Command Prompt from an administrator account, or right click Command Prompt and select Run as Administrator.

2. Navigate to the directory with the Aspera Drive MSI file. (cd ...)

3. Run the following command, replacing <version> with the version number on your installation file:

msiexec.exe /i AsperaDrive-<version>.msi WIX_APP_FOLDER=WixPerMachineFolder ALLUSERS=1 REBOOT=REALLYSUPPRESS /qn

Saving and Restoring configuration

 The AsperaDrive application has the following command line options:

asperadrive -h
"Usage: asperadrive [OPTION]
-h, --help       Display usage
-A, --version    Display version
-f PATH          Load configuration file
-w PATH          Save configuration file
-q               Suppress error dialogs (when processing configuration)
-u               Uninstall Aspera Drive application data.

Refer to the Administration documentation of Drive on how to use the -w and -f options and format of the configuration file.

Have more questions? Submit a request

1 Comments

  • Avatar
    Laurent Martin

    An example of Drive configuration file
    {
    "conf": {
    "accounts": [
    {
    "authentication_type": "BASIC",
    "class_name": "AccountProperties",
    "host": "https://1.1.1.1",
    "name": "demo kit shares user1",
    "password": "MySecret",
    "password_cleartext": "",
    "storage_host": "",
    "storage_password_cleartext": "",
    "storage_path": "",
    "storage_type": "Default",
    "storage_user": "",
    "sync": {
    "additional_params": [

    ],
    "assume_no_mods": false,
    "assume_unique_nids": false,
    "auto_start": true,
    "checksum": "none",
    "cipher": "aes128",
    "class_name": "SyncProperties",
    "continuous": false,
    "cooloff": 3,
    "create_dir": true,
    "dedup": "",
    "direction": "bidi",
    "exclude": [
    ".DS_Store",
    "*.conflict-mine*",
    "~$*",
    "~*.tmp"
    ],
    "ignore_delete": false,
    "inode_format": "hash",
    "last_favlink": "/Users/laurent/Documents/u1 n8 sh1",
    "localdir": "/Users/laurent/Documents/u1 n8 sh1",
    "name": "",
    "no_scan": false,
    "no_scan_dir_rename": true,
    "overwritemethod": "always",
    "preserve_access_time": false,
    "preserve_creation_time": true,
    "preserve_modification_time": true,
    "preserve_root_attrs": "0",
    "preservegid": false,
    "preserveuid": false,
    "ratepolicy": "fair",
    "remote_selection": [
    {
    "readable": true,
    "remotedir": "/n8-sh1",
    "syncable": true,
    "writeable": true
    }
    ],
    "reset": false,
    "reset_once": false,
    "scanintensity": "medium",
    "stats_id": "c721d385-8560-445c-ba6f-d671c719ff43",
    "stopped": true,
    "symlinks": "follow",
    "version": 2
    },
    "user": "user1",
    "version": 2
    },
    {
    "authentication_type": "BASIC",
    "class_name": "AccountProperties",
    "host": "https://2.2.2.2",
    "name": "lego",
    "password": "ASecret",
    "password_cleartext": "",
    "storage_host": "",
    "storage_password_cleartext": "",
    "storage_path": "",
    "storage_type": "Default",
    "storage_user": "",
    "sync": {
    "additional_params": [

    ],
    "assume_no_mods": false,
    "assume_unique_nids": false,
    "auto_start": false,
    "checksum": "none",
    "cipher": "aes128",
    "class_name": "SyncProperties",
    "continuous": false,
    "cooloff": 3,
    "create_dir": true,
    "dedup": "",
    "direction": "pull",
    "exclude": [
    ".DS_Store",
    "*.conflict-mine*",
    "~$*",
    "~*.tmp"
    ],
    "ignore_delete": false,
    "inode_format": "hash",
    "last_favlink": "",
    "localdir": "/Users/laurent/Documents/lego",
    "name": "",
    "no_scan": false,
    "no_scan_dir_rename": true,
    "overwritemethod": "always",
    "preserve_access_time": false,
    "preserve_creation_time": true,
    "preserve_modification_time": true,
    "preserve_root_attrs": "0",
    "preservegid": false,
    "preserveuid": false,
    "ratepolicy": "fair",
    "remote_selection": [

    ],
    "reset": false,
    "reset_once": false,
    "scanintensity": "medium",
    "stats_id": "7ce6525f-68cf-47a9-89d4-5b4c7a54961a",
    "stopped": true,
    "symlinks": "follow",
    "version": 2
    },
    "user": "laurent@asperasoft.com",
    "version": 2
    },
    {
    "authentication_type": "BASIC",
    "class_name": "AccountProperties",
    "host": "https://3.3.3.3/",
    "name": "Marketing shares",
    "password": "TheSecret",
    "password_cleartext": "",
    "storage_host": "",
    "storage_password_cleartext": "",
    "storage_path": "",
    "storage_type": "Default",
    "storage_user": "",
    "sync": {
    "additional_params": [

    ],
    "assume_no_mods": false,
    "assume_unique_nids": false,
    "auto_start": false,
    "checksum": "none",
    "cipher": "aes128",
    "class_name": "SyncProperties",
    "continuous": false,
    "cooloff": 3,
    "create_dir": true,
    "dedup": "",
    "direction": "pull",
    "exclude": [
    ".DS_Store",
    "*.conflict-mine*",
    "~$*",
    "~*.tmp"
    ],
    "ignore_delete": false,
    "inode_format": "hash",
    "last_favlink": "/Users/laurent/Aspera Drive/Marketing",
    "localdir": "/Users/laurent/Aspera Drive/Marketing",
    "name": "",
    "no_scan": false,
    "no_scan_dir_rename": true,
    "overwritemethod": "always",
    "preserve_access_time": false,
    "preserve_creation_time": true,
    "preserve_modification_time": true,
    "preserve_root_attrs": "0",
    "preservegid": false,
    "preserveuid": false,
    "ratepolicy": "fair",
    "remote_selection": [
    {
    "readable": true,
    "remotedir": "/Sales Training",
    "syncable": true,
    "writeable": false
    }
    ],
    "reset": false,
    "reset_once": false,
    "scanintensity": "medium",
    "stats_id": "5f3da39b-15b3-45ec-8e33-2be488671ea3",
    "stopped": true,
    "symlinks": "follow",
    "version": 2
    },
    "user": "laurent",
    "version": 2
    },
    {
    "authentication_type": "BASIC",
    "class_name": "AccountProperties",
    "host": "https://4.4.4.4",
    "name": "shares_com laurent",
    "password": "ThisSecret",
    "password_cleartext": "",
    "storage_host": "",
    "storage_password_cleartext": "",
    "storage_path": "",
    "storage_type": "Default",
    "storage_user": "",
    "sync": {
    "additional_params": [

    ],
    "assume_no_mods": false,
    "assume_unique_nids": false,
    "auto_start": true,
    "checksum": "none",
    "cipher": "aes128",
    "class_name": "SyncProperties",
    "continuous": false,
    "cooloff": 3,
    "create_dir": true,
    "dedup": "",
    "direction": "pull",
    "exclude": [
    ".DS_Store",
    "*.conflict-mine*",
    "~$*",
    "~*.tmp"
    ],
    "ignore_delete": false,
    "inode_format": "hash",
    "last_favlink": "/Users/laurent/Documents/shares_com laurent",
    "localdir": "/Users/laurent/Documents/shares_com laurent",
    "name": "",
    "no_scan": false,
    "no_scan_dir_rename": true,
    "overwritemethod": "always",
    "preserve_access_time": false,
    "preserve_creation_time": true,
    "preserve_modification_time": true,
    "preserve_root_attrs": "0",
    "preservegid": false,
    "preserveuid": false,
    "ratepolicy": "fair",
    "remote_selection": [
    {
    "include": [
    "/2014-12 SE Summit"
    ],
    "readable": true,
    "remotedir": "/Sales Engineering",
    "syncable": true,
    "writeable": true
    },
    {
    "readable": true,
    "remotedir": "/laurent",
    "syncable": true,
    "writeable": true
    }
    ],
    "reset": false,
    "reset_once": false,
    "scanintensity": "medium",
    "stats_id": "3724266c-e8bc-44d0-9195-0909e8793904",
    "stopped": true,
    "symlinks": "follow",
    "version": 2
    },
    "user": "laurent",
    "version": 2
    },
    {
    "authentication_type": "BASIC",
    "class_name": "AccountProperties",
    "faspex": {
    "auto_start": true,
    "check_interval_seconds": 60,
    "class_name": "FaspexInboxProperties",
    "download_dir": "/Users/laurent/Documents/user1 faspex",
    "last_favlink": "/Users/laurent/Documents/user1 faspex",
    "name": "user1 faspex Inbox",
    "packages_downloaded": [

    ],
    "passphrase_cleartext": "",
    "passphrase_enabled": true,
    "separate_package_folders": true,
    "sequence_id": 295,
    "skip_owner_packages": false,
    "start_from": 1438812000000,
    "version": 2,
    "view_max_packages": 0
    },
    "host": "https://5.5.5.5",
    "name": "user1 faspex",
    "password": "OneSecret_",
    "password_cleartext": "",
    "storage_host": "",
    "storage_password_cleartext": "",
    "storage_path": "",
    "storage_type": "",
    "storage_user": "",
    "user": "user1",
    "version": 2
    }
    ],
    "settings": {
    "connection.limit.download": 3.0,
    "connection.limit.download.enable": false,
    "connection.limit.upload": 10.0,
    "connection.limit.upload.enable": false,
    "custom_configuration": false,
    "proxy.fasp.password_cleartext": "",
    "proxy.fasp.use": false,
    "proxy.http.password_cleartext": "",
    "proxy.http.use": false,
    "security.hostProfiles": {
    "10.25.0.3": true,
    "10.25.0.6": true,
    "174.37.216.71": true,
    "drive.sante-martinique.fr": true,
    "marketing.asperasoft.com": true,
    "shares.asperasoft.com": true
    },
    "sync.altlogdir": "/Users/laurent/Library/Logs/Aspera",
    "sync.default_sync_parameters": {
    "additional_params": [

    ],
    "assume_no_mods": false,
    "assume_unique_nids": false,
    "auto_start": false,
    "checksum": "none",
    "cipher": "aes128",
    "class_name": "SyncProperties",
    "continuous": false,
    "cooloff": 3,
    "create_dir": true,
    "dedup": "",
    "direction": "pull",
    "exclude": [
    ".DS_Store",
    "*.conflict-mine*",
    "~$*",
    "~*.tmp"
    ],
    "ignore_delete": false,
    "inode_format": "hash",
    "last_favlink": "",
    "localdir": "",
    "name": "",
    "no_scan": false,
    "no_scan_dir_rename": true,
    "overwritemethod": "always",
    "preserve_access_time": false,
    "preserve_creation_time": true,
    "preserve_modification_time": true,
    "preserve_root_attrs": "0",
    "preservegid": false,
    "preserveuid": false,
    "ratepolicy": "fair",
    "remote_selection": [

    ],
    "reset": false,
    "reset_once": false,
    "scanintensity": "medium",
    "stats_id": "",
    "stopped": true,
    "symlinks": "follow",
    "version": 2
    },
    "sync.error_restart_interval_ms": 10000,
    "sync.session_restart_interval_ms": 300000,
    "sync.session_restart_interval_unit": 1,
    "sync.sync_setup_interval_ms": 60000,
    "sync.version": 1,
    "transfers.default_parameters": {
    "auto_detect_path_mtu": true,
    "bandwidth_cap": 0,
    "datagram_size": 1492,
    "delete_upload_files_on_complete": false,
    "encryption_cipher": "none",
    "manifest_file_path": "",
    "minimum_locked": false,
    "minimum_rate": 0,
    "node_transfer_id": "",
    "preserve_access_time": false,
    "preserve_creation_time": false,
    "preserve_modification_time": false,
    "preserve_source_access_time": false,
    "rate_policy": "fair",
    "rate_policy_locked": false,
    "rate_priority": 2,
    "resume_check": "sparse",
    "should_save_credentials": false,
    "target_rate": 0,
    "target_rate_locked": false,
    "transfer_mode": "normal",
    "version": 2
    },
    "transfers.iterationToken": 237,
    "version": 2
    },
    "version": 1
    }
    }

Please sign in to leave a comment.
Powered by Zendesk