Skip to content

Commit

Permalink
MSOffice2016 updates
Browse files Browse the repository at this point in the history
  • Loading branch information
timsutton committed Aug 13, 2015
1 parent 8cc4a15 commit 1a837d4
Show file tree
Hide file tree
Showing 18 changed files with 1,225 additions and 0 deletions.
74 changes: 74 additions & 0 deletions Microsoft/MSExcel2016.download.recipe
@@ -0,0 +1,74 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Description</key>
<string>Downloads the latest Excel 2016 multilingual update pkg,
and appends the version to the end of the filename.

LOCALE_ID sets the locale for a descriptive text that will be
extracted from the Microsoft update metadata. See
https://msdn.microsoft.com/en-us/goglobal/bb964664.aspx
for more information about locale IDs.

VERSION currently only supports 'latest'.
</string>
<key>Identifier</key>
<string>com.github.autopkg.download.MSExcel2016</string>
<key>MinimumVersion</key>
<string>0.4.2</string>
<key>Input</key>
<dict>
<key>LOCALE_ID</key>
<string>1033</string>
<key>NAME</key>
<string>MSExcel2016</string>
<key>VERSION</key>
<string>latest</string>
</dict>
<key>Process</key>
<array>
<dict>
<key>Processor</key>
<string>MSOffice2016URLandUpdateInfoProvider</string>
<key>Arguments</key>
<dict>
<key>locale_id</key>
<string>%LOCALE_ID%</string>
<key>product</key>
<string>Excel</string>
<key>version</key>
<string>%VERSION%</string>
</dict>
</dict>
<dict>
<key>Processor</key>
<string>URLDownloader</string>
<key>Arguments</key>
<dict>
<key>filename</key>
<string>%NAME%-%version%.pkg</string>
</dict>
</dict>
<dict>
<key>Processor</key>
<string>EndOfCheckPhase</string>
</dict>
<dict>
<key>Processor</key>
<string>CodeSignatureVerifier</string>
<key>Arguments</key>
<dict>
<key>input_path</key>
<string>%pathname%</string>
<key>expected_authority_names</key>
<array>
<string>Developer ID Installer: Microsoft Corporation (UBF8T346G9)</string>
<string>Developer ID Certification Authority</string>
<string>Apple Root CA</string>
</array>
</dict>
</dict>
</array>
</dict>
</plist>
29 changes: 29 additions & 0 deletions Microsoft/MSExcel2016.install.recipe
@@ -0,0 +1,29 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Description</key>
<string>Downloads and installs the latest Excel 2016 update.</string>
<key>Identifier</key>
<string>com.github.autopkg.install.MSExcel2016</string>
<key>Input</key>
<dict>
</dict>
<key>MinimumVersion</key>
<string>0.4.2</string>
<key>ParentRecipe</key>
<string>com.github.autopkg.download.MSExcel2016</string>
<key>Process</key>
<array>
<dict>
<key>Processor</key>
<string>Installer</string>
<key>Arguments</key>
<dict>
<key>pkg_path</key>
<string>%pathname%</string>
</dict>
</dict>
</array>
</dict>
</plist>
70 changes: 70 additions & 0 deletions Microsoft/MSExcel2016.munki.recipe
@@ -0,0 +1,70 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Description</key>
<string>Downloads the latest Excel 2016 multilingual update pkg,
appends the version to the end of the filename, and imports into
Munki.

If this is an update_for something, you may define this in your
pkginfo Input override below.

LOCALE_ID sets the locale for a descriptive text that will be
extracted from the Microsoft update metadata. See
https://msdn.microsoft.com/en-us/goglobal/bb964664.aspx
for more information about locale IDs.

