<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic HOWTO: Package files, scripts and apps together for macOS in Endpoint Security</title>
    <link>https://community.cisco.com/t5/endpoint-security/howto-package-files-scripts-and-apps-together-for-macos/m-p/5419505#M10424</link>
    <description>&lt;P&gt;If you're looking for windows: &lt;A href="https://community.meraki.com/t5/Mobile-Device-Management/HOWTO-Package-files-for-deployment-to-windows-computers/m-p/117459" target="_blank"&gt;https://community.meraki.com/t5/Mobile-Device-Management/HOWTO-Package-files-for-deployment-to-windows-computers/m-p/117459&lt;/A&gt;&lt;/P&gt;&lt;P&gt;So, here's a quick guide on how to package files together, whether they be fonts, files, scripts, xml and / or apps.&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF6600"&gt;&lt;STRONG&gt;Mild warning&lt;/STRONG&gt;&lt;/FONT&gt;: You will need to be familiar with Terminal&lt;/P&gt;&lt;P&gt;There's three different examples:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Script only (including an execute)&lt;/LI&gt;&lt;LI&gt;plist / xml (or other file) only&lt;/LI&gt;&lt;LI&gt;An installer made elsewhere that needs a pre or postflight script running (delete old version / expect input, etc, etc)&lt;/LI&gt;&lt;/OL&gt;&lt;H2&gt;Building your package : Scripts&lt;/H2&gt;&lt;P&gt;Open &lt;STRONG&gt;Terminal&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;using mkdir, create a directory. I've used &lt;STRONG&gt;ScriptPackage&lt;/STRONG&gt; as an example:&lt;/P&gt;&lt;PRE class="lia-code-sample language-java"&gt;&lt;CODE&gt;cd ScriptPackage
