165 Commits
v0.1 ... v0.4

Author SHA1 Message Date
Armin Briegel
4d4e22379e Update CHANGELOG.md 2020-10-19 10:21:45 +02:00
Armin Briegel
fc01e2f8de Merge branch 'dev' of https://github.com/scriptingosx/Installomator into dev 2020-10-19 10:06:33 +02:00
Armin Briegel
4283329b25 Merge pull request #78 from Raptor399/prompt-then-kill
Add option to prompt user and finally kill
2020-10-19 10:05:43 +02:00
Armin Briegel
2e207f6982 Update Labels.txt 2020-10-19 09:56:54 +02:00
Armin Briegel
b99d3b50f4 added apparency 2020-10-19 09:42:43 +02:00
Armin Briegel
c669250d8c added amazonworkspaces 2020-10-19 09:41:57 +02:00
Armin Briegel
76a38cdffc fixed 8x8 download 2020-10-19 09:36:48 +02:00
Armin Briegel
c53e49d406 Merge branch 'dialpad' into dev 2020-10-19 09:16:06 +02:00
Armin Briegel
125fadd4f4 added credit 2020-10-19 09:15:52 +02:00
Armin Briegel
53f043ede5 updated CHANGELOG 2020-10-19 09:12:17 +02:00
Armin Briegel
3530130b48 added function to deal with new xpath tool in Big Sur 2020-10-19 09:00:08 +02:00
Eiichi Hosaka
71fe13b311 added dialpad 2020-10-15 09:30:29 +09:00
Patrick Atoon
2c613803b5 Add option to prompt user and finally kill
The `prompt_user` option uses osascript to attempt to quit an app three times,
which can sometimes fail. Added an option `prompt_user_then_kill` to attempt
to quit twice, but kill the process if earlier quit attempts failed.
2020-10-11 11:26:04 +02:00
Armin Briegel
edff222adc updated README 2020-09-22 16:26:59 +02:00
Armin Briegel
4a124f2151 updated Brave downloadURL 2020-09-22 16:26:46 +02:00
Armin Briegel
977e46d33f changed zip de-compression from unzip to ditto 2020-09-21 15:02:45 +02:00
Armin Briegel
5bfeddbecf updated Labels.txt 2020-09-21 14:13:30 +02:00
Armin Briegel
0dd63eae75 added skitch 2020-09-21 14:11:06 +02:00
Armin Briegel
dff5b8c61a changed brave team ID, closes #74 and #76 2020-09-21 14:00:34 +02:00
Armin Briegel
57da0331bf added yubikeymanagerqt, closes #75 2020-09-21 13:27:53 +02:00
Armin Briegel
96c998413f Merge branch 'argument-refactor' into dev 2020-09-21 13:16:39 +02:00
Armin Briegel
933c51e00f added Tunnelblick 2020-09-17 14:41:18 +02:00
Armin Briegel
cd9247360a order of arguments now not relevant 2020-09-17 14:31:36 +02:00
Armin Briegel
a0d93f1799 added valuesfromarguments label so download info can be provided entirely from arguments 2020-08-26 20:05:39 +02:00
Armin Briegel
138301f61e now uses arguments in the form VAR=value to set value 2020-08-26 17:16:44 +02:00
Armin Briegel
901f99459a added credits 2020-08-26 14:01:10 +02:00
Armin Briegel
f653833dc2 Merge pull request #68 from apizz/alfred-add
Add Alfred
2020-08-26 08:17:20 +02:00
Armin Briegel
eb802b9a95 Merge branch 'dev' into alfred-add 2020-08-26 08:17:10 +02:00
Armin Briegel
04a2c74dd8 Merge pull request #67 from apizz/istatmenus-add
Add iStat Menus
2020-08-26 08:16:24 +02:00
Armin Briegel
4d49e51789 Merge branch 'dev' into istatmenus-add 2020-08-26 08:16:13 +02:00
Armin Briegel
2e07291c60 Merge pull request #66 from apizz/sizeup-add
Add SizeUp
2020-08-26 08:14:55 +02:00
AP Orlebeke
5c5dadfe9b Add Alfred and label 2020-08-25 20:18:14 -04:00
AP Orlebeke
bd49d7ca97 Add blocking processes 2020-08-25 20:07:46 -04:00
AP Orlebeke
3d4c1b45c9 Add iStat Menus and label 2020-08-25 20:04:40 -04:00
AP Orlebeke
961816236f Add SizeUp and label 2020-08-25 19:58:58 -04:00
Armin Briegel
be0f0a9cd0 updated Labels.txt. and added credits for new labels 2020-08-25 14:31:24 +02:00
Armin Briegel
22bd79af0e Merge pull request #64 from apizz/virtualbox-add
Add VirtualBox label
2020-08-25 14:11:58 +02:00
Armin Briegel
912a0e0046 Merge branch 'dev' into virtualbox-add 2020-08-25 14:11:44 +02:00
Armin Briegel
5059673fc7 Merge pull request #63 from apizz/detectxswift-add
Add DetectX Swift label
2020-08-25 14:11:05 +02:00
Armin Briegel
8a56d05a8a Merge branch 'dev' into detectxswift-add 2020-08-25 14:10:47 +02:00
Armin Briegel
65d8996118 Merge pull request #62 from apizz/autopkgr-add
Add AutoPkgr label
2020-08-25 14:10:05 +02:00
Armin Briegel
ef27dfde6d Merge branch 'dev' into autopkgr-add 2020-08-25 14:09:56 +02:00
Armin Briegel
e81c8114b4 Merge pull request #61 from apizz/airserver-add
Add AirServer label
2020-08-25 14:09:13 +02:00
Armin Briegel
d84ce01eb5 Merge branch 'dev' into autopkgr-add 2020-08-25 14:08:54 +02:00
Armin Briegel
09d0230256 Merge branch 'dev' into airserver-add 2020-08-25 14:08:14 +02:00
Armin Briegel
c65df61524 Merge pull request #60 from apizz/vscodium-add
Add VSCodium label
2020-08-25 14:07:29 +02:00
Armin Briegel
5dff7ee718 Merge branch 'dev' into vscodium-add 2020-08-25 14:07:18 +02:00
Armin Briegel
555a7631b9 Merge pull request #59 from Raptor399/add-keepassxc
Add label keepassxc
2020-08-25 14:06:31 +02:00
Armin Briegel
9c96b5a764 Merge pull request #58 from Raptor399/end-of-string-matching
Only match GitHub files that end in the filetype
2020-08-25 14:05:46 +02:00
AP Orlebeke
2ddbd2ab1e Add label 2020-08-24 01:08:40 -04:00
AP Orlebeke
ec7e479372 Add label 2020-08-24 01:07:52 -04:00
AP Orlebeke
a32b5fc0a2 Add label 2020-08-24 01:06:42 -04:00
AP Orlebeke
2d1777ca6e Add label 2020-08-24 01:06:11 -04:00
AP Orlebeke
37b36c8c13 Add label 2020-08-24 01:05:28 -04:00
AP Orlebeke
9508357243 Add VirtualBox 2020-08-24 00:47:35 -04:00
AP Orlebeke
c99aabccbb Add DetectX Swift 2020-08-24 00:30:01 -04:00
AP Orlebeke
a4df3399b4 Add AutoPkgr 2020-08-24 00:15:40 -04:00
AP Orlebeke
7438aa403c Fix URL 2020-08-23 23:57:58 -04:00
AP Orlebeke
965cf310e4 Add AirServer 2020-08-23 23:54:53 -04:00
AP Orlebeke
da5f99639a Add VSCodium 2020-08-23 23:39:51 -04:00
Raptor399
65f5c57772 Add label for KeePassXC 2020-08-23 12:17:53 +02:00
Raptor399
42ec528870 Some GitHub repos return multiple files matching the filetype, e.g. "filename.dmg", "filename.dmg.DIGEST", etc. Only return the file that ends in the filetype. 2020-08-23 12:03:36 +02:00
Armin Briegel
7f264733a7 added snagit2020 2020-08-09 16:53:51 +02:00
Armin Briegel
0a96de8449 fixed one printlog to many 2020-07-27 16:16:49 +02:00
Armin Briegel
7d6f4db736 added camtasia 2020-07-27 16:13:56 +02:00
Armin Briegel
adf34cb6f3 updated credit for citrixworkspace 2020-07-24 12:36:16 +02:00
Armin Briegel
8544796b75 re-added citrixworkspace 2020-07-23 14:18:38 +02:00
Armin Briegel
315398b3fc updated version 2020-07-23 13:54:49 +02:00
Armin Briegel
1bc4847402 updated changelog 2020-07-23 13:28:58 +02:00
Armin Briegel
0124a7fed1 notification text updated, closes #41 2020-07-23 13:28:45 +02:00
Armin Briegel
ea2d4d47e5 some more various fixes before 0.3 release 2020-07-23 13:26:27 +02:00
Armin Briegel
56e38de821 Update Labels.txt 2020-07-23 12:43:55 +02:00
Armin Briegel
d191b23a50 Update README.md 2020-07-23 11:27:54 +02:00
Armin Briegel
246ce74f4e updated displaydialog with title, closes #38 2020-07-23 11:17:44 +02:00
Armin Briegel
39d3dfceac updated getAppVersion, closes #39 2020-07-23 11:11:59 +02:00
Armin Briegel
65d0d64127 added egnyte 2020-07-22 17:49:17 +02:00
Armin Briegel
201edabfd0 added 8x8 virtual office 2020-07-22 17:43:39 +02:00
Armin Briegel
8c96d9e263 added R, closes #44 2020-07-22 17:41:53 +02:00
Armin Briegel
54218459a2 added bettertouchtool, closes #43 2020-07-22 17:39:14 +02:00
Armin Briegel
4c7edc2ddd added NoMAD, closes #34 2020-07-22 17:35:04 +02:00
Armin Briegel
5f469e0dc5 cleaned up output when running with no argument 2020-07-22 17:30:12 +02:00
Armin Briegel
eed3681118 added changelog file 2020-07-22 17:28:56 +02:00
Armin Briegel
b4c987317a added krisp and code 42, re-added sonoss2 2020-07-22 17:28:47 +02:00
Armin Briegel
5a605172b1 added aquaskk 2020-07-22 16:44:13 +02:00
Armin Briegel
51baa0636b commented powershell labels because the installers are not notarized 2020-07-22 16:25:49 +02:00
Armin Briegel
9e42ec21f2 updated search pattern to list labels 2020-07-22 16:23:42 +02:00
Armin Briegel
4c23c453b0 added markers and updated adobe adobereader labels 2020-07-22 16:10:58 +02:00
Armin Briegel
9e4b67efed Revert "Merge branch 'dev' of https://github.com/scriptingosx/Installomator into dev"
This reverts commit 44a4c05df6, reversing
changes made to 7e40dc1e36.
2020-07-22 12:57:57 +02:00
Armin Briegel
44a4c05df6 Merge branch 'dev' of https://github.com/scriptingosx/Installomator into dev 2020-07-22 11:47:35 +02:00
Armin Briegel
892f715dbf Merge pull request #47 from Theile/patch-9
Tor Browser label
2020-07-22 11:46:46 +02:00
Armin Briegel
7e40dc1e36 lists all labels when no argument is given. Merges PR #52 2020-07-22 11:41:29 +02:00
Armin Briegel
decc5274f0 updated regex, changed whitespaceing of label case statement to simplify filtering 2020-07-22 11:39:02 +02:00
Armin Briegel
ee91690a0d switched zip expansion from tar to zip so it works in Mojave 2020-07-22 11:13:52 +02:00
Armin Briegel
127866750e added macOS version check 2020-07-14 16:42:40 +02:00
Søren Theilgaard
9e2221f943 Dump the labels, if no label given
Printing out the labels in the case statement if no label is given. (And a few extra lines from case-statements further down the script).
2020-07-09 20:40:51 +02:00
Søren Theilgaard
85dcfc70bd Tor Browser label
With version checking
2020-07-08 23:37:25 +02:00
Armin Briegel
d0fc403323 merged googlechrome and googlechromepkg, added sonoss2 2020-06-24 11:38:46 +02:00
Armin Briegel
ca57ff9de6 added vmwarefusion, fixed SonosS1 and things 2020-06-23 10:04:21 +02:00
Armin Briegel
8b1298a148 changed googlechromepkg downloadURL so it follows google's recommendation 2020-06-10 09:53:38 +02:00
Armin Briegel
3ca4dce814 updated version 2020-06-09 12:37:45 +02:00
Armin Briegel
ba22bb639c Update README.md 2020-06-09 11:51:26 +02:00
Armin Briegel
cd96c31ad3 fixed some typos 2020-06-09 11:51:20 +02:00
Armin Briegel
a7e731d1ed commented citrixworkspace until way to determine URL is found #17 2020-06-09 10:39:13 +02:00
Armin Briegel
0515a1c635 added swiftruntimeforcommandlinetools, closes #9 2020-06-09 10:30:23 +02:00
Armin Briegel
9bd79fc3e6 added sfsymbols, special handling for Apple signed apps without teamID 2020-06-09 10:25:14 +02:00
Armin Briegel
50d6df50d7 add ringcentralapp and ringcentralmeeting 2020-06-09 09:18:15 +02:00
Armin Briegel
4fd029e342 switched find commands to newline separated 2020-06-09 09:08:05 +02:00
Armin Briegel
dd925d329b fixed typo in Labels 2020-06-05 16:37:16 +02:00
Armin Briegel
f379ee0eda added wwdcformac 2020-06-05 16:32:02 +02:00
Armin Briegel
e5b5dcc49e updated Labels.txt 2020-06-03 13:58:46 +02:00
Armin Briegel
adecf05f45 added firefoxpkg and firefoxesrpkg 2020-06-03 13:55:43 +02:00
Armin Briegel
3e899ae79c fixed git download url generation 2020-06-02 15:19:13 +02:00
Armin Briegel
0ebf001246 added credits 2020-06-02 12:35:04 +02:00
Armin Briegel
b12bd875cd added variable NOTIFY which controls notifications, closes #24 2020-05-29 16:59:25 +02:00
Armin Briegel
ce88a3f3c8 added powershell and powershell-lts, closes #4 2020-05-29 16:50:01 +02:00
Armin Briegel
594db2c6d6 changed search pattern in installPKGinzip to *.pkg 2020-05-29 16:18:34 +02:00
Armin Briegel
778b4697fc add missing ;; 2020-05-29 16:12:45 +02:00
Armin Briegel
e4e9aec0e2 renamed ScriptLogging to printlog, will only write to log file when running as root 2020-05-29 16:04:11 +02:00
Mischa van der Bent
8c7c58b7d9 Update Notification version error
added a sleep of 10 sec so Spotlight know about the application that jsut installed
2020-05-29 15:25:16 +02:00
Mischa van der Bent
a881df4e81 Merge remote-tracking branch 'upstream/dev' into dev 2020-05-28 09:42:28 +02:00
kenchan0130
fb69bf94f6 Fix downloadurl of umbrella-roaming-client 2020-05-26 11:32:27 +09:00
Armin Briegel
27ef27851b fixed eraseinstall download url 2020-05-25 14:52:41 +02:00
Armin Briegel
9577f3c411 added docker and brave, closes #12 2020-05-22 09:10:31 +02:00
Armin Briegel
1b999a1101 fixed goodgledrivefilestream 2020-05-22 09:02:16 +02:00
Armin Briegel
b67aa97f0d changed Webex Teams from pkgInDmg to dmg 2020-05-22 08:47:51 +02:00
Mischa van der Bent
b7ff0d296f add start end log
add start end log
2020-05-20 11:02:02 +02:00
Mischa van der Bent
ea9a97eb7a Revert "Revert "Update Installomator.sh""
This reverts commit 2203f89612.
2020-05-20 11:00:26 +02:00
Mischa van der Bent
2203f89612 Revert "Update Installomator.sh"
This reverts commit 12a87e718d.
2020-05-20 11:00:02 +02:00
Mischa van der Bent
12a87e718d Update Installomator.sh
added Logging function and change the echo to function
2020-05-20 10:53:44 +02:00
Sebastien Jeanquier
6dea2ac136 Add Brave Label
Add Brave Label
2020-05-20 09:47:52 +02:00
Sebastien Jeanquier
9744b6683a Add Docker & Brave
Add Docker & Brave in (I think) the correct part of the script
2020-05-20 09:43:57 +02:00
Sebastien Jeanquier
84510540c3 Add Docker
Add Docker
2020-05-20 09:12:11 +02:00
Sebastien Jeanquier
73d386bfff Add Docker Desktop
Add Docker Desktop
2020-05-20 07:20:13 +02:00
Armin Briegel
4472a9a2f3 added signal 2020-05-19 13:09:25 +02:00
Armin Briegel
4f396b5191 added adobereaderdc 2020-05-18 20:38:04 +02:00
Armin Briegel
27e54e8ddd fixed a stray typo 2020-05-18 11:45:42 +02:00
Armin Briegel
d45af38636 re-added postman, jamfpppcutility, jamfmigrator, jamfreenroller 2020-05-18 11:43:35 +02:00
Armin Briegel
e99af92196 removed roamingclient and powershell after testing failed 2020-05-18 11:38:21 +02:00
Armin Briegel
b32e143dc0 installPkgInZip now finds first pkg in zip 2020-05-18 10:56:58 +02:00
Armin Briegel
6a55709f40 installPkgInDmg now searches for the first pkg in the dmg 2020-05-18 10:44:42 +02:00
Armin Briegel
a6344a490f fixed executable bit again 2020-05-18 10:08:53 +02:00
Armin Briegel
5a62c45b4c Merge branch 'Karabiner-Elements' of https://github.com/kenchan0130/Installomator into onishi-prs 2020-05-18 10:07:27 +02:00
Armin Briegel
432e8e83e2 updated credits 2020-05-18 10:02:21 +02:00
kenchan0130
14a397d23b Add a label of Karabiner-Elements 2020-05-18 16:55:50 +09:00
Armin Briegel
2b63d6939a Merge branch 'appcleaner' of https://github.com/kenchan0130/Installomator into onishi-prs 2020-05-18 09:48:28 +02:00
Armin Briegel
9de120d734 Merge branch 'umbrella-roaming-client' of https://github.com/kenchan0130/Installomator into onishi-prs 2020-05-18 09:41:12 +02:00
Armin Briegel
f34a144397 Merge branch 'google-japansese-input' of https://github.com/kenchan0130/Installomator into onishi-prs 2020-05-18 09:37:14 +02:00
Armin Briegel
06c42906e0 Merge branch 'santa' of https://github.com/kenchan0130/Installomator into onishi-prs 2020-05-18 09:34:07 +02:00
Armin Briegel
260ad87d4c added credit 2020-05-18 09:33:29 +02:00
Armin Briegel
e0a27139ad Merge branch 'powershell' of https://github.com/kenchan0130/Installomator into onishi-prs 2020-05-18 09:31:30 +02:00
kenchan0130
e5a1956258 Add a label of AppCleaner 2020-05-18 16:05:33 +09:00
kenchan0130
f01a50e428 Add a label of Roaming Client 2020-05-18 15:39:14 +09:00
kenchan0130
b6c18b4438 Add a label of Google Japanese Input 2020-05-18 15:18:58 +09:00
kenchan0130
65c33585fa Add a label of santa 2020-05-18 14:59:05 +09:00
kenchan0130
8ec2179c1c Add a label of powershell 2020-05-18 13:53:29 +09:00
Armin Briegel
eaf7bc2a01 Merge branch 'mischavdbent-Add-Apps' into dev 2020-05-15 15:30:49 +02:00
Armin Briegel
b02ca4781a Merge branch 'Add-Apps' of https://github.com/mischavdbent/Installomator into mischavdbent-Add-Apps 2020-05-15 15:28:18 +02:00
Armin Briegel
6f0029da7a updated version 2020-05-15 15:27:50 +02:00
Armin Briegel
6c3466e983 few more fixes in ReadMe 2020-05-15 15:26:51 +02:00
kenchan0130
9dcacfae91 apply fmt 2020-05-15 19:54:27 +09:00
Mischa van der Bent
26487d0d35 added apps labels
icons, autodmg, postman, sublimetext, jamfpppcutility, jamfmigrator, jamfreenroller
2020-05-15 12:40:32 +02:00
Mischa van der Bent
563c2e7447 Added Apps
icons, autodmg, postman, sublimetext, jamfpppcutility, jamfmigrator, jamfreenroller
2020-05-15 12:40:19 +02:00
Armin Briegel
5c0cb98f69 added FAQ to ReadMe 2020-05-15 11:51:44 +02:00
Armin Briegel
7420292fec added some missing labels 2020-05-14 15:58:13 +02:00
Armin Briegel
552e5cc730 updated ReadMe and License 2020-05-14 11:48:50 +02:00
5 changed files with 1421 additions and 680 deletions

