diff --git a/MDM/App-install/App browser-security Auto-install.sh b/MDM/App-install/App browser-security Auto-install.sh index 41a1fd6..dc06450 100644 --- a/MDM/App-install/App browser-security Auto-install.sh +++ b/MDM/App-install/App browser-security Auto-install.sh @@ -4,7 +4,7 @@ LOGO="" # "mosyleb", "mosylem", "addigy", "microsoft", "ws1" -what="firefoxpkg" # enter the software to install +item="firefoxpkg" # enter the software to install # Examples: microsoftedge, brave, googlechromepkg, firefoxpkg installomatorOptions="BLOCKING_PROCESS_ACTION=tell_user_then_quit" # Separated by space @@ -28,7 +28,7 @@ installomatorOptions="BLOCKING_PROCESS_ACTION=tell_user_then_quit" # Separated b # INSTALL=force ###################################################################### # To be used as a script sent out from a MDM. -# Fill the variable "what" above with a label. +# Fill the variable "item" above with a label. # Script will run this label through Installomator. ###################################################################### # v. 9.2.1 : Better logging handling and installomatorOptions fix. @@ -38,7 +38,7 @@ installomatorOptions="BLOCKING_PROCESS_ACTION=tell_user_then_quit" # Separated b # PATH declaration export PATH=/usr/bin:/bin:/usr/sbin:/sbin -echo "$(date +%F\ %T) [LOG-BEGIN] $what" +echo "$(date +%F\ %T) [LOG-BEGIN] $item" # Verify that Installomator has been installed destFile="/usr/local/Installomator/Installomator.sh" @@ -59,16 +59,16 @@ caffexit () { } # Install software using Installomator -cmdOutput="$(${destFile} ${what} LOGO=$LOGO ${installomatorOptions} || true)" +cmdOutput="$(${destFile} ${item} LOGO=$LOGO ${installomatorOptions} || true)" # Check result exitStatus="$( echo "${cmdOutput}" | grep --binary-files=text -i "exit" | tail -1 | sed -E 's/.*exit code ([0-9]).*/\1/g' || true )" if [[ ${exitStatus} -eq 0 ]] ; then - echo "${what} succesfully installed." + echo "${item} succesfully installed." warnOutput="$( echo "${cmdOutput}" | grep --binary-files=text -i "warn" || true )" echo "$warnOutput" else - echo "ERROR installing ${what}. Exit code ${exitStatus}" + echo "ERROR installing ${item}. Exit code ${exitStatus}" echo "$cmdOutput" #errorOutput="$( echo "${cmdOutput}" | grep --binary-files=text -i "error" || true )" #echo "$errorOutput" diff --git a/MDM/App-install/App browser-security SS.sh b/MDM/App-install/App browser-security SS.sh index a75d57d..81dc0d5 100644 --- a/MDM/App-install/App browser-security SS.sh +++ b/MDM/App-install/App browser-security SS.sh @@ -4,7 +4,7 @@ LOGO="" # "mosyleb", "mosylem", "addigy", "microsoft", "ws1" -what="" # enter the software to install +item="" # enter the software to install # Examples: microsoftedge, brave, googlechromepkg, firefoxpkg installomatorOptions="BLOCKING_PROCESS_ACTION=tell_user_then_quit NOTIFY=all" # Separated by space diff --git a/MDM/App-install/App normal SS.sh b/MDM/App-install/App normal SS.sh index 9aa6209..06f7c04 100644 --- a/MDM/App-install/App normal SS.sh +++ b/MDM/App-install/App normal SS.sh @@ -4,7 +4,7 @@ LOGO="" # "mosyleb", "mosylem", "addigy", "microsoft", "ws1" -what="" # enter the software to install +item="" # enter the software to install # Examples: adobecreativeclouddesktop, canva, cyberduck, handbrake, inkscape, textmate, vlc @@ -29,7 +29,7 @@ installomatorOptions="BLOCKING_PROCESS_ACTION=prompt_user NOTIFY=all" # Separate # INSTALL=force ###################################################################### # To be used as a script sent out from a MDM. -# Fill the variable "what" above with a label. +# Fill the variable "item" above with a label. # Script will run this label through Installomator. ###################################################################### # v. 9.2.1 : Better logging handling and installomatorOptions fix. @@ -39,7 +39,7 @@ installomatorOptions="BLOCKING_PROCESS_ACTION=prompt_user NOTIFY=all" # Separate # PATH declaration export PATH=/usr/bin:/bin:/usr/sbin:/sbin -echo "$(date +%F\ %T) [LOG-BEGIN] $what" +echo "$(date +%F\ %T) [LOG-BEGIN] $item" # Verify that Installomator has been installed destFile="/usr/local/Installomator/Installomator.sh" @@ -60,16 +60,16 @@ caffexit () { } # Install software using Installomator -cmdOutput="$(${destFile} ${what} LOGO=$LOGO ${installomatorOptions} || true)" +cmdOutput="$(${destFile} ${item} LOGO=$LOGO ${installomatorOptions} || true)" # Check result exitStatus="$( echo "${cmdOutput}" | grep --binary-files=text -i "exit" | tail -1 | sed -E 's/.*exit code ([0-9]).*/\1/g' || true )" if [[ ${exitStatus} -eq 0 ]] ; then - echo "${what} succesfully installed." + echo "${item} succesfully installed." warnOutput="$( echo "${cmdOutput}" | grep --binary-files=text -i "warn" || true )" echo "$warnOutput" else - echo "ERROR installing ${what}. Exit code ${exitStatus}" + echo "ERROR installing ${item}. Exit code ${exitStatus}" echo "$cmdOutput" #errorOutput="$( echo "${cmdOutput}" | grep --binary-files=text -i "error" || true )" #echo "$errorOutput" diff --git a/MDM/App-install/App service Auto-install.sh b/MDM/App-install/App service Auto-install.sh index 0db91f3..ce282a4 100644 --- a/MDM/App-install/App service Auto-install.sh +++ b/MDM/App-install/App service Auto-install.sh @@ -4,7 +4,7 @@ LOGO="" # "mosyleb", "mosylem", "addigy", "microsoft", "ws1" -what="dockutil" # enter the software to install +item="dockutil" # enter the software to install # Examples: applenyfonts, applesfarabic, applesfcompact, applesfmono, applesfpro, applesfsymbols, dialog, dockutil, knockknock, lulu, nomad, nudge, shield, supportapp, wordservice, xcreds, xink installomatorOptions="BLOCKING_PROCESS_ACTION=ignore NOTIFY=silent" # Separated by space @@ -28,7 +28,7 @@ installomatorOptions="BLOCKING_PROCESS_ACTION=ignore NOTIFY=silent" # Separated # INSTALL=force ###################################################################### # To be used as a script sent out from a MDM. -# Fill the variable "what" above with a label. +# Fill the variable "item" above with a label. # Script will run this label through Installomator. ###################################################################### # v. 9.2.1 : Better logging handling and installomatorOptions fix. @@ -38,7 +38,7 @@ installomatorOptions="BLOCKING_PROCESS_ACTION=ignore NOTIFY=silent" # Separated # PATH declaration export PATH=/usr/bin:/bin:/usr/sbin:/sbin -echo "$(date +%F\ %T) [LOG-BEGIN] $what" +echo "$(date +%F\ %T) [LOG-BEGIN] $item" # Verify that Installomator has been installed destFile="/usr/local/Installomator/Installomator.sh" @@ -59,16 +59,16 @@ caffexit () { } # Install software using Installomator -cmdOutput="$(${destFile} ${what} LOGO=$LOGO ${installomatorOptions} || true)" +cmdOutput="$(${destFile} ${item} LOGO=$LOGO ${installomatorOptions} || true)" # Check result exitStatus="$( echo "${cmdOutput}" | grep --binary-files=text -i "exit" | tail -1 | sed -E 's/.*exit code ([0-9]).*/\1/g' || true )" if [[ ${exitStatus} -eq 0 ]] ; then - echo "${what} succesfully installed." + echo "${item} succesfully installed." warnOutput="$( echo "${cmdOutput}" | grep --binary-files=text -i "warn" || true )" echo "$warnOutput" else - echo "ERROR installing ${what}. Exit code ${exitStatus}" + echo "ERROR installing ${item}. Exit code ${exitStatus}" echo "$cmdOutput" #errorOutput="$( echo "${cmdOutput}" | grep --binary-files=text -i "error" || true )" #echo "$errorOutput"