Windows

UNIVERGE BLUE™ SHARE 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 UNIVERGE BLUE™ SHARE 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. UNIVERGE BLUE™ SHARE windows app setup from UNIVERGE BLUE™ SHARE 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 UNIVERGE BLUE™ SHARESetup.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 UNIVERGE BLUE™ SHARE installation performs the following actions:

  1. Check that .NET 4 is installed. If not, install it from a network share.
  2. Check that UNIVERGE BLUE™ SHARE 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%\UNIVERGE BLUE™ SHARE" GOTO APP_ALREADY_INSTALLED
echo Installing UNIVERGE BLUE™ SHARE

\\server\path_to_setup\UNIVERGE BLUE™ SHARESetup.exe /quiet /L*V "%temp%\UNIVERGE BLUE™ SHAREInstallLog.txt"

GOTO END 
:APP_ALREADY_INSTALLED
echo UNIVERGE BLUE™ SHARE is already installed.
:END

UNIVERGE BLUE™ SHARE setup parameters:

  • /quiet - no UI will be displayed
  • /L*V "%temp%\UNIVERGE BLUE™ SHAREInstallLog.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

UNIVERGE BLUE™ SHARE 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.

InstallUNIVERGE BLUE™ SHARE.sh:

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

It should be run with sudo:

sudo InstallUNIVERGE BLUE™ SHARE.sh