<HTML>
<HEAD>
<TITLE>Re: [Casper] Shockwave and Rosetta - still need a command</TITLE>
</HEAD>
<BODY>
<FONT SIZE="4"><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Of course test, test, test and test again, on a system that won&#8217;t cause you any problems if you break it, but here&#8217;s what I&#8217;d do...<BR>
<BR>
Put together a defaults write script to create these plist entries. &nbsp;If you make that script the object of a policy that is triggered at login, with a frequency of once per user, you will set the preference for each user as they login without the need to make the change at the system level.<BR>
<BR>
Alternatively, you could package up the plist, and fill existing users (FEU) and fill user template (FUT). &nbsp;The upside is that all all current and future users on the target system will have this setting. &nbsp;The downside (and this can be big issue with a plist like LaunchServices) is that all other prefs contained within the plist will potentially be changed on the target system.<BR>
<BR>
A third alternative would be to create a Launch Services package using the User Environment tab within Composer and again, FEU and FUT. &nbsp;If you go this route, I would recommend creating your Launch Services package using a test machine that has all of the standard software for your environment installed and tested. &nbsp;Further, I&#8217;d recommend re-creating your Launch Services package after adding or removing any software titles to your environment.<BR>
<BR>
I hope this helps.<BR>
<BR>
<BR>
On 5/13/08 3:00 PM, &quot;Dan Peterka&quot; &lt;dpeterka@sbsd.k12.ca.us&gt; wrote:<BR>
<BR>
</SPAN></FONT></FONT><BLOCKQUOTE><FONT SIZE="4"><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>The Open using Rosetta setting modifies the file:  ~/Library/Preferences/com.apple.LaunchServices.plist<BR>
<BR>
defaults read com.apple.LaunchServices shows an entry:<BR>
<BR>
    LSPrefsFatApplications = {<BR>
        &quot;com.apple.Safari&quot; = (<BR>
            &lt;00000000 009a0003 00010000 c323458f 0000482b 00000000 00000023 0000727b 0000c2b0 8b4e0000 00000920 fffe0000 00000000 0000ffff ffff0001 00040000 0023000e 0016000a 00530061 00660061 00720069 002e0061 00700070 000f0014 00090053 00650072 00760065 00720020 00480044 00120017 4170706c 69636174 696f6e73 2f536166 6172692e 61707000 00130001 2f00ffff 0000&gt;<BR>
<BR>
that corresponds to what is seen using Property List Editor. When the button is clicked off, this entry disappears. <BR>
<BR>
Two problems: 1) How to get this to be happen at the system level and 2) how to set it using the command line. <BR>
<BR>
I don't know what the data between the &lt;...&gt;'s is. It is the same between users and between toggling Rosetta on and off, and the LSPrefsFatApplications entry in Tiger is replaced by a much different LSArchitecturesForX86_64 entry in Leopard:<BR>
<BR>
    &quot;LSArchitecturesForX86_64&quot; =     {<BR>
        &quot;com.apple.Safari&quot; =         (<BR>
            &lt;00000000 00a00003 00010000 c3ecd416 0000482b 00000000 000000a0 00028d9a 0000c2f1 13950000 00000920 fffe0000 00000000 0000ffff ffff0001 00040000 00a0000e 0016000a 00530061 00660061 00720069 002e0061 00700070 000f001a 000c004d 00610063 0069006e 0074006f 00730068 00200048 00440012 00174170 706c6963 6174696f 6e732f53 61666172 692e6170 70000013 00012f00 ffff0000&gt;,<BR>
            ppc,<BR>
            &lt;00000000 00960003 00010000 c44f641c 0000482b 00000000 0000005c 0000be47 0000c440 fd790000 00000920 fffe0000 00000000 0000ffff ffff0001 00040000 005c000e 0016000a 00530061 00660061 00720069 002e0061 00700070 000f0010 0007004e 00650074 0042006f 006f0074 00120017 4170706c 69636174 696f6e73 2f536166 6172692e 61707000 00130001 2f00ffff 0000&gt;,<BR>
            ppc<BR>
        );<BR>
    };<BR>
<BR>
&nbsp;<BR>
</SPAN></FONT></FONT><FONT FACE="Helvetica, Verdana, Arial"><SPAN STYLE='font-size:9pt'>Dan Peterka<BR>
</SPAN></FONT><FONT SIZE="4"><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'> <BR>
<BR>
On May 13, 2008, at 6:36 AM, Leacy, Miles (US) wrote:<BR>
<BR>
</SPAN></FONT></FONT><BLOCKQUOTE><FONT SIZE="4"><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>I don't know the answer, but the way I'd find it is to get a 'new and modified' snapshot via Composer before Rosetta is enabled, then enable Rosetta, then launch the app, then quit the app, then build the package in Composer and examine the changed files that relate to the app in question, or possibly launch services in this case.<BR>
<BR>
If the desired file is a plist, as I imagine it would be in this case, I'd find the operative key(s) and use a 'defaults write' script rather than packaging the plist to avoid altering undesired settings. <BR>
<BR>
<BR>
----- Original Message -----<BR>
From: casper-bounces@list.jamfsoftware.com &lt;casper-bounces@list.jamfsoftware.com&gt;<BR>
To: casper@list.jamfsoftware.com &lt;casper@list.jamfsoftware.com&gt;<BR>
Sent: Mon May 12 19:12:51 2008<BR>
Subject: [Casper] Shockwave and Rosetta - still need a command<BR>
<BR>
The application misbehaves with Shockwave 11, and the Shockwave XTRA plugin (a plugin to a plugin?) that allows printing from Shockwave either does not work with Shockwave 11, or does not work without rosetta enabled. Either way, it doesn't work.<BR>
<BR>
For now, it has to be Shockwave 10 in Rosetta mode. So, how can I enable rosetta in the Get Info box without touching each computer?<BR>
<BR>
Dan Peterka<BR>
<BR>
<BR>
I am looking for a solution to enable Rosetta for Safari and Firefox<BR>
usingl a command line on Intel Macs. We are looking at a product that<BR>
requgires Shockwave with another plug-in module that forces us to run the<BR>
rbrowser in Rosetta mode.<BR>
<BR>
Dan Peterka<BR>
<BR>
</SPAN></FONT></FONT></BLOCKQUOTE></BLOCKQUOTE><FONT SIZE="4"><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
<BR>
-- <BR>
Miles Leacy<BR>
Senior Macintosh Technician<BR>
Polo Ralph Lauren<BR>
212-318-7603<BR>
miles.leacy@poloralphlauren.com<BR>
<IMG src="cid:3293786471_4456781" ><BR>
<BR>
</SPAN></FONT></FONT>
This message and any attached documents contain information which may be confidential, subject to privilege or exempt from disclosure under applicable law. These materials are intended only for the use of the intended recipient. If you are not the intended recipient of this transmission you are hereby notified that any distribution, disclosure, printing, copying, storage, modification or the taking of any action in reliance upon this transmission is strictly prohibited. Delivery of this message to any person other than the intended recipient shall not compromise or waive such confidentiality, privilege or exemption from disclosure as to this communication. If you have received this communication in error, please immediately notify the sender and delete the message from your system.
</BODY>
</HTML>