Skip to content

Package installer types

dtgm edited this page Mar 15, 2016 · 6 revisions

Package installer types

$silentArgs Installer Packages
/quiet /qn /norestart MSI 32
/S NSIS 142
/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- Inno Setup 79
/s InstallShield
/s /v"/qn" InstallShield with MSI 2
/s /f1"$issPath" InstallShield, requires uninstall.iss file
/s /a /s /sms /f1"$issPath" InstallShield`s PackagefortheWeb (PFTW), requires uninstall.iss file
$issPath = $true if using $issPath in silentArgs
/s Wise InstallMaster
-q Install4j 3
-s -u Ghost
IzPack, requires *.xml 1
jar
runnable
zip; runnable
zip; installer
7z; runnable
7z; installer
rar; runnable
rar; installer
AutoHotKey (AHK) 49

Note that some installers, in addition to the silentArgs above, may also need assistance of an input macro script like AHK to achieve silence.

Pkg Helper
466 Install-ChocolateyZipPackage
298 Install-ChocolateyPackage
55 Get-ChocolateyWebFile
28 Get-CheckSumValid
26 Get-ProcessorBits
25 Get-ChocolateyUnzip
15 Install-ChocolateyPath
15 Install-ChocolateyInstallPackage
10 Start-ChocolateyProcessAsAdmin
6 Write-ChocolateySuccess
6 Write-ChocolateyFailure
3 Get-FileName
2 Install-ChocolateyDesktopLink
2 Install-BinFile

https://github.com/dtgm/chocolatey-packages/blob/master/automatic/template-all/tools/chocolateyUninstall.ps1#L82-L98

$silentArgs = '/quiet /qn /norestart'  # MSI
$silentArgs = '/S'               # NSIS
$silentArgs = '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' # Inno Setup
$silentArgs = '/s'               # InstallShield
$silentArgs = '/s /v"/qn"'       # InstallShield with MSI
$silentArgs = '/s /f1"$issPath"' # InstallShield, requires uninstall.iss file
$silentArgs = '/s /a /s /sms /f1"$issPath"' # InstallShield's PackagefortheWeb (PFTW), requires uninstall.iss file
$issPath = $true # if using $issPath in silentArgs
$silentArgs = '/s'               # Wise InstallMaster
$silentArgs = '-q'               # Install4j
$silentArgs = '-s -u'            # Ghost
$silentArgs = ''                 # IzPack, requires *.xml files
 Note that some installers, in addition to the silentArgs above, may also need assistance of AHK to achieve silence.
$silentArgs = ''                 # none; make silent with input macro script like AutoHotKey (AHK)

MSI

/quiet /qn /norestart

$ grep -P '(?<=\$silentArgs = )./quiet /qn' */tools/chocolatey[iI]nstall.ps1 | grep -v 'template' | wc -l
32
$ grep -P '(?<=\$silentArgs = )./quiet /qn' */tools/chocolatey[iI]nstall.ps1 | grep -v 'template' | cut -d'/' -f1
adblockplusie
bluej
bluej-bundled
commitmonitor.install
cryptsync
duplicati.install
encryptr
goodsync
gtksharp
gurtle
komodo-edit
krita
mariadb
meld
monodevelop
npackd.install
npackd-cli.install
nunit.install
opcion.new
pan
pydio-sync.new
scite
tor
tortoisegit
tortoisehg
tortoisesvn
trillian
twisted
ultravnc
urbackup-client.new
usagestats
zimbra-desktop

NSIS

/S

$ grep -P '(?<=\$silentArgs = )\047/S\047' */tools/chocolatey[iI]nstall.ps1 | grep -v 'template' | wc -l
142
$ grep -P '(?<=\$silentArgs = )\047/S\047' */tools/chocolatey[iI]nstall.ps1 | grep -v 'template' | cut -d'/' -f1
0ad
360ts.handover
acestream
ad-awarefreeantivirus.handover
adh.new
advancedsystemtweaker
amule.install
andy
anomos
arduino
ares
armory
bacula
belvedere
bitcoin.install
bitcoinxt.install
bitmeteros
bluescreenview.install
bulletspassview.install
cdex
claws-mail
cmake.install
create-synchronicity.install
cyberduck.install
darkcoin.install.new
deluge
digikam
dogecoin.install
downtester.install
dreampie
duplicatecleaner
easytag
ekiga
electrum.install
emulationstation.install
emule
fah
fastresolver.install
feathercoin
findthatfont
fontmatrix
freearc.install
frhed.install
frostwire.new
gajim
gamedownloader.install
gcstar
geany
geany-nogtk
glasswire
gpg4win
gpg4win-light
gpg4win-vanilla
gramps
gsmartcontrol
gtk-runtime
handbrake.install
hddguardian
hmne
icecast
iconsext.install
iepv.install
ipnetinfo.install
italc
jstock
kicad
kodi
lili.install
linkshellextension
litecoin
littleregistrycleaner.handover
lmms
love.install
lyx
mailpv.install
mediainfo
mremoteng
mspass.install
multibit
mvc
mweather.install
netpass.install
ninja-ide
nk2edit.install
nsis.install
ofview.install
opencodecs
openra
openstego.install
orwelldevcpp
pandabank.install
passwordscan.install
peercoin
peerunity.install
popcorntime
primecoin
privoxy
produkey.install
psi.install
pstpassword.install
qtox.new
regscanner.install
retroshare
riecoin
rssowl
sabnzbd
sagethumbs
sandboxie.install
seqdownload.install
serviwin.install
shexview.install
smartmontools
smsniff.install
sniffpass.install
speedfan
sqlitebrowser
stunnel
subtitleworkshop.install
subtitleworkshop.portable
svgcleaner
sylpheed
sysexp.install
tinycad
ums
urbackup-server.new
veracrypt
videocacheview.install
volumouse.install
webbrowserpassview.install
webvideocap.install
whoistd.install
windjview
windowsrepair
winedt
winrar
wirelessnetview.install
wnetwatcher.install
wul.install
xiphqt
yacy
zbar
zona

Inno Setup

/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-

$ grep -liP '(?<=\$silentArgs = ).*VERYSILENT' */tools/chocolatey[iI]nstall.ps1 | grep -v 'template' | wc -l
79
$ grep -liP '(?<=\$silentArgs = ).*VERYSILENT' */tools/chocolatey[iI]nstall.ps1 | grep -v 'template' | cut -d'/' -f1
0install.install
advancedsystemcare
advancedsystemcare-ultimate
aida64-engineer
aida64-extreme
atraci
blink
bonjour-sdk.new
bulkrenameutility.install
cccp
celestia
clamwin
colormania
crystaldiskmark
diffuse
dispcalgui.install
drivergenius
dropit.install
dumo
duplicatefilefinder
eventghost
eviacam
filealyzer
firefox-beta
firefox-dev
firefox-nightly
fontforge
freenet
freeplane
freesshd
gdevelop
genymotion
imageglass
kcleaner
keepass.install
kodos
librecrypt
linphone.new
luckybackup
manictime.install.new
manictime.new
mc
msigna
mtn
multipar.install
namecoin
nexusfile.install
nexusfont.install
padgen
padmanager
partitionwizard
peazip.install
peerblock
processhacker.install
pwgen.install
quiterss
regexcoach
scilab
shareaza
smartmontools-win.old
softwareinformer
sonarr
speex
spybot
stellarium
sumo
syncany
systemninja.install
telegram.install
texniccenter
tox.new
ultraiso
uniextract.install
vboxvmservice
win32diskimager.install
winscp.install
xnview-plugins.new
xshredder.new
zope.interface.new

InstallShield

/s

InstallShield with MSI

/s /v"/qn"

$ grep -P '(?<=\$silentArgs = )./S /v' */tools/chocolatey[iI]nstall.ps1 | grep -v 'template' | wc -l
2
$ grep -P '(?<=\$silentArgs = )./S /v' */tools/chocolatey[iI]nstall.ps1 | grep -v 'template' | cut -d'/' -f1
boinc
windows-tweaker.install

InstallShield, requires uninstall.iss file

/s /f1"$issPath"

InstallShield's PackagefortheWeb (PFTW)

/s /a /s /sms /f1"$issPath"

Wise InstallMaster

/s

Install4j

-q

$ grep -P '(?<=\$silentArgs = )\047-q\047' */tools/chocolatey[iI]nstall.ps1 | grep -v 'template' | wc -l
3
$ grep -P '(?<=\$silentArgs = )\047-q\047' */tools/chocolatey[iI]nstall.ps1 | grep -v 'template' | cut -d'/' -f1
install4j.install
multibit-hd
spark

Ghost

-s -u

IzPack

  • datacrow

AutoHotKey

Total AHK scripts (install && uninstall)

$ ls -1 */tools/*.ahk | cut -d'/' -f1 | grep -v 'template' | wc -l
65
$ ls -1 */tools/*.ahk | cut -d'/' -f1 | grep -v 'template'
0install.install
activetcl
activetcl
adobeshockwaveplayer
adwcleaner
andy
anomos
anomos
arduino
arduino
avgantivirusfree
avginternetsecurity
bacula
belvedere
bitmeteros
cdex
dropit.install
emulationstation.install
fah
findthatfont
fontforge
fontmatrix
freearc.install
frostwire.new
gcstar
gdiplus.new
git-annex
github
github
i2p
i2p
irfanview
izpack
jstock
librecrypt
mtn
newsbin
newsbin
ninja-ide
qttabbar
qttabbar
qttabbar
qttabbar
robocode.work
robocode-copy.work
softwareinformer
soluto
soluto
sonarr
sonarr
speedfan
speex
sumo
superantispyware
superantispyware
superorca
superorca
swftools
swftools
tinycad
tinycad
totalcommander
veracrypt
veracrypt
zona

Packages containing at least one AHK script (install || uninstall)

$ ls -1 */tools/*.ahk | cut -d'/' -f1 | grep -v 'template' | sort -u | wc -l
49
$ ls -1 */tools/*.ahk | cut -d'/' -f1 | grep -v 'template' | sort -u
0install.install
activetcl
adobeshockwaveplayer
adwcleaner
andy
anomos
arduino
avgantivirusfree
avginternetsecurity
bacula
belvedere
bitmeteros
cdex
dropit.install
emulationstation.install
fah
findthatfont
fontforge
fontmatrix
freearc.install
frostwire.new
gcstar
gdiplus.new
git-annex
github
i2p
irfanview
izpack
jstock
librecrypt
mtn
newsbin
ninja-ide
qttabbar
robocode.work
robocode-copy.work
softwareinformer
soluto
sonarr
speedfan
speex
sumo
superantispyware
superorca
swftools
tinycad
totalcommander
veracrypt
zona

Reference: https://github.com/dtgm/chocolatey-packages/tree/master/automatic#install-frameworks