You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: macOS/Apps/Adobe Acrobat & Adobe Acrobat Reader/README.md
+49-3Lines changed: 49 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,15 +1,24 @@
1
-
# Adobe Acrobat Installation Script
1
+
# Adobe Acrobat & Adobe Acrobat Reader
2
+
3
+
In this folder we provide you few following script examples of Adobe Acrobat & Adobe Acrobat Reader:
4
+
5
+
| Type | File | Notes |
6
+
| -------- | ------- | ------- |
7
+
| Installation script |```installAcrobatDC.sh```<br> or <br> ```installAcrobatDC.zsh```| <ul><li>Installation script is provided either sh (Bourne Shell) script or zsh (Z Shell) script.<li> Check more information [here](#installation-script).</li></ul> |
8
+
| Uninstallation script |```UninstallAdobeAcrobat.zsh```| <ul><li> Suitable for separate uninstallation deployment via [script](https://learn.microsoft.com/en-us/intune/intune-service/apps/macos-shell-scripts) or as [pre-installation script](https://learn.microsoft.com/en-us/intune/intune-service/apps/macos-unmanaged-pkg) when installing company deployed Adobe Acrobat as PKG-package.<li>Check more information [here](#uninstallation-script).</li></ul> |
9
+
10
+
## Installation Script
2
11
3
12
This script is an example to show how to use [Intune Shell Scripting](https://docs.microsoft.com/en-us/mem/intune/apps/macos-shell-scripts) to install applications. In this case the script will download the Adobe Acrobat DC DMG file from the Adobe download servers and then install it onto the Mac.
4
13
5
-
## Script Settings
14
+
###Script Settings
6
15
7
16
- Run script as signed-in user : No
8
17
- Hide script notifications on devices : Not configured
9
18
- Script frequency : Not configured
10
19
- Number of times to retry if script fails : 3
11
20
12
-
## Log File
21
+
###Log File
13
22
14
23
The log file will output to ***/Library/Logs/Microsoft/IntuneScripts/Adobe Acrobat Reader DC/Adobe Acrobat Reader DC.log*** by default. Exit status is either 0 or 1. To gather this log with Intune remotely take a look at [Troubleshoot macOS shell script policies using log collection](https://docs.microsoft.com/en-us/mem/intune/apps/macos-shell-scripts#troubleshoot-macos-shell-script-policies-using-log-collection)
15
24
@@ -53,3 +62,40 @@ Wed 5 Jan 2022 17:28:33 GMT | Fixing up permissions
Wed 5 Jan 2022 17:28:34 GMT | Writing last modifieddate [Mon, 10 May 2021 07:25:20 GMT] to [/Library/Logs/Microsoft/IntuneScripts/Adobe Acrobat Reader DC/Adobe Acrobat Reader DC.meta]
55
64
```
65
+
## Uninstallation Script
66
+
67
+
> [!NOTE]
68
+
> This uninstallation script is suitable for separate uninstallation deployment via [script](https://learn.microsoft.com/en-us/intune/intune-service/apps/macos-shell-scripts) or as [pre-installation script](https://learn.microsoft.com/en-us/intune/intune-service/apps/macos-unmanaged-pkg) when installing company deployed Adobe Acrobat as PKG-package.
69
+
70
+
This uninstallation script uninstalls following Adobe Acrobat versions from the Mac-device if one of these versions are installed:
The log file will output to ***/Library/Logs/Microsoft/IntuneScripts/UninstallAdobeAcrobatAndAdobeAcrobatReader/UninstallAdobeAcrobatAndAdobeAcrobatReader.log*** by default. Exit status is either 0 or 1. To gather this log with Intune remotely take a look at [Troubleshoot macOS shell script policies using log collection](https://docs.microsoft.com/en-us/mem/intune/apps/macos-shell-scripts#troubleshoot-macos-shell-script-policies-using-log-collection)
87
+
```
88
+
Fri Jun 20 19:15:10 EEST 2025 | Creating log directory - /Library/Logs/Microsoft/IntuneScripts/UninstallAdobeAcrobatAndAdobeAcrobatReader
Fri Jun 20 19:15:10 EEST 2025 | Adobe Acrobat Reader 2020 is not installed. Let's proceed...
95
+
Fri Jun 20 19:15:10 EEST 2025 | Adobe Acrobat / Adobe Acrobat Reader 2020 is not installed. Let's proceed...
96
+
Fri Jun 20 19:15:10 EEST 2025 | Adobe Acrobat / Adobe Acrobat Reader Classic is not installed. Let's proceed...
97
+
Fri Jun 20 19:15:10 EEST 2025 | Adobe Acrobat / Adobe Acrobat Reader DC is installed. Making sure, that application is closed...
98
+
Fri Jun 20 19:15:21 EEST 2025 | Done. Uninstalling Adobe Acrobat / Adobe Acrobat Reader DC...
99
+
Fri Jun 20 19:15:53 EEST 2025 | Adobe Acrobat / Adobe Acrobat Reader DC successfully uninstalled. You can now install it back if needed. Closing script...
## Copyright (c) 2025 Microsoft Corp. All rights reserved.
10
+
## Scripts are not supported under any Microsoft standard support program or service. The scripts are provided AS IS without warranty of any kind.
11
+
## Microsoft disclaims all implied warranties including, without limitation, any implied warranties of merchantability or of fitness for a
12
+
## particular purpose. The entire risk arising out of the use or performance of the scripts and documentation remains with you. In no event shall
13
+
## Microsoft, its authors, or anyone else involved in the creation, production, or delivery of the scripts be liable for any damages whatsoever
14
+
## (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or other pecuniary
15
+
## loss) arising out of the use of or inability to use the sample scripts or documentation, even if Microsoft has been advised of the possibility
16
+
## of such damages.
17
+
## Feedback: neiljohn@microsoft.com
18
+
19
+
# Define variables
20
+
appname="UninstallAdobeAcrobatAndAdobeAcrobatReader"# The name of our file deployment script
21
+
logandmetadir="/Library/Logs/Microsoft/IntuneScripts/$appname"# The location of our logs and last updated data
22
+
acrobatreader2020installationpath="/Applications/Adobe Acrobat Reader 2020.app"# The first location where Adobe Acrobat Reader 2020 is installed
23
+
adobeacrobat2020installationpath="/Applications/Adobe Acrobat 2020/Adobe Acrobat.app"# The second location where Adobe Acrobat / Adobe Acrobat Reader 2020 is installed
24
+
adobeacrobatclassicinstallationpath="/Applications/Adobe Acrobat Classic/Adobe Acrobat.app"# The second location where Adobe Acrobat / Adobe Acrobat Reader Classic is installed
25
+
adobeacrobatdcinstallationpath="/Applications/Adobe Acrobat DC/Adobe Acrobat.app"# The location where Adobe Acrobat / Adobe Acrobat Reader DC is installed
26
+
log="$logandmetadir/$appname.log"# The location of the script log file
27
+
# The location of Acrobat Uninstaller for Adobe Acrobat / Adobe Acrobat Reader 2020
0 commit comments