Tag Archives: Silent Installer

Mac – Installing Spartan ’18 from JAMF

To install Spartan ’18 with a network license server correctly as a push from Jamf:

1) First create a package that installs the Spartan ’18 application to the /Applications folder and push that from Jamf
2) Create a script (example below) that calls the licensing script in that application
3) Create a policy to push the packaged application and then run the script

#!/bin/sh
cd /Applications/Spartan\ 18.app/Contents/Resources/Support
pwd
echo “running ./cliinstall.sh –network-server=lm3.williams.edu”
./cliinstall.sh –network-server=lm3.williams.edu

(You will want to change the network-server address to the correct address for you installation)

Software – JMP 10 – Silent Installer

To create a silent installer for JMP …

First run setup.exe to collect the responses in a response file.  This will not actually install the software.

setup.exe -r -f1{response file name}

Then, to actually install with those responses from a script,  run the setup.exe file again giving it the named response file:

setup.exe -s -f1{response file name}

Note:  There is no space between the “F1” and the file name.

For more details see the web page at:

http://www.jmp.com/support/notes/8/135.html

Software – Finale Silent Install on windows

To install Finale silently use …
FinWinSetup.exe /S

Also – it appears that copying in a “keyed” (keyServer environment) executable also “authorizes” the application on Windows without having to enter the authorization code. Therefore, to deploy this I need a batch script which executes the installer silently and then copies in the keyed copy.

For a partial reference see:


http://makemusic.custhelp.com/app/answers/detail/a_id/945/

Software – Keyserver Client Silent Install

To build an installer for the Sassafras Software’s K2 – Keyserver Key Audit client use the client customization application they provide.  This is found in the
“client – misc”  folder of their computer installer archive that can be reached by logging into their Support and Downloads web page.

Their documentation…

http://www.sassafras.com/hrl/7.0/k2clientconfigW.html

I put the client installers and the k2clientconfig application in the same folder and the ran this command:

k2clientconfig.exe -s 3 -c no -b no -h keyserver.williams.edu k2Client-x64.exe

The output was:

Changing PROP_SILENCE
Changing PROP_HOSTNAME from ‘keyserver’ to ‘keyserver.williams.edu’
Changing PROP_KEYCHECKOUT from ‘2’ to ‘0’
Changing REBOOT from ‘Force’ to ‘Suppress’
Digital signature has been removed from k2Client-x64.exe

 

Software – Mathematica 8

Basic instructions for building a silent installer for Mathematica 8 can be found at:
http://reference.wolfram.com/mathematica/tutorial/InstallingMathematica.html

We use a network wide license server to license this application. To create the license file “mathpass” on windows – install the application and then copy the license file from c:\programdata\mathematic\licensing\mathpass
This file seems to also be valid in c:\progam files (x86)\\Wolfram Research\Mathematica\8.0\Configuration\Licensing

So I have created a script that installs mathematica silently and then copies this “mathpass” file into place …

@echo off

break=off

set install_dir=%~dp0

rem Tell the user what you are doing
echo ———–
echo This program installs a copy of the Williams College licensed
echo Mathematica 8.
echo ———–
echo Currently installing from %install_dir% …
echo ———–

REM Detect correct Program Files folder. Note this batch file may run in 32-bit env (SysWOW64/cmd.exe)
REM So %ProgramFiles% might be Program Files (x86), but we always want to check the regular Program Files.
set K64=no
if “%ProgramFiles(x86)%” == “” goto on32Bit
set K64=yes
echo Detected 64-bit OS …
echo ———–

:on32Bit
REM Set inprogramfiles to either 32-bit or 64-bit stucture

SET inProgramFiles=%ProgramFiles(x86)%
IF NOT EXIST “%inProgramFiles%” SET inProgramFiles=%ProgramFiles%
echo Program files directory set to: %inProgramFiles%
echo ———–

rem run the silent installer
echo Installing application …
echo ———–
“%install_dir%payload\Mathematica_8.0.1_WIN.EXE” /silent /norestart

rem copy in the license file
echo ———–
xcopy /Y /Q /R “%install_dir%payload\mathpass” “%inProgramFiles%\Wolfram Research\Mathematica\8.0\Configuration\Licensing”
If %errorlevel%==0 goto no_error

:error
rem do something if there was an error
echo ———–
echo The Williams College licensed version of this software did not install correctly.
echo Please be sure you ran this installer as an administrator. On Vista and Windows 7
echo you need to right-click on the installer and select “Run as Administrator”.
echo Please contact OIT for additonal help with this install.
echo ———–
pause
exit

rem there was no error in the install AND the filter copy and there was no break
:no_error
echo ———–
echo The installation is complete.
echo ———–

:end
pause
rd /S /Q “%install_dir%payload”
del /Q “%install_dir%instal*”
exit