Learn how to install DataDear in larger setups having a terminal server or virtualised environment.
This article is primarily targeted to the IT administrators who need to install DataDear on more complex servers. For a normal installation of a computer or laptop, visit the DataDear installation guide.
This article covers the following:
- Command Line Utility Setup (Suitable for multi-user environment)
- Advanced Setup File (Not suitable for multi-user environment)
These settings are also useful for virtualised environments such a citrix and terminal services.
Every time Excel is opened, DataDear checks if there is a new version (via the DataDear Loader add-in) and the auto-update kicks in automatically. Auto-updates will not work in a multi-user environment (refer to the multi-user setup recommended below). It will also fail if the folder where DataDear is installed does not have necessary
r/w access (typically this is located in
%AppData%\Scope SaaS\ unless you use the advanced setup file which allows you to change the installation path).
The application uses normal internet ports including
port 80 and
Command Line Utility Setup (Suitable for multi-user environment)
The command line utility is designed to be installed on servers which give access to multiple users.
Note: the DataDear Loader (which checks and downloads new DataDear versions) will not be installed as part of this installation.
The steps to follow are:
Download the setup file from this link directly on the server.
Extract the zip file and open the file
dd_config.ini. You will need to modify this file to point to the installation directory on the server. All other files are required libraries and need to be present in the same folder of the main executable file.
Run the update file by running ‘
DataDearUpdater.exe’ on the server. This will create all necessary registry entries, download the latest update and extract it in the directory you chose. You can follow progress of the installation in the command console. In a multi-user environment, the best option would be to have each installation separate. If this is not possible, a common folder for multiple users can be used.
It is recommended to schedule this application to run on a daily basis (such as by creating a windows schedule) so the users will always work on the latest version of DataDear. If scheduling is not an option, this can also be run periodically when a new version of DataDear has been released. Variables cannot be used in the updater as this will only update DataDear core files and not user files. User files are saved in the user’s roaming directory and registry files.
For each client / terminal that needs to use DataDear in Excel, a registry entry has to be created. Depending on how DataDear was installed, these entries might need to be created manually after the installation. Download this registry file and change the
DataDear.Loaderto point to the DataDear installation directory on the client.
The contents of this registry file are the following:
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Microsoft\Office\Excel\Addins] [HKEY_CURRENT_USER\Software\Microsoft\Office\Excel\Addins\DataDear.ExcelAddIn] "InstallPath"="C:\\DataDear\\" "Description"="DataDear Excel Add-In" "FriendlyName"="DataDear" "LoadBehavior"=dword:00000003 "Manifest"="file:\\\\\\C:\\DataDear\\DataDear Excel add-in.vsto|vstolocal" [HKEY_CURRENT_USER\Software\Microsoft\Office\Excel\Addins\DataDear.Loader] "LoadBehavior"=dword:00000000 "Description"="DataDear Excel Add-In Loader" "FriendlyName"="DataDearLoader" "Manifest"="file:\\\\\\C:\\DataDear\\DataDear Loader.vsto|vstolocal"
Since this is a command line installation, you will not be able to uninstall DataDear from the Windows Control Panel. You will need to remove manually the folder set in the config file and remove the two registry folders described below:
To enable the DataDear proxy, this can be done manually as follows:
Open the file
DataDearUpdater.exe.configin the utility files.
Add the following proxy lines inside the
<system.net> <defaultProxy> <proxy usesystemdefault="true" /> </defaultProxy> </system.net>
For more information you may refer to these articles:
Advanced Setup File (Not suitable for multi-user environment)
The normal DataDear setup file will not allow you to configure any parameters during the installation - you may also use the advanced setup file for single installations from this link . This advanced setup file gives you the option of choosing the installation path of the application.
This is not suitable for multi-user environments due to the automatic updating of DataDear.
The advanced setup file allows you to choose the installation directory. The default folder (and the one we suggest) is the AppData because the add-in auto-updates without the need for any user intervention. The DataDear usage log files will still be saved in the user’s directory (
%AppData%\Scope SaaS\DataDear\logs) so this folder needs to allow the application to save some settings.
The following rules need to be in place to ensure a smooth usage of DataDear.
Installation Directory needs to allow the application to have
r/w accessto its path and the logs.
Ensure that the following urls are whitelisted on your firewall:
https://api.datadear.com/info/downloadLatestDD (a zip file needs to be downloaded from this location)
- This process needs to
dllsso kindly ensure this can be done on the server.