Installer modifications for sepiola version 2.4
Contents |
Overview
This page describes the installer modifications for the sepiola version 2.4. The goal of this modifications is to be able to use Cygwin based rsync and ssh.
Requirements
The following executables and DLLs are required:
- rsync version 3.1.2-1
- ssh version 7.3p1-2
- Required DLLs
How to get Cygwin based tools and DLLs
Run the Cygwin installer (choose direct connection) and choose an available download site (e.g. http://cygwin.mirror.constant.com). Select the packages rsync and ssh. To do this, type rsync (or openssh) into the search box and select the rsync (or openssh) package inside the Net Category. Type Next and finish the installation.
Note: For 64 bit use the Cygwin setup-x86_84 instead of the Cygwin setup-x86
After this installation, the necessary (and many more) tools and DLLs are located in C:\cygwin\bin
. The next step is to determine which DLLs are needed ( Determine which DLLs are needed ) .
Determine which DLLs are needed
Use the command x86_64-w64-mingw32-objdump -x rsync.exe | grep "DLL Name"
to determine the most important DLLs which are needed.
Note: Some required DLLs are not listed in the output of that command.
Required DLLs (determined by try-and-error)
On a 32 bit Windows, this 32 bit DLLs are required:
- cygcom_err-2.dll
- cygcrypto-1.0.0.dll
- cyggcc_s-1.dll
- cyggssapi_krb5-2.dll
- cygiconv-2.dll
- cygintl-8.dll
- cygk5crypto-3.dll
- cygkrb5-3.dll
- cygkrb5support-0.dll
- cygpopt-0.dll
- cygssp-0.dll
- cygwin1.dll
- cygz.dll
On a 64 bit Windows, this 64 bit DLLs are required:
- cygcom_err-2.dll
- cygcrypto-1.0.0.dll
- cyggcc_s-seh-1.dll
- cygiconv-2.dll
- cygintl-8.dll
- cygk5crypto-3.dll
- cygkrb5-3.dll
- cygkrb5support-0.dll
- cygpopt-0.dll
- cygssp-0.dll
- cygwin1.dll
- cygz.dll
Install (manually, for testing)
Step 1
The goal is to simple copy rsync.exe and ssh.exe from the installer to the sepiola bin directory:C:\Program Files\sepiola\bin
To run this tools, there are some DLLs required (Required DLLs). Also copy this DLLs to the sepiola bin directory.
Step 2
For configuration purposes, such as the management of the known hosts, ssh.exe needs a directory (.ssh) which is located inside the users home. Therefore, the installer has to create this directory and copy the following (empty) files to it.
- config
- known_hosts
C:\Users\USERNAME\.ssh
Deployment integration
Place the required/updated DLLs in the respective tools/windows-$ARCH
of a Sepiola checkout and commit them.
Uninstall
The sepiola uninstaller should not delete the users .ssh
(usally: C:\Users\<USERNAME\.SSH
) folder. This because it is possible that other applications needs this folder.