mkdir Scripts
cd Scripts
touch postinstall&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;Using a text editor, edit the postinstall file and paste in your script. Save your script&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Again, in Terminal:&lt;/P&gt;&lt;PRE class="lia-code-sample language-java"&gt;&lt;CODE&gt;chmod a+x postinstall
cd ..&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;Build the package: Type&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample language-java"&gt;&lt;CODE&gt;sudo pkgbuild --identifier com.meraki.scriptonly --nopayload --script Scripts com.meraki.scriptsonly.pkg&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Terminal should report:&lt;/P&gt;&lt;PRE class="lia-code-sample language-java"&gt;&lt;CODE&gt;pkgbuild: Adding top-level postinstall script
pkgbuild: Wrote package to com.meraki.scriptsonly.pkg&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;Note: we use the &lt;/SPAN&gt;&lt;SPAN&gt;--nopayload&lt;/SPAN&gt;&lt;SPAN&gt; flag to indicate there are no contents to the installer, just the postflight&lt;/SPAN&gt;&lt;/P&gt;&lt;H2&gt;Building your package : PLIST / XML (or other files)&lt;/H2&gt;&lt;P&gt;&lt;SPAN&gt;Open Terminal&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Using &lt;/SPAN&gt;&lt;SPAN&gt;mkdir&lt;/SPAN&gt;&lt;SPAN&gt; Create a Directory. I’ve used &lt;/SPAN&gt;&lt;STRONG&gt;PlistPackage&lt;/STRONG&gt;&lt;SPAN&gt; as the Example&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample language-java"&gt;&lt;CODE&gt;mkdir PlistPackage
cd PlistPackage
mkdir Scripts
mkdir Content
cd Scripts
touch postinstall&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;Copy the file(s) you need into the &lt;/SPAN&gt;&lt;SPAN&gt;Content&lt;/SPAN&gt;&lt;SPAN&gt; Folder&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Using a text editor, edit the postinstall file and paste in your script that will move files in &lt;/SPAN&gt;&lt;SPAN&gt;/tmp (we set where the installer will deposit the files in a following command)&lt;/SPAN&gt;&lt;SPAN&gt; to where ever you need to&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In Terminal&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample language-java"&gt;&lt;CODE&gt;chmod a+x postinstall
cd ..&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;Build the package&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample language-java"&gt;&lt;CODE&gt;sudo pkgbuild --identifier com.meraki.plistonly --root Content --script Scripts --install-location /tmp com.meraki.plistonly.pkg&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Note&lt;/STRONG&gt;: &lt;/SPAN&gt;The above is &lt;EM&gt;similar&lt;/EM&gt; to the previous example. W&lt;SPAN&gt;e’ve removed the &lt;/SPAN&gt;&lt;SPAN&gt;--nopayload&lt;/SPAN&gt;&lt;SPAN&gt; flag and replaced it with &lt;/SPAN&gt;&lt;SPAN&gt;--root Content&lt;/SPAN&gt;&lt;SPAN&gt; to indicate that there’s a folder with content in &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Double Note&lt;/STRONG&gt;: ensure that there is a space between &lt;/SPAN&gt;&lt;SPAN&gt;/tmp&lt;/SPAN&gt;&lt;SPAN&gt; and &lt;/SPAN&gt;&lt;SPAN&gt;com.meraki.plistonly.pkg&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Terminal &lt;/SPAN&gt;reports:&lt;/P&gt;&lt;PRE class="lia-code-sample language-java"&gt;&lt;CODE&gt;sudo pkgbuild --identifier com.meraki.plistonly --root Content --script Scripts --install-location /tmp com.meraki.plistonly.pkg
pkgbuild: Inferring bundle components from contents of Content
pkgbuild: Adding top-level postinstall script
pkgbuild: Wrote package to com.meraki.plistonly.pkg&lt;/CODE&gt;&lt;/PRE&gt;&lt;H2&gt; &lt;/H2&gt;&lt;H2&gt;Building your package : DMG / PKG (silent installer)&lt;/H2&gt;&lt;P&gt;&lt;SPAN&gt;Open Terminal&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Using &lt;/SPAN&gt;&lt;SPAN&gt;mkdir&lt;/SPAN&gt;&lt;SPAN&gt; Create a Directory. I’ve used &lt;/SPAN&gt;&lt;STRONG&gt;InstallerPackage&lt;/STRONG&gt;&lt;SPAN&gt; as the Example&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample language-java"&gt;&lt;CODE&gt;mkdir InstallerPackage
cd InstallerPackage
mkdir Scripts
mkdir Content
cd Scripts
touch postinstall&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;Copy the DMG  you need into the &lt;/SPAN&gt;&lt;SPAN&gt;Content&lt;/SPAN&gt;&lt;SPAN&gt; Folder&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Using a text editor, edit the postinstall file and paste in your script that will move files in &lt;/SPAN&gt;&lt;SPAN&gt;/tmp&lt;/SPAN&gt;&lt;SPAN&gt; to where ever you need to&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;In Terminal&lt;/P&gt;&lt;PRE class="lia-code-sample language-java"&gt;&lt;CODE&gt;chmod a+x postinstall
cd ..&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;Build the package:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample language-java"&gt;&lt;CODE&gt;sudo pkgbuild --identifier com.meraki.dmg --root Content --script Scripts --install-location /tmp com.meraki.dmg.pkg&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Terminal will report:&lt;/P&gt;&lt;PRE class="lia-code-sample language-java"&gt;&lt;CODE&gt;pkgbuild: Inferring bundle components from contents of Content
pkgbuild: Adding top-level postinstall script
pkgbuild: Wrote package to com.meraki.plistonly.pkg&lt;/CODE&gt;&lt;/PRE&gt;&lt;H3&gt;&lt;SPAN&gt;An example postflight to move an app from a mounted DMG to /Applications:&lt;/SPAN&gt;&lt;/H3&gt;&lt;PRE class="lia-code-sample language-javascript"&gt;&lt;CODE&gt;#!/bin/bash

dmgPath="/tmp/YourDMGName.dmg"
mountPath="/Volumes/YourDMGMounted"
currentuser="$(id -un)"
usersAppDir="$(sudo -u $currentuser echo $HOME)"

/usr/bin/hdiutil attach "$dmgPath" -nobrowse -quiet
		
if [[ -e "$mountPath" ]]
	then
		cp -r "$mountPath"/"YourApp.app" /Applications/"YourAppName.app"
fi

umount "$mountPath"

rm -rf "$dmgPath"

