<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>brunerd &#187; Adobe</title>
	<atom:link href="http://www.brunerd.com/blog/category/adobe/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.brunerd.com/blog</link>
	<description>pushin' bytes around</description>
	<lastBuildDate>Fri, 04 Jun 2010 15:55:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Make Acrobat Pro 9 for Mac shut the hell up!</title>
		<link>http://www.brunerd.com/blog/2010/02/05/make-acrobat-pro-9-for-mac-shut-the-hell-up/</link>
		<comments>http://www.brunerd.com/blog/2010/02/05/make-acrobat-pro-9-for-mac-shut-the-hell-up/#comments</comments>
		<pubDate>Fri, 05 Feb 2010 17:52:58 +0000</pubDate>
		<dc:creator>brunerd</dc:creator>
				<category><![CDATA[Adobe]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[Packages]]></category>
		<category><![CDATA[Scripting]]></category>

		<guid isPermaLink="false">http://www.brunerd.com/blog/?p=165</guid>
		<description><![CDATA[So, if you deploy Acrobat Pro to a corporate environment you already know what an aggravating experience it is to try and deploy updates to Adobe products. Silent install? Sure. Silent Update? No. Standard Mac .pkg? No. So you figure out all the files with loggen, Tracker, fseventer, or whatever your tool, then build your [...]]]></description>
			<content:encoded><![CDATA[<p>So, if you deploy Acrobat Pro to a corporate environment you already know what an aggravating experience it is to try and deploy updates to Adobe products. Silent install? Sure. Silent Update? No. Standard Mac .pkg? No.</p>
<p>So you figure out all the files with loggen, Tracker, fseventer, or whatever your tool, then build your own package with Iceberg. Great. Then you find your &#8220;standard&#8221; users without admin privileges are getting bothered by Adobe&#8217;s SelfHeal BS.</p>
<p>Few things going on here that I&#8217;ll try and explain, the code formatting should be copy paste-able check it in a text editor, but all line breaks should be preserved.</p>
<p>Make sure you copy in the new Acrobat Internet-Plugin if the user is using that:<br />
<code>if [ -d "/Library/Internet Plug-Ins/AdobePDFViewer.plugin" ]; then<br />
rm -rf "/Library/Internet Plug-Ins/AdobePDFViewer.plugin";<br />
cp -R "/Applications/Adobe Acrobat 9 Pro/Adobe Acrobat Pro.app/Contents/MacOS/SelfHealFiles/Library/Internet Plug-Ins/AdobePDFViewer.plugin" "/Library/Internet Plug-Ins/";<br />
fi</code></p>
<p>These next keys really make it complain if it can&#8217;t find them, and yes even if you don&#8217;t use the plugin it looks for WebBrowserUsePath, so make sure it&#8217;s there, and  NoViewerSelfHealNeeded gets a new date put after it for every release! Wow neato, a fun easter egg hunt, thanks Adobe!<br />
<code>defaults write /Library/Preferences/com.adobe.acrobat.90.sh "NoViewerSelfHealNeeded Dec 21 2009" -bool TRUE<br />
defaults write /Library/Preferences/com.adobe.acrobat.pdfviewer WebBrowserUsePath -string "file://localhost/Applications/Adobe%20Acrobat%209%20Pro/Adobe%20Acrobat%20Pro.app/"<br />
defaults write /Library/Preferences/com.adobe.acrobat.pdfviewer AdobePDFDriver -string "file://localhost/Applications/Adobe%20Acrobat%209%20Pro/Adobe%20Acrobat%20Pro.app/"</code></p>
<p>Now is the truly ridiculous part: if those files and keys aren&#8217;t found Acrobat ask for an <strong>administrator</strong> password and then proceed to write them in current users ~/Library/Preferences! What your users don&#8217;t know is they can click Cancel a couple times and it will still write them out, but your they&#8217;ve already called you to remote in and authenticate them &#8211; you lose! Why Adobe?! <strong>WHY</strong>!?! Asking for an admin password when you&#8217;ll just write it to ~/Library/Preferences?</p>
<p>PDF Printer &#8211; Here&#8217;s the files you need:<code><br />
/Library/Printers/PPDs/Contents/Resources/en.lproj/ADPDF9.PPD<br />
/Library/Printers/PPD Plugins/AdobePDFPDE900.plugin<br />
/usr/libexec/cups/backend/pdf900</code><br />
They are all found in:<code>/Applications/Adobe Acrobat 9 Pro/Adobe Acrobat Pro.app/Contents/MacOS/SelfHealFiles/AdobePDFPrinter/</code></p>
<p>After you&#8217;ve copied them to their places, you can run Adobe install script:<br />
<code>/Applications/Adobe\ Acrobat\ 9\ Pro/Adobe\ Acrobat\ Pro.app/Contents/MacOS/SelfHealFiles/AdobePDFPrinter/cupshup.pl</code></p>
<p>I also figured this out in lpadmin too:<br />
<code>lpadmin -p AdobePDF9 -E -P /Library/Printers/PPDs/Contents/Resources/en.lproj/ADPDF9.PPD -v pdf900://distiller/ -D "Adobe PDF 9.0"</code></p>
<p>Even if you&#8217;ve copied in the PPD, the PDE plugin, the cups backend, and setup the printer, it&#8217;ll still think its damaged because you don&#8217;t have the PPD in Korean, Japanese, and two type of Chinese! So, must use PlistBuddy to correct this (because <code>defaults</code> is tricky to use when a dictionary is nested in an array &#8211; WHY Adobe?!)</p>
<p>Quiet the printer &#8220;repair&#8221;:<br />
<code>/usr/libexec/PlistBuddy -c "set :0:IsInstalledKey NO" /Library/Application\ Support/Adobe/Acrobat/SHExpectedMissingFileTypes.plist</code><br />
For Tiger users the path is: <code>/Library/Receipts/iTunesX.pkg/Contents/Resources/PlistBuddy</code></p>
<p>It&#8217;s almost shut the hell up, but the Adobe Updater might decide to pop-up and urge your user to call you up to run updates, so shut it up you got to jump through some hoops, its an &#8220;XML&#8221; file Adobe style so defaults won&#8217;t work on it, nor will plistbuddy, that and it&#8217;s a per user setting, so they must run it once to make the file, then you can change it:<code><br />
cat ~/Library/Application\ Support/Adobe/Updater6/AdobeUpdaterPrefs.dat | sed 's/1\&lt;\/AutoCheck\&gt;/0\&lt;\/AutoCheck\&gt;/' &gt; ~/Library/Application\ Support/Adobe/Updater6/AdobeUpdaterPrefs.new; mv ~/Library/Application\ Support/Adobe/Updater6/AdobeUpdaterPrefs.new ~/Library/Application\ Support/Adobe/Updater6/AdobeUpdaterPrefs.dat</code></p>
<p>Yes, Adobe has a <a href="http://kb2.adobe.com/cps/404/kb404813.html">document</a> for this but it seems only to remove the ability to check for updates within the app?!</p>
<p><code> </code></p>
<p>Trivia: You might want to copy  in the new AcroEFGPro90SelfHeal.xml file, although running &#8220;repair&#8221; from Acrobat will copy in the new file and for some odd Adobe reason, the self heal inside the app uses Mac line endings but when magically moved to <code>/Library/Application Support/</code>, it has Unix line endings changing the size by 2282 bytes (and also the place of a key as well?). This was a read herring in my research.<br />
<code>cp -f /Applications/Adobe\ Acrobat\ 9\ Pro/Adobe\ Acrobat\ Pro.app/Contents/MacOS/AcroEFGPro90SelfHeal.xml /Library/Application\ Support/Adobe/Acrobat/AcroEFGPro90SelfHeal.xml</code></p>
<p>Adobe: CS5 had better <strong>not</strong> use InstallerVISE, iNosso, bindiff, Java, XML, or whatever convoluted processes you are clinging to, just use the dang pkg format that Apple has provided &#8211; sheesh. Is this overwrought complex system supporting &#8220;make-work&#8221; jobs for programmers?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.brunerd.com/blog/2010/02/05/make-acrobat-pro-9-for-mac-shut-the-hell-up/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Create a standard .pkg for Acrobat Reader</title>
		<link>http://www.brunerd.com/blog/2009/06/10/create-a-standard-pkg-for-acrobat-reader/</link>
		<comments>http://www.brunerd.com/blog/2009/06/10/create-a-standard-pkg-for-acrobat-reader/#comments</comments>
		<pubDate>Wed, 10 Jun 2009 19:59:29 +0000</pubDate>
		<dc:creator>brunerd</dc:creator>
				<category><![CDATA[Adobe]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[Packages]]></category>

		<guid isPermaLink="false">http://www.brunerd.com/blog/?p=114</guid>
		<description><![CDATA[It&#8217;s time to patch Acrobat Reader again! And leave it to Adobe to use a patcher app (or Installer Vise, or a downloader, or a some crazy Javascript/XML/AIR based installer) to make things hard for mass deployment to be achieved (and no I don&#8217;t think the Deployment Kit for CS4 makes much sense!). Perhaps soon [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s time to patch Acrobat Reader again! And leave it to Adobe to use a patcher app (or Installer Vise, or a downloader, or a some crazy Javascript/XML/AIR based installer) to make things hard for mass deployment to be achieved (and no I don&#8217;t think the Deployment Kit for CS4 makes much sense!). </p>
<p>Perhaps soon they&#8217;ll have a full version of Reader available for download in a seemingly standard .pkg file, but don&#8217;t be fooled! If you admin Macs like I do you might have noticed it uses the iNosso plugin to uncompress it&#8217;s payload and it is totally incompatible with ARD&#8217;s Install Package. It just fails.</p>
<p>But fear not, I am a big fan of <a href="http://s.sudre.free.fr/Software/Iceberg.html">Iceberg</a> and it&#8217;s ability to make the painstaking process of installing Adobe apps <strong>so</strong> much easier. And I want to share the love. So here take <a href='http://www.brunerd.com/blog/wp-content/uploads/adobereader-iceberg.zip'>this.</a></p>
<p>I put a small how-to in the <a href='http://www.brunerd.com/blog/wp-content/uploads/adobereader-iceberg.zip'>zip file</a> with a sparse set of instructions and caveats. Basically you install Acrobat Reader in the normal way, install Iceberg, open the iceberg project, and build. You&#8217;ll then have a pkg that ARD can push out.</p>
<p>If you have questions &#8212; Google it! <img src='http://www.brunerd.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /><br />
(OK you can leave a comment, but for gawd&#8217;s sake not &#8220;How do I use this?&#8221; &#8212; seriously!)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.brunerd.com/blog/2009/06/10/create-a-standard-pkg-for-acrobat-reader/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
