<?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>AMApplicationBuild</key>
	<string>534</string>
	<key>AMApplicationVersion</key>
	<string>2.10</string>
	<key>AMDocumentVersion</key>
	<string>2</string>
	<key>actions</key>
	<array>
		<dict>
			<key>action</key>
			<dict>
				<key>AMAccepts</key>
				<dict>
					<key>Container</key>
					<string>List</string>
					<key>Optional</key>
					<true/>
					<key>Types</key>
					<array>
						<string>com.apple.applescript.object</string>
					</array>
				</dict>
				<key>AMActionVersion</key>
				<string>1.0.2</string>
				<key>AMApplication</key>
				<array>
					<string>Automator</string>
				</array>
				<key>AMParameterProperties</key>
				<dict>
					<key>source</key>
					<dict/>
				</dict>
				<key>AMProvides</key>
				<dict>
					<key>Container</key>
					<string>List</string>
					<key>Types</key>
					<array>
						<string>com.apple.applescript.object</string>
					</array>
				</dict>
				<key>ActionBundlePath</key>
				<string>/System/Library/Automator/Run AppleScript.action</string>
				<key>ActionName</key>
				<string>Run AppleScript</string>
				<key>ActionParameters</key>
				<dict>
					<key>source</key>
					<string>-- RoomSum Slide Add-ins Installer (v3 — always installs the current set)

try
    set wefPath to POSIX path of (path to home folder) &amp; "Library/Containers/com.microsoft.Powerpoint/Data/Documents/wef"
    do shell script "mkdir -p " &amp; quoted form of wefPath

    -- Fetch the current add-in list from roomsum.com
    set listText to do shell script "curl -fsSL https://roomsum.com/ppt/manifests.txt"

    -- Remove any set this installer previously placed, under either prefix.
    -- The v2 installer wrote qa-ag-*.xml; leaving those behind would put two
    -- manifests carrying the SAME add-in ids into PowerPoint.
    do shell script "cd " &amp; quoted form of wefPath &amp; " &amp;&amp; rm -f qa-ag-*.xml roomsum-*.xml"

    -- Remove the Gen 1 installer's copy ONLY if it is ours (matched by add-in id)
    do shell script "cd " &amp; quoted form of wefPath &amp; " &amp;&amp; if [ -f manifest.xml ] &amp;&amp; grep -q 94f1f1ac-8278-4a33-8989-5739d7e5452a manifest.xml; then rm -f manifest.xml; fi"

    set fileCount to 0
    repeat with f in paragraphs of listText
        set fname to f as text
        if fname is not "" then
            do shell script "curl -fsSL " &amp; quoted form of ("https://roomsum.com/ppt/" &amp; fname) &amp; " -o " &amp; quoted form of (wefPath &amp; "/roomsum-" &amp; fname)
            set fileCount to fileCount + 1
        end if
    end repeat

    display dialog "Installed " &amp; fileCount &amp; " slide add-ins.

Next steps:
1. Quit PowerPoint completely (Cmd + Q)
2. Reopen PowerPoint
3. Insert &gt; Add-ins &gt; My Add-ins" buttons {"OK"} default button "OK" with title "RoomSum"

on error errMsg
    display dialog "An error occurred:

" &amp; errMsg &amp; "

Check your internet connection and run the installer again." buttons {"OK"} default button "OK" with title "RoomSum"
end try</string>
				</dict>
				<key>BundleIdentifier</key>
				<string>com.apple.Automator.RunScript</string>
				<key>CFBundleVersion</key>
				<string>1.0.2</string>
				<key>CanShowSelectedItemsWhenRun</key>
				<false/>
				<key>CanShowWhenRun</key>
				<true/>
				<key>Category</key>
				<array>
					<string>AMCategoryUtilities</string>
				</array>
				<key>Class Name</key>
				<string>RunScriptAction</string>
				<key>InputUUID</key>
				<string>E7902547-BCE3-4ADE-9BEA-64368F005BDD</string>
				<key>Keywords</key>
				<array>
					<string>Run</string>
				</array>
				<key>OutputUUID</key>
				<string>354602BB-52AC-4506-999C-E7F6602D8061</string>
				<key>UUID</key>
				<string>2F935A52-0F27-4F2D-9CEE-CA45AAA3B861</string>
				<key>UnlocalizedApplications</key>
				<array>
					<string>Automator</string>
				</array>
				<key>arguments</key>
				<dict>
					<key>0</key>
					<dict>
						<key>default value</key>
						<string>on run {input, parameters}
	
	(* Your script goes here *)
	
	return input
end run</string>
						<key>name</key>
						<string>source</string>
						<key>required</key>
						<string>0</string>
						<key>type</key>
						<string>0</string>
						<key>uuid</key>
						<string>0</string>
					</dict>
				</dict>
				<key>conversionLabel</key>
				<integer>0</integer>
				<key>isViewVisible</key>
				<integer>1</integer>
				<key>location</key>
				<string>309.000000:630.000000</string>
				<key>nibPath</key>
				<string>/System/Library/Automator/Run AppleScript.action/Contents/Resources/Base.lproj/main.nib</string>
			</dict>
			<key>isViewVisible</key>
			<integer>1</integer>
		</dict>
	</array>
	<key>connectors</key>
	<dict/>
	<key>workflowMetaData</key>
	<dict>
		<key>workflowTypeIdentifier</key>
		<string>com.apple.Automator.application</string>
	</dict>
</dict>
</plist>
