On this page:
|Summary: this page provides an explanation about the CAST Extension Downloader.|
The CAST provides a range of extensions to provide support for a wide range of technologies, both in terms of analysis and also in terms of source code extraction and discovery. These extensions have a release life cycle that is different to the CAST AIP life cycle, in other words new releases of extensions can be made public at any time.
To support the automated download of these extensions from CAST, CAST provides users with a tool called the Extension Downloader. This page provides an explanation of the Extension Downloader.
Extension Downloader is a software application used in Graphical User Interface (GUI) mode bundled with CAST AIP. As its name suggests, it provides a convenient method for downloading extensions.
Where can I find the Extension Downloader?
The CAST Extension Downloader (ExtensionDownloader.exe) is part of CAST AIP 8.x and above and Core and is installed by its setup. You can find it at the root of the CAST AIP Core installation folder.
|While the version of the CAST Extension Downloader provided with existing CAST AIP setups and specifically for CAST AIP 7.3.x as a separate download, will continue to function in the short to medium term, CAST highly recommends that you replace this version with the standalone version (≥ 1.1.0) of the CAST Extension Downloader which is available for download from https://confluence.castsoftware.com/display/download/Extension+Downloader. This standalone version provides additional features (such as authentication) that are not available in the CAST Extension Downloader distributed with existing releases of CAST AIP - in addition it is supported for use from CAST AIP 7.3.x onwards.|
Installed / Available / Updates
This option displays all the extensions that have already been downloaded on to the local machine. Extensions are downloaded to:
|Available||This option displays all the extensions that are available on the remote CAST Extend server that have not already been downloaded to the local machine.|
|Updates||This option displays all extensions that are available on the remote CAST Extend server that are a more recent version of an extension that has already been downloaded to the local machine.|
The Preferences button enables you to configure a new remote download server:
By default, various remote download servers will already be pre-programmed into the CAST Extension Downloader (as shown above). A tick in the check box next to the remote download server indicates that the server is being used (you can tick multiple remote download servers if necessary).
If you need to use an alternative remote serverCAST Extend server (such as CAST Extend Offline), then you can use this option to add it:. Click New to add a new blank server - a new line will appear:
Select the blank server, and then enter the details for the new remote download server in the Name and Address fields:
The new server will be displayed in the list and will be ticked to indicate that it will be contacted.
Deleting an existing remote download server
- Select the server and click the Delete button to remove it:
Note that :
you will require an account on the remote server to authenticate when using CAST ExtendV2 (https://extend.castsoftware
You can find out about registering for an account in CAST Extend website.
When an extension is selected in the display list, information about the extension is shown as in the example above:
This option is used to specify either the remote server you want to connect to or a folder on disk which contains a .nupkg file.
For example https://extend.castsoftware.com:443/V2/api/v2.
When connecting to a server that requires authentication (for example /V2
Use this option to produce a list of the extensions as follows:
Use this option to specify an extension that you want to download on to your machine. Note that you may also need to specify the --username and --password options if the remote server requires authentication
Use this option to specify an extension that you have downloaded to your machine and that you now want to remove from your machine:
ExtensionDownloader.exe --server https://extend.castsoftware.com:443/V2/api/v2 list upgradable
Download the most recent version of a specific extension on a specific remote server with authentication:
ExtensionDownloader.exe --server https://extend.castsoftware.com:443/V2/api/v2 --username JHU --password xxxxxx install com.castsoftware.test
ExtensionDownloader.exe --server https://extend.castsoftware.com:443/V2/api/v2 --username JHU --password xxxxxx install com.castsoftware.test --version 1.2.0-funcrel
ExtensionDownloader.exe --server https://extend.castsoftware.com:443/V2/api/v2 --username JHU --password xxxxxx install com.castsoftware.test --version 1.2.0-funcrel --ignore-dependencies
ExtensionDownloader.exe --server D:\USER_DATA\Downloads install com.castsoftware.test
CAST Extension Downloader local cache
The CAST Extension Downloader automatically creates a local cache of downloaded extensions in the following location on the local hard drive:
As a result, if you attempt to use the CAST Extension Downloader without credentials (in CLI mode), or with incorrect credentials (CLI or GUI mode) and the requested extension has already been downloaded and is present in the cache, the extension will be copied from the local cache to the extension download location (%PROGRAMDATA%\CAST\CAST\Extensions).