28
CHANGELOG.md Normal file
View File

@@ -0,0 +1,28 @@
## v0.4 - 2020-10-19
- you can now set script variables as an argument in the form `VARIABLE=value`. More detail on this in the README file, 'Configuration from Arguments.' (#26, #50, #72, and #73)
- change `downloadFromGit` to match file types better (#58)
- implemented a workaround for changed behavior of `xpath` in Big Sur (#80)
- added an option `prompt_user_the_kill` to `BLOCKING_PROCESS_ACTION` which will kill the process after the third unsuccessful attempt to quit (#78, thanks Patrick Atoon @raptor399)
- added several new labels for total of 116
## v0.3 - 2020-07-23
- added several new labels for total of 98
- removed the powershell labels, since the installer is not notarized
- when run without any arguments, the script now lists all labels
- changed how zips are expanded because this was broken on Mojave
- improved logging in some statements
- several more minor improvements
## v0.2 - 2020-06-09
- many fixes for broken URLs and other bugs
- the `pkgInDmg` and `pkgInZip` now search for a pkg file in the archive in case the file name varies with the version
- notification on successful installation can be suppressed with the `NOTIFY` variable
- Apple signed installers and apps that dont have a Team ID are verified correctly now
improved logging
- several new applications: count increased from 62 in 0.1 to 87 in 0.2
## v0.1 - 2020-05-12

File diff suppressed because it is too large Load Diff

View File

@@ -186,7 +186,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright 2018 Armin Briegel, Scripting OS X
Copyright 2020 Armin Briegel, Scripting OS X
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.

View File

@@ -1,25 +1,58 @@
1password7
8x8
adobereaderdc
adobereaderdc-install
adobereaderdc-update
airserver
alfred
amazonworkspaces
apparency
appcleaner
aquaskk
atom
autodmg
autopkgr
aviatrix
bbedit
bettertouchtool
boxdrive
brave
camtasia
citrixworkspace
code42
coderunner
cyberduck
depnotify
desktoppr
detectxswift
dialpad
discord
docker
dropbox
egnyte
eraseinstall
firefox
firefoxesrpkg
firefoxpkg
githubdesktop
googlechrome
googlechromepkg
googledrivefilestream
googlejapaneseinput
grandperspective
handbrake
icons
istatmenus
iterm2
jamfmigrator
jamfpppcutility
jamfreenroller
karabinerelements
keepassxc
krisp
malwarebytes
microsoftautoupdate
microsoftcompanyportal
microsoftdefenderatp
microsoftedgeconsumerstable
microsoftedgeenterprisestable
@@ -30,29 +63,54 @@ microsoftonedrive
microsoftonenote
microsoftoutlook
microsoftpowerpoint
microsoftremotedesktop
microsoftsharepointplugin
microsoftskypeforbusiness
microsoftteams
microsoftword
netnewswire
nomad
omnifocus3
omnigraffle7
openvpnconnect
pacifist
plisteditpro
postman
privileges
r
resiliosynchome
ringcentralapp
ringcentralmeetings
royaltsx
santa
sfsymbols
signal
sizeup
skitch
slack
snagit2020
sonos
sonoss1
sonoss2
sourcetree
spotify
sublimetext
suspiciouspackage
swiftruntimeforcommandlinetools
teamviewer
textmate
things
torbrowser
tunnelbear
tunnelblick
umbrellaroamingclient
virtualbox
visualstudiocode
vlc
vscodium
webexmeetings
webexteams
whatsapp
wwdcformac
yubikeymanagerqt
zoom

148
README.md
View File

@@ -4,6 +4,27 @@ _The one installer script to rule them all._
![](https://img.shields.io/github/v/release/scriptingosx/Installomator) ![](https://img.shields.io/github/downloads/scriptingosx/Installomator/latest/total) ![](https://img.shields.io/badge/macOS-10.14%2B-success) ![](https://img.shields.io/github/license/scriptingosx/Installomator)
This script is in the "we find it useful, it is working for us" stage.
Your production and deployment environment will be different, please test thoroughly before rolling it out to your production.
I have put a lot of work into making it stable and safe, but I cannot - of course - make _any_ promises that it won't break in some not yet encountered edge case.
## Support and Contributing
Discussion, support and advice around Installomator happens in the `#installomator` channel in the [MacAdmins Slack](https:/macadmins.org). Go there for support questions.
Do not create an issue just when you have a questions, but do file an issue or pull request for bugs or wrong behavior. When in doubt, ask in the above Slack channel.
If you have added a new label, then please file a pull request. (and Thank you!)
## More reading
There are a few interesting post on Installomator on my weblog:
- [Introducing Installomator](https://scriptingosx.com/2020/05/introducing-installomator/)
- [Using Installomator with Jamf Pro](https://scriptingosx.com/2020/06/using-installomator-with-jamf-pro/) by Mischa van der Bent
## Background
As a system engineer at [an Apple Authorized Enterprise Reseller](https://prowarehouse.nl), we manage a lot of Jamf instances.
@@ -12,23 +33,30 @@ Some of these instances are tightly managed, i.e. the versions of the operating
Installomator was _not_ written for these kinds of deployment.
If you are running this kind of deployment, you want [AutoPkg](https://github.com/autopkg/autopkg).
If you are running this kind of deployment, you want to use [AutoPkg](https://github.com/autopkg/autopkg) and you can stop reading here.
There are other kinds of deployments, though. In these deployments the management system is merely used to "get the user ready" as quickly as possible when they set up a new machine, and to offer software from a self service portal. In these deployments, system and software installations are 'latest version available' and updates are user driven (though we do want to nag them).
These are mostly 'user controlled' Macs and we mostly just want to assist the user in doing the right thing. And the right thing is (often) to install the latest versions and updates when they are available.
These deployments are
The Mac App Store and software pushed through the Mac App Store follow this approach. When you manage software through the App Store — whether it is on iOS or macOS — neither the MacAdmin nor the user get a choice of the application version. They will get the latest version.
- user driven
- low control
- minimal maintenance effort
In such deployments, keeping the installers hosted in your management system up to date is an extra burden that often feels unnecessary. Instead of downloading, re-packaging, uploading application installers to the management system, it is often easier to run a script which downloads the latest version directly from the vendor's servers and installs it.
These are mostly 'user controlled' Macs and we (the admins) just want to assist the user in doing the right thing. And the right thing is (often) to install the latest versions and updates when they are available.
The Mac App Store and software pushed through the Mac App Store follow this approach. When you manage and deploy software through the App Store — whether it is on iOS or macOS — neither the MacAdmin nor the user get a choice of the application version. They will get the latest version.
In such deployments, keeping the installers hosted in your management system up to date is an extra burden. AutoPkg can, well, automate much of the download/re-package/upload/stage cycle, but it still requires oversight and maintenance. Instead of downloading, re-packaging, uploading application installers to the management system, it is often easier to run a script which downloads the latest version directly from the vendor's servers and installs it.
There are obviously a few downsides to this approach:
- when your fleet is mostly on site and many will install or update at the same time, they will reach out over the internet to the vendor's servers, possibly overwhelming your internet connection
- when you download software from the internet, it should be verified to avoid man-in-the-middle or other injection attacks
- there is no control over which version the clients get
- there is no control over which version the clients get, you cannot "hold back" new versions for testing and approval workflows
- some application downloads are gated behind logins or paywalls and cannot be automated this way
Some of these disadvantages can be seen as advantages in different setups. When your fleet is mostly mobile and offsite, then downloading from vendor servers will relieve the inbound connection to your management server, or the data usage on your cloud server. Software vendors are pushing for subscriptions with continuous updates and feature releases, so moving the entire team to the latest versions quickly can make those available quickly. Also being on the latest release includes all current security patches.
Some of these disadvantages can be seen as advantages in different setups. When your fleet is mostly mobile and offsite, then downloading from vendor servers will relieve the inbound connection to your management server, or the data usage on your management system's cloud server. Software vendors are pushing for subscriptions with continuous updates and feature releases, so moving the entire team to the latest versions quickly can make those available quickly. Also being on the latest release includes all current security patches.
Because this is an attractive solution for _certain kinds_ of deployment, there are already many scripts out there that will download and install the latest version of a given software. And we have built and used quite a few in-house, as well. Most importantly, [William Smith has this script](https://gist.github.com/talkingmoose/a16ca849416ce5ce89316bacd75fc91a) which can be used to install several different Microsoft applications and bundles, because Microsoft has a nice unified URL scheme.
@@ -58,7 +86,7 @@ Installomator can work with the following common archive and installer types:
When the download yields a pkg file, Installomator will run `installer` to install it on the current system.
Applications in dmgs or zips will be copied to `/Applications` and their owner will be set to the current user, so the install works like a standard drag'b drop installation.
Applications in dmgs or zips will be copied to `/Applications` and their owner will be set to the current user, so the install works like a standard drag'n drop installation.
(I consider it a disgrace, that Jamf, after nearly 20 years, _still_ cannot deal with 'drag'n drop installation dmgs' natively. It's not _that_ hard.)
@@ -83,12 +111,12 @@ There is a debug mode and one other setting that can be controlled with variable
As of this writing, Installomator knows how to download and install more than 50 different applications. You can add more by adding a block to the _long_ `case` statement starting on line 160. Some of them are more elaborate, but most of them just need this information:
```
googlechrome)
name="Google Chrome"
type="dmg"
downloadURL="https://dl.google.com/chrome/mac/stable/GGRO/googlechrome.dmg"
expectedTeamID="EQHXZ8M8AV"
;;
googlechrome)
name="Google Chrome"
type="dmg"
downloadURL="https://dl.google.com/chrome/mac/stable/GGRO/googlechrome.dmg"
expectedTeamID="EQHXZ8M8AV"
;;
```
When you know how to extract these pieces of information from the application and/or download, then you can add an application to Installomator.
@@ -128,7 +156,7 @@ Other than the version arguments, the argument can be any of the labels listed i
### Debug mode
There is a variable named `DEBUG` which is set in line 21 of the script. When `DEBUG` is set to `1` (default) no actions that wousld actually modify the current system are taken. This is useful for testing most of the actions in the script, but obviously not all of them.
There is a variable named `DEBUG` which is set in line 21 of the script. When `DEBUG` is set to `1` (default) no actions that would actually modify the current system are taken. This is useful for testing most of the actions in the script, but obviously not all of them.
Also when the `DEBUG` variable is `1`, downloaded archives and extracted files will be written to the script's directory, rather than a temporary directory, which can make debugging easier.
@@ -138,6 +166,8 @@ _Always remember_ to change the `DEBUG` variable to `0` when deploying.
In Jamf Pro, create a new 'Script' and paste the contents of `Installomator.sh` into the 'Script Contents' area. Under 'Options' you can change the parameter label for argument 4 to 'Application Label.'
Remember to set `DEBUG` to `0`.
Then you can use the Installomator script in a policy and choose the application to install by setting the label for argument 4.
## What it does
@@ -180,6 +210,14 @@ There are four options:
The default is `prompt_user`.
### Notification
The `NOTIFY` variable controls the notifications shown to the user. As of now, there are two options: `success` (default) and `silent`.
- `success`: notify the user after a successful install
- `silent`: no notifications
### Adding applications/label blocks
#### Required Variables
@@ -187,12 +225,12 @@ The default is `prompt_user`.
The script requires four pieces of information to download and install an application:
```
spotify)
name="Spotify"
type="dmg"
downloadURL="https://download.scdn.co/Spotify.dmg"
expectedTeamID="2FNC3A47ZF"
;;
spotify)
name="Spotify"
type="dmg"
downloadURL="https://download.scdn.co/Spotify.dmg"
expectedTeamID="2FNC3A47ZF"
;;
```
The four required variables are
@@ -220,7 +258,7 @@ The 10-character Developer Team ID with which the application or pkg is signed a
- Applications (in dmgs or zips)
`spctl -a -vv /Applications/BBEdit.app`
- Pkgs
- Installation Packages (pkg)
`spctl -a -vv -t install ~/Downloads/desktoppr-0.2.pkg`
@@ -267,4 +305,72 @@ Depending on the application or pkg there are a few more variables you can or ne
- `updateToolRunAsCurrentUser`:
When this variable is set (any value), `$updateTool` will be run as the current user. Default is unset and
### Configuration from Arguments
You can provide a configuration variable, such as `DEBUG` or `NOTIFY` as an argument in the form `VAR=value`. For example:
```
./Installomator.sh desktoppr DEBUG=0 NOTIFY=silent
```
Providing variables this way will override any variables set in the script.
You can even provide _all_ the variables necessary for download and installation. Of course, without a label the argument parsing will fail, so I created a special label `valuesfromarguments` which only checks if the four required values are present:
```
./Installomator.sh name=desktoppr type=pkg downloadURL=https://github.com/scriptingosx/desktoppr/releases/download/v0.3/desktoppr-0.3.pkg expectedTeamID=JME5BW3F3R valuesfromarguments
```
The order of the variables and label is not relevant. But, when you provide more than one label, all but the _last_ label will be ignored.
Providing all the variables this way might be useful for certain downloads that have a customized URL for each vendor/customer (like customized TeamView or Watchman Monitoring) or are local downloads.
## Frequently Asked Questions
### What if the latest version of the app is already installed?
Short answer: Installomator will re-download and re-install the latest over the existing installation.
Longer answer:
Installomator will try to find a currently installed app to log the version. When Installomator finds an existing app (any version) and the `updateTool` variable is set, then Installomator will _not_ download and install, but run the `updateTool` instead.
However, there is no simple generic method to actually determine the latest version of an application or installer.
We deploy Installomator usually for user initiated installations from Self Service, so re-installs don't really 'hurt' and may be a useful troubleshooting step.
When you want to have automated installations, you can use smart groups based on the app version to limit excessive re-installations.
### Why don't you just use `autopkg install`?
Short answer: `autopkg` is not designed or suited for this kind of workflow
Long answer:
The motivation to not re-invent the wheel and use and existing tool is understandable. However, `autopkg` was not designed with this use case in mind and has a few significant downsides.
First, you would have to deploy and manage autopkg on all the clients. But to do its work, `autopkg` requires recipes. So, you have to install, and update the recipe repos on the client, as well. For security reasons, you _really_ should only run trusted recipes, so you need to install and update your personal recipe overrides as well.
The recipes you use are probably spread across multiple community provided recipe-repos, so we have `autopkg` itself, several recipe-repos, and your overrides that we need to manage, each of which may need to be updated at any time.
The community recipe-repos contain several recipes for different applications. When you add a recipe-repo for an app you want, you will also install all the other recipes from that repo.
The `autopkg install` does _not_ require root or even administrative privileges. _Any_ user (even standard users) on the system can now install any of the random recipes that came with the community repos.
To prevent users installing random apps from the community repos, you can curate your own recipe-repo from the community repos and push that to the clients. At this point, you are managing autopkg, your curated repo, your recipe overrides on the clients and handling the additional work of curating and updating your recipe-repo and the overrides.
In addition, a really savvy user (or a malicious attacker) could build their own recipe and run it using the pre-installed `autopkg` you installed.
And then consider what your CISO department (if you have one) would say about the `autopkgserver` and `autopkginstalld` daemons running on all the clients...
At this point it would be easier to use AutoPkg the way it was intended: on a single admin Mac, and let it upload the pkgs to your management system, which deploys them. Each tool is doing what it is designed for.
Please don't misunderstand this as me saying that AutoPkg is a bad or poorly designed tool. AutoPkg is amazing, powerful, and useful. The [Scripting OS X recipe-repo](https://github.com/autopkg/scriptingosx-recipes) is one of the older repos. AutoPkg is valuable tool to help admins with many apps that cannot be automated with tools like Installomator, and with deployment strategies that require more control.
But it is not suited as a client install automation tool.
### Why don't you just use brew?
Read the explanation for `autopkg`, pretty much the same applies for `brew`, i.e. while it is useful on a single Mac, it is a un-manageable mess when you think about deploying and managing on a fleet of computers.