VERSION currently only supports 'latest'.</string>
<key>Identifier</key>
<string>com.github.autopkg.munki.MSExcel2016</string>
<key>MinimumVersion</key>
<string>0.4.2</string>
<key>Input</key>
<dict>
<key>NAME</key>
<string>MSExcel2016</string>
<key>MUNKI_REPO_SUBDIR</key>
<string>apps</string>
<key>pkginfo</key>
<dict>
<key>blocking_applications</key>
<array>
<string>Microsoft Excel</string>
<string>Microsoft Error Reporting</string>
<string>Microsoft Auto Update</string>
</array>
<key>catalogs</key>
<array>
<string>testing</string>
</array>
<key>name</key>
<string>%NAME%</string>
<key>unattended_install</key>
<true/>
</dict>
</dict>
<key>ParentRecipe</key>
<string>com.github.autopkg.download.MSExcel2016</string>
<key>Process</key>
<array>
<dict>
<key>Comment</key>
<string>Merge input pkginfo and additional_pkginfo generated by MSOffice2016URLandUpdateInfoProvider</string>
<key>Processor</key>
<string>MunkiPkginfoMerger</string>
</dict>
<dict>
<key>Arguments</key>
<dict>
<key>pkg_path</key>
<string>%pathname%</string>
<key>repo_subdirectory</key>
<string>%MUNKI_REPO_SUBDIR%</string>
</dict>
<key>Processor</key>
<string>MunkiImporter</string>
</dict>
</array>
</dict>
</plist>
70 changes: 70 additions & 0 deletions Microsoft/MSOffice2016App.download.recipe
@@ -0,0 +1,70 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Description</key>
<string>Downloads an update for a Microsoft Office 2016 application.
This recipe is not for a specific application, and must be overridden.

</string>
<key>Identifier</key>
<string>com.github.autopkg.download.MSOffice2016App</string>
<key>MinimumVersion</key>
<string>0.3.1</string>
<key>Input</key>
<dict>
<key>LOCALE_ID</key>
<string>1033</string>
<key>NAME</key>
<string>MSOffice2016ProductChangeMe</string>
<key>PRODUCT</key>
<string>Oneof: Excel OneNote Outlook PowerPoint Word</string>
<key>VERSION</key>
<string>latest</string>
</dict>
<key>Process</key>
<array>
<dict>
<key>Processor</key>
<string>MSOffice2016URLandUpdateInfoProvider</string>
<key>Arguments</key>
<dict>
<key>locale_id</key>
<string>%LOCALE_ID%</string>
<key>product</key>
<string>%PRODUCT%</string>
<key>version</key>
<string>%VERSION%</string>
</dict>
</dict>
<dict>
<key>Processor</key>
<string>URLDownloader</string>
<key>Arguments</key>
<dict>
<key>filename</key>
<string>%NAME%-%version%.pkg</string>
</dict>
</dict>
<dict>
<key>Processor</key>
<string>EndOfCheckPhase</string>
</dict>
<dict>
<key>Processor</key>
<string>CodeSignatureVerifier</string>
<key>Arguments</key>
<dict>
<key>input_path</key>
<string>%pathname%</string>
<key>expected_authority_names</key>
<array>
<string>Developer ID Installer: Microsoft Corporation (UBF8T346G9)</string>
<string>Developer ID Certification Authority</string>
<string>Apple Root CA</string>
</array>
</dict>
</dict>
</array>
</dict>
</plist>
60 changes: 60 additions & 0 deletions Microsoft/MSOffice2016App.munki.recipe
@@ -0,0 +1,60 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Description</key>
<string></string>
<key>Identifier</key>
<string>com.github.autopkg.munki.MSOffice2016App</string>
<key>MinimumVersion</key>
<string>0.3.1</string>
<key>Input</key>
<dict>
<key>NAME</key>
<string>MSOffice2016ProductChangeMe</string>
<key>MUNKI_REPO_SUBDIR</key>
<string>apps</string>
<key>pkginfo</key>
<dict>
<key>blocking_applications</key>
<array>
<string>Microsoft %PRODUCT%</string>
<string>Microsoft Error Reporting</string>
<string>Microsoft Auto Update</string>
</array>
<key>catalogs</key>
<array>
<string>testing</string>
</array>
<key>display_name</key>
<string>Microsoft %PRODUCT% Update</string>
<key>name</key>
<string>%NAME%</string>
<key>unattended_install</key>
<true/>
</dict>
</dict>
<key>ParentRecipe</key>
<string>com.github.autopkg.download.MSOffice2016App</string>
<key>Process</key>
<array>
<dict>
<key>Comment</key>
<string>Merge input pkginfo and additional_pkginfo generated by MSOffice2016URLandUpdateInfoProvider</string>
<key>Processor</key>
<string>MunkiPkginfoMerger</string>
</dict>
<dict>
<key>Arguments</key>
<dict>
<key>pkg_path</key>
<string>%pathname%</string>
<key>repo_subdirectory</key>
<string>%MUNKI_REPO_SUBDIR%</string>
</dict>
<key>Processor</key>
<string>MunkiImporter</string>
</dict>
</array>
</dict>
</plist>

0 comments on commit 1a837d4

Please sign in to comment.