Windows Silent Install

=Silent Installer Oneliners=

General unnattend installer strings http://unattended.sourceforge.net/installers.php

http://www.adobe.com/devnet/creativesuite/enterprisedeployment.html Adobe's bits and bobs

OpenBugs
OpenBugs silent install, source http://www.openbugs.info/w/Downloads

Uses Inno installer, see here for general switch options http://www.appdeploy.com/tips/detail.asp?id=113

start /wait OpenBUGS321setup.exe /verysilent /norestart /log="%TEMP%\openbugs.txt"

Remotely in one go (log file will go where the .exe is ran from)

copy /y OpenBUGS321setup.exe \\xxx.xxx.xxx.xxx\c$\ & psexec \\xxx.xxx.xxx.xxx cmd /c c:\OpenBUGS321setup.exe /verysilent /norestart /log="openbugs.txt"

Inno Setup command line options

InstallShield
See http://helpnet.flexerasoftware.com/installshield19helplib/helplibrary/IHelpSetup_EXECmdLine.htm

Brava Viewer FREE DWG
FreeDWGViewer.exe /extract_all:c:\temp\Brava setup /r /f1"c:\temp\Brava\setup.iss" c:\temp\Brava\setup.exe /s c:\temp\Brava\setup.iss
 * 1) Extract installshield
 * 1) create silent/auto answer file by installing on a VM
 * 1) install like this

mkdir \\xxx.xxx.xx.xx\c$\temp\Brava cp c:\temp\Brava\* \\xxx.xxx.xx.xx\c$\temp\Brava psexec \\xxx.xxx.xx.xx cmd /c c:\temp\Brava\setup.exe /s c:\temp\Brava\setup.iss

XLSTAT
After creating the answer file to use it you need to unusually add /f1 to run silent else you get errorcode -5 (file not found) "c:\temp\setup.exe" /s /f1"c:\temp\setup.iss"

Turning point 2008
4.3.2.1178.exe /S /V"/QN ALLUSERS=1"

Adobe Trueview
Silent Install

\Autodesk\DWGTrueViewx64InstallImage\

setup.exe /w /q

or

setup.exe /w /q /i someotherini.ini

Second Life
Silent install

Second_Life_3-3-3-260300_Setup /S

MindManager v11
(You can also use ISX_SERIALNUM instead of LICENSEKEY)

Mindjet_11.0.276_EN.exe /S /v"/qn LICENSEKEY=MP11-MM1-xxxx-xxxx-xxxx /l*v c:\log.txt"

Sentinel-1 Toolbox / ESA S-1 Toolbox
Sielnt install

S1TBX_1.0.3_win64_installer.exe -q -overwrite

CES EduPack 2015 Aerospace (dotnetinstaller)
Extract the downloaded single large .exe (zip self extractor) somewhere

If you have a 15 character code (xxxxxxxxxxxxxxx) instead of license.dat then;

You should be able to then simply run this, but it doesn't work as /CompleteCommandArgs is broken.

setup.exe /CompleteCommandArgs "PIDKEY=xxxxxxxxxxxxxxx /q"

So you can either install the prerequisite crap (.net etc) first yourself then this for just the program msiexec /i package\EduPack.msi PIDKEY=xxxxxxxxxxxxxxx /q

or more easily, open the EduPack.msi with Instead and add into the 'Property' table a key of PIDKEY and a value or xxxxxxxxxxxxxxx, then save it. Then when you run setup it will have the key built in, i.e. just run setup.exe /q and it will install any needed prerequisites too! Sorted.

PolSARPro
This comes packed with various things that all install silently (when done yourself!), the problem is the actual PolSARpro_v5.0 inside which uses Setup2Go and doesn't seem to have a silent method. (Get around this by copying the installed Program Files folder it makes to target and making some shortcuts)

Probably easier to just paste my install sequence....(extract the downloaded bundle and you should end up with a PSP_SW folder.)

start /wait "" "%~dp0PSP_SW\ActiveTcl8.4.13.0.261555.exe" --directory c:\Tcl start /wait "" "%~dp0PSP_SW\ASF_MapReady_3.1.22_Install.exe" /S start /wait "" "%~dp0PSP_SW\NEST-4C-1.1-Install_Win64.exe" --mode unattended start /wait "" "%~dp0PSP_SW\gimp-2.8.10_Install.exe" /verysilent start /wait "" "%~dp0PSP_SW\ImageMagick-6.8.8-7-Q16-Install_Win64.exe" /verysilent xcopy /e /y "%~dp0PolSARpro_v5.0" "C:\Program Files (x86)\PolSARpro_v5.0\" "%~dp0Shortcut.exe" /F:"%ALLUSERSPROFILE%\Start Menu\Programs\PolSARpro v5.0.lnk" /A:C /T:"C:\Program Files (x86)\PolSARpro_v5.0\PolSARpro_v5.0.tcl" /W:"C:\Program Files (x86)\PolSARpro_v5.0" /I:"C:\Program Files (x86)\PolSARpro_v5.0\tmp\PolSARpro.ico" "%~dp0Shortcut.exe" /F:"%PUBLIC%\Desktop\PolSARpro v5.0.lnk" /A:C /T:"C:\Program Files (x86)\PolSARpro_v5.0\PolSARpro_v5.0.tcl" /W:"C:\Program Files (x86)\PolSARpro_v5.0" /I:"C:\Program Files (x86)\PolSARpro_v5.0\tmp\PolSARpro.ico"

