Windows

SecuriSync can be deployed in an organization using a startup script of AD group policy. Users can also install desktop application themselves if they have administrative privileges.

Test this procedure on a small subset of computers before implementing it for the entire domain. To do this you can leave only test computer accounts in security filtering of the group policy or apply the group policy to the organizational unit that contains only test computers.

Workflow

  1. Create a group policy for SecuriSync installation.
  2. Download the following files and place them in Scripts folder of this group policy, or in another shared folder that will be accessible to computer account of your domain:
    1. .NET 4 setup redistributable from Microsoft http://www.microsoft.com/en-us/download/details.aspx?id=17718
    2. SecuriSync windows app setup from SecuriSync web app
  3. Place the installation script into the Scripts folder of the group policy.
  4. Update the script so that paths to .NET installer and SecuriSyncSetup.exe are correct and accessible.
  5. Add this installation script to the group policy in Computer Configuration\Policies\Windows Settings\Scripts\startup.

Installation script

BAT script for SecuriSync installation performs the following actions:

  1. Check that .NET 4 is installed. If not, install it from a network share.
  2. Check that SecuriSync is installed. If not, install it from a network share.

@echo off

reg query "HKLM\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Client2" > NUL 2> NUL
IF %ERRORLEVEL% == 0 GOTO APP_CHECK_INSTALLATION
echo "Installing .NET Framework 4"

\\server\path_to_setup\dotNetFx40_Full_x86_x64.exe /q


:APP_CHECK_INSTALLATION
IF EXIST "%ProgramFiles%\SecuriSync" GOTO APP_ALREADY_INSTALLED
echo Installing SecuriSync

\\server\path_to_setup\SecuriSyncSetup.exe /quiet /L*V "%temp%\SecuriSyncInstallLog.txt"

GOTO END 
:APP_ALREADY_INSTALLED
echo SecuriSync is already installed.
:END

SecuriSync setup parameters:

  • /quiet - no UI will be displayed
  • /L*V "%temp%\SecuriSyncInstallLog.txt" - the log will be written to a temp folder. If the script is run under System account, that folder would be C:\Windows\temp

Setup will also create messages in the Windows Event Log upon successful or failed installation.

Mac OS X

SecuriSync can be installed on Mac OS X from the command line. There is a sample installation script below. You may need to modify the paths inside.

InstallSecuriSync.sh:

#!/bin/sh
if [ -d "/Applications/SecuriSync.app" ]; then
    echo Application already installed
else
    echo Installing application
    /usr/sbin/installer -pkg /path_to_setup/SecuriSync.pkg -target /
fi

It should be run with sudo:

sudo InstallSecuriSync.sh