# insert the commands that you need to
# provision your application

exit 0&lt;/CODE&gt;&lt;/PRE&gt;&lt;H3&gt;&lt;SPAN&gt;An example postflight to move an app from a mounted DMG to /Applications where the DMG install expects user input&lt;/SPAN&gt;&lt;/H3&gt;&lt;P&gt;&lt;SPAN&gt;CaptureOne. for example, requests the user accept some EULA when opening the DMG. You can script this acceptance in your postflight:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample language-java"&gt;&lt;CODE&gt;#!/bin/bash

dmgPath="/tmp/CaptureOne12.Mac.12.1.4.dmg"
mountPath="/Volumes/Capture One 12"

/usr/bin/expect&amp;lt;&amp;lt;EOF
		spawn /usr/bin/hdiutil attach "$dmgPath" -nobrowse -quiet
		expect ":"
		send -- "G"
		expect ""
		send -- "\n"
		expect "Agree Y/N?"
		send -- "Y\n"
		expect EOF
EOF

if [[ -e "$mountPath" ]]
	then
		cp -r "$mountPath"/"Capture One 12.app" /Applications/"Capture One 12.app"
fi

umount "$mountPath"

exit 0&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;We use the &lt;STRONG&gt;EXPECT&lt;/STRONG&gt; command to wait for the prompt, and &lt;STRONG&gt;SEND&lt;/STRONG&gt; to send user input.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Hope that helps!&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 14 Mar 2023 15:18:22 GMT</pubDate>
    <dc:creator>Arthur Dent</dc:creator>
    <dc:date>2023-03-14T15:18:22Z</dc:date>
    <item>
      <title>HOWTO: Package files, scripts and apps together for macOS</title>
      <link>https://community.cisco.com/t5/endpoint-security/howto-package-files-scripts-and-apps-together-for-macos/m-p/5419505#M10424</link>
      <description>&lt;P&gt;If you're looking for windows: &lt;A href="https://community.meraki.com/t5/Mobile-Device-Management/HOWTO-Package-files-for-deployment-to-windows-computers/m-p/117459" target="_blank"&gt;https://community.meraki.com/t5/Mobile-Device-Management/HOWTO-Package-files-for-deployment-to-windows-computers/m-p/117459&lt;/A&gt;&lt;/P&gt;&lt;P&gt;So, here's a quick guide on how to package files together, whether they be fonts, files, scripts, xml and / or apps.&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF6600"&gt;&lt;STRONG&gt;Mild warning&lt;/STRONG&gt;&lt;/FONT&gt;: You will need to be familiar with Terminal&lt;/P&gt;&lt;P&gt;There's three different examples:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Script only (including an execute)&lt;/LI&gt;&lt;LI&gt;plist / xml (or other file) only&lt;/LI&gt;&lt;LI&gt;An installer made elsewhere that needs a pre or postflight script running (delete old version / expect input, etc, etc)&lt;/LI&gt;&lt;/OL&gt;&lt;H2&gt;Building your package : Scripts&lt;/H2&gt;&lt;P&gt;Open &lt;STRONG&gt;Terminal&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;using mkdir, create a directory. I've used &lt;STRONG&gt;ScriptPackage&lt;/STRONG&gt; as an example:&lt;/P&gt;&lt;PRE class="lia-code-sample language-java"&gt;&lt;CODE&gt;cd ScriptPackage