...When faced with crap like this it makes me glad I don't use Windows. The joys of a a proper package management system :)

IRIS JWeed
This uses Flexera InstallAnywhere and should install silently by suffixing "-i silent", or by running/recording with install.exe -r c:\install.prop, then running with answer file created, install.exe -f c:\install.prop -i silent. See here http://helpnet.flexerasoftware.com/installanywhere2012/Content/helplibrary/ia_ref_command_line_install_uninstall.htm

However in the builder you can turn it off, which is f***ing annoying. The only way I got round it was downloading the trial of InstallAnywhere and rebuilding it, as it fortunately has enough bits included to let it rebuild.

Download the program, http://ds.iris.edu/pub/programs/install_anywhere/JWEED-current/Default_Configuration/Web_Installers/InstData/Windows/NoVM/install.exe and extract somewhere , say "c:\extracted"

extract "c:\extracted\InstallerData\Disk1\InstData\Resource1.zip" to say "c:\Resource1\", so you have a structure like "c:\Resource1\workspace"

extract "InstallScript.iap_xml" from "c:\extracted\InstallerData\Execute.zip" to "c:\Resource1\InstallScript.iap_xml"

Install it and then copy ;

Program Files (x86)\JWEEDv4.1r3\images\* to C:\Resource1\workspace\test\JWEED-4.1\images

Program Files (x86)\JWEEDv4.1r3\map\* to C:\Resource1\workspace\test\JWEED-4.1\map

Program Files (x86)\JWEEDv4.1r3\icons\* to C:\Resource1\workspace\test\JWEED-4.1\icons

Edit a few things in c:\Resource1\InstallScript.iap_xml to enable silent and fixup paths and fixup all users shortcuts.

Open "c:\Resource1\InstallScript.iap_xml" in InstallAnywhere - should now be correct.

Probably also need to do

Top menu, 'Build' > 'Build Tagerts' deselect everything except Windows. (go into each one and 'Delete')

In windows one, probably untick 'with VM'

Build Selected, should take about 15 seconds and say it built with errors.

Should now have "C:\Resource1\InstallScript_Build_Output\Default_Configuration\Web_Installers\InstData\Windows\NoVM\install.exe"

JWeed should then now install silently with "install.exe -i silent"

=ESA Snap 2=

Uses install4j installer

Install as normal and an answer file should be generated in \.install4j\response.varfile

createDesktopLinkAction$Boolean=true deleteAllSnapEngineDir$Boolean=true deleteOnlySnapDesktopDir$Boolean=true executeLauncherAction$Boolean=true extendPathEnvVar$Boolean=true forcePython$Boolean=false sys.adminRights$Boolean=true sys.component.1963$Boolean=true sys.component.RSTB$Boolean=true sys.component.S1TBX$Boolean=true sys.component.S2TBX$Boolean=true sys.component.S3TBX$Boolean=true sys.component.SNAP$Boolean=true sys.fileAssociation.extensions$StringArray="snap","dim" sys.fileAssociation.launchers$StringArray="656","656" sys.installationDir=C\:\\Program Files\\snap sys.languageId=en sys.programGroupAllUsers$Boolean=true sys.programGroupDisabled$Boolean=false sys.programGroupName=ESA SNAP
 * 1) install4j response file for ESA SNAP 2.0

This can then be run for a silent install

"%~dp0esa-snap_windows-x64_2_0.exe" -q -varfile "%~dp0response.varfile" -overwrite

=Innosetup LiCor LI7500A=

This contained two [Run] programs that didn't have silent install options set so despite the main package working silently, these halted it.

What actually needs adding is just Parameters: "/verysilent"; to both [Run] sections of their compiled in .iss as they are missing.

Extract the original with inno extractor

Download and install JRSoftware Inno Setup

Modify the extracted install_script.iss as per below

(inno extractor recreates it rather than actually extracts original so some things need fixing, which is mostly commenting out and a few additions, possibly as newer version of inno setup)

You can then install the output from inno setup compile with /verysilent and it will install the two [Run] bits with those options.

=Comments=