[Casper] Shockwave and Rosetta - still need a command

Leacy, Miles Miles.Leacy at PoloRalphLauren.com
Fri May 16 09:41:11 PDT 2008


Of course test, test, test and test again, on a system that won¹t cause you
any problems if you break it, but here¹s what I¹d do...

Put together a defaults write script to create these plist entries.  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.

Alternatively, you could package up the plist, and fill existing users (FEU)
and fill user template (FUT).  The upside is that all all current and future
users on the target system will have this setting.  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.

A third alternative would be to create a Launch Services package using the
User Environment tab within Composer and again, FEU and FUT.  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.  Further, I¹d recommend re-creating your Launch Services package
after adding or removing any software titles to your environment.

I hope this helps.


On 5/13/08 3:00 PM, "Dan Peterka" <dpeterka at sbsd.k12.ca.us> wrote:

> The Open using Rosetta setting modifies the file:
>  ~/Library/Preferences/com.apple.LaunchServices.plist
> 
> defaults read com.apple.LaunchServices shows an entry:
> 
>     LSPrefsFatApplications = {
>         "com.apple.Safari" = (
>             <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>
> 
> that corresponds to what is seen using Property List Editor. When the button
> is clicked off, this entry disappears. 
> 
> Two problems: 1) How to get this to be happen at the system level and 2) how
> to set it using the command line. 
> 
> I don't know what the data between the <...>'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:
> 
>     "LSArchitecturesForX86_64" =     {
>         "com.apple.Safari" =         (
>             <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>,
>             ppc,
>             <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>,
>             ppc
>         );
>     };
> 
>  
> Dan Peterka
>  
> 
> On May 13, 2008, at 6:36 AM, Leacy, Miles (US) wrote:
> 
>> 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.
>> 
>> 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. 
>> 
>> 
>> ----- Original Message -----
>> From: casper-bounces at list.jamfsoftware.com
>> <casper-bounces at list.jamfsoftware.com>
>> To: casper at list.jamfsoftware.com <casper at list.jamfsoftware.com>
>> Sent: Mon May 12 19:12:51 2008
>> Subject: [Casper] Shockwave and Rosetta - still need a command
>> 
>> 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.
>> 
>> 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?
>> 
>> Dan Peterka
>> 
>> 
>> I am looking for a solution to enable Rosetta for Safari and Firefox
>> usingl a command line on Intel Macs. We are looking at a product that
>> requgires Shockwave with another plug-in module that forces us to run the
>> rbrowser in Rosetta mode.
>> 
>> Dan Peterka
>> 


-- 
Miles Leacy
Senior Macintosh Technician
Polo Ralph Lauren
212-318-7603
miles.leacy at poloralphlauren.com









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.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.jamfsoftware.com/pipermail/casper/attachments/20080516/15567716/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 5731 bytes
Desc: not available
Url : http://list.jamfsoftware.com/pipermail/casper/attachments/20080516/15567716/attachment.png 


More information about the Casper mailing list