mkdir Scripts
cd Scripts
touch postinstall&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;Using a text editor, edit the postinstall file and paste in your script. Save your script&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Again, in Terminal:&lt;/P&gt;&lt;PRE class="lia-code-sample language-java"&gt;&lt;CODE&gt;chmod a+x postinstall
cd ..&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;Build the package: Type&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample language-java"&gt;&lt;CODE&gt;sudo pkgbuild --identifier com.meraki.scriptonly --nopayload --script Scripts com.meraki.scriptsonly.pkg&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Terminal should report:&lt;/P&gt;&lt;PRE class="lia-code-sample language-java"&gt;&lt;CODE&gt;pkgbuild: Adding top-level postinstall script
pkgbuild: Wrote package to com.meraki.scriptsonly.pkg&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;Note: we use the &lt;/SPAN&gt;&lt;SPAN&gt;--nopayload&lt;/SPAN&gt;&lt;SPAN&gt; flag to indicate there are no contents to the installer, just the postflight&lt;/SPAN&gt;&lt;/P&gt;&lt;H2&gt;Building your package : PLIST / XML (or other files)&lt;/H2&gt;&lt;P&gt;&lt;SPAN&gt;Open Terminal&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Using &lt;/SPAN&gt;&lt;SPAN&gt;mkdir&lt;/SPAN&gt;&lt;SPAN&gt; Create a Directory. I’ve used &lt;/SPAN&gt;&lt;STRONG&gt;PlistPackage&lt;/STRONG&gt;&lt;SPAN&gt; as the Example&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample language-java"&gt;&lt;CODE&gt;mkdir PlistPackage
cd PlistPackage
mkdir Scripts
mkdir Content
cd Scripts
touch postinstall&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;Copy the file(s) you need into the &lt;/SPAN&gt;&lt;SPAN&gt;Content&lt;/SPAN&gt;&lt;SPAN&gt; Folder&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Using a text editor, edit the postinstall file and paste in your script that will move files in &lt;/SPAN&gt;&lt;SPAN&gt;/tmp (we set where the installer will deposit the files in a following command)&lt;/SPAN&gt;&lt;SPAN&gt; to where ever you need to&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In Terminal&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample language-java"&gt;&lt;CODE&gt;chmod a+x postinstall
cd ..&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;Build the package&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample language-java"&gt;&lt;CODE&gt;sudo pkgbuild --identifier com.meraki.plistonly --root Content --script Scripts --install-location /tmp com.meraki.plistonly.pkg&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Note&lt;/STRONG&gt;: &lt;/SPAN&gt;The above is &lt;EM&gt;similar&lt;/EM&gt; to the previous example. W&lt;SPAN&gt;e’ve removed the &lt;/SPAN&gt;&lt;SPAN&gt;--nopayload&lt;/SPAN&gt;&lt;SPAN&gt; flag and replaced it with &lt;/SPAN&gt;&lt;SPAN&gt;--root Content&lt;/SPAN&gt;&lt;SPAN&gt; to indicate that there’s a folder with content in &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Double Note&lt;/STRONG&gt;: ensure that there is a space between &lt;/SPAN&gt;&lt;SPAN&gt;/tmp&lt;/SPAN&gt;&lt;SPAN&gt; and &lt;/SPAN&gt;&lt;SPAN&gt;com.meraki.plistonly.pkg&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Terminal &lt;/SPAN&gt;reports:&lt;/P&gt;&lt;PRE class="lia-code-sample language-java"&gt;&lt;CODE&gt;sudo pkgbuild --identifier com.meraki.plistonly --root Content --script Scripts --install-location /tmp com.meraki.plistonly.pkg
pkgbuild: Inferring bundle components from contents of Content
pkgbuild: Adding top-level postinstall script
pkgbuild: Wrote package to com.meraki.plistonly.pkg&lt;/CODE&gt;&lt;/PRE&gt;&lt;H2&gt; &lt;/H2&gt;&lt;H2&gt;Building your package : DMG / PKG (silent installer)&lt;/H2&gt;&lt;P&gt;&lt;SPAN&gt;Open Terminal&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Using &lt;/SPAN&gt;&lt;SPAN&gt;mkdir&lt;/SPAN&gt;&lt;SPAN&gt; Create a Directory. I’ve used &lt;/SPAN&gt;&lt;STRONG&gt;InstallerPackage&lt;/STRONG&gt;&lt;SPAN&gt; as the Example&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample language-java"&gt;&lt;CODE&gt;mkdir InstallerPackage
cd InstallerPackage
mkdir Scripts
mkdir Content
cd Scripts
touch postinstall&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;Copy the DMG  you need into the &lt;/SPAN&gt;&lt;SPAN&gt;Content&lt;/SPAN&gt;&lt;SPAN&gt; Folder&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Using a text editor, edit the postinstall file and paste in your script that will move files in &lt;/SPAN&gt;&lt;SPAN&gt;/tmp&lt;/SPAN&gt;&lt;SPAN&gt; to where ever you need to&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;In Terminal&lt;/P&gt;&lt;PRE class="lia-code-sample language-java"&gt;&lt;CODE&gt;chmod a+x postinstall
cd ..&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;Build the package:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample language-java"&gt;&lt;CODE&gt;sudo pkgbuild --identifier com.meraki.dmg --root Content --script Scripts --install-location /tmp com.meraki.dmg.pkg&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Terminal will report:&lt;/P&gt;&lt;PRE class="lia-code-sample language-java"&gt;&lt;CODE&gt;pkgbuild: Inferring bundle components from contents of Content
pkgbuild: Adding top-level postinstall script
pkgbuild: Wrote package to com.meraki.plistonly.pkg&lt;/CODE&gt;&lt;/PRE&gt;&lt;H3&gt;&lt;SPAN&gt;An example postflight to move an app from a mounted DMG to /Applications:&lt;/SPAN&gt;&lt;/H3&gt;&lt;PRE class="lia-code-sample language-javascript"&gt;&lt;CODE&gt;#!/bin/bash

dmgPath="/tmp/YourDMGName.dmg"
mountPath="/Volumes/YourDMGMounted"
currentuser="$(id -un)"
usersAppDir="$(sudo -u $currentuser echo $HOME)"

/usr/bin/hdiutil attach "$dmgPath" -nobrowse -quiet
		
if [[ -e "$mountPath" ]]
	then
		cp -r "$mountPath"/"YourApp.app" /Applications/"YourAppName.app"
fi

umount "$mountPath"

rm -rf "$dmgPath"

# insert the commands that you need to
# provision your application

exit 0&lt;/CODE&gt;&lt;/PRE&gt;&lt;H3&gt;&lt;SPAN&gt;An example postflight to move an app from a mounted DMG to /Applications where the DMG install expects user input&lt;/SPAN&gt;&lt;/H3&gt;&lt;P&gt;&lt;SPAN&gt;CaptureOne. for example, requests the user accept some EULA when opening the DMG. You can script this acceptance in your postflight:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample language-java"&gt;&lt;CODE&gt;#!/bin/bash

dmgPath="/tmp/CaptureOne12.Mac.12.1.4.dmg"
mountPath="/Volumes/Capture One 12"

/usr/bin/expect&amp;lt;&amp;lt;EOF
		spawn /usr/bin/hdiutil attach "$dmgPath" -nobrowse -quiet
		expect ":"
		send -- "G"
		expect ""
		send -- "\n"
		expect "Agree Y/N?"
		send -- "Y\n"
		expect EOF
EOF

if [[ -e "$mountPath" ]]
	then
		cp -r "$mountPath"/"Capture One 12.app" /Applications/"Capture One 12.app"
fi

umount "$mountPath"

exit 0&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;We use the &lt;STRONG&gt;EXPECT&lt;/STRONG&gt; command to wait for the prompt, and &lt;STRONG&gt;SEND&lt;/STRONG&gt; to send user input.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Hope that helps!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Mar 2023 15:18:22 GMT</pubDate>
      <guid>https://community.cisco.com/t5/endpoint-security/howto-package-files-scripts-and-apps-together-for-macos/m-p/5419505#M10424</guid>
      <dc:creator>Arthur Dent</dc:creator>
      <dc:date>2023-03-14T15:18:22Z</dc:date>
    </item>
    <item>
      <title>Re: HOWTO: Package files, scripts and apps together for macOS</title>
      <link>https://community.cisco.com/t5/endpoint-security/howto-package-files-scripts-and-apps-together-for-macos/m-p/5419506#M10425</link>
      <description>&lt;P&gt;Great info, easy to follow and well written. &lt;SPAN class="lia-unicode-emoji" title=":thumbs_up:"&gt;&lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Mar 2023 19:29:37 GMT</pubDate>
      <guid>https://community.cisco.com/t5/endpoint-security/howto-package-files-scripts-and-apps-together-for-macos/m-p/5419506#M10425</guid>
      <dc:creator>BlakeRichardson</dc:creator>
      <dc:date>2023-03-14T19:29:37Z</dc:date>
    </item>
  </channel>
</rss>

