AbsoluteManageExport

Here is a processor that takes as input a pkg or executable and a SDPackages.ampkgprops (plist config) to output a .amsdpackages for use in Absolute Manage. If no SDPackages.ampkgprops is specified a default config will be generated.

You can use this processor by making a new recipe or by adding an override like shown below.

<?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>Identifier</key>
	<string>local.pkg.AdobeFlashPlayer</string>
	<key>Input</key>
	<dict>
		<key>NAME</key>
		<string>AdobeFlashPlayer</string>
	</dict>
	<key>ParentRecipe</key>
	<string>com.github.autopkg.pkg.FlashPlayerExtractPackage</string>
	<key>Process</key>
	<array>
		<dict>
			<key>Comment</key>
			<string>Export the embedded package into .amsdpackages to use in Absolute Manage</string>
			<key>Arguments</key>
			<dict>
				<key>source_payload_path</key>
				<string>%RECIPE_CACHE_DIR%/%NAME%-%version%.pkg</string>
				<key>dest_payload_path</key>
				<string>%RECIPE_CACHE_DIR%/%NAME%-%version%.amsdpackages</string>
				<key>sdpackages_ampkgprops_path</key>
				<string>/Users/burgintj/Desktop/SDPackages.ampkgprops</string>
			</dict>
			<key>Processor</key>
			<string>AbsoluteManageExport</string>
		</dict>
	</array>
</dict>
</plist>