Benches Uncategorized

0

PackageMaker & ScreenSaver Setup

apple Verified

Imported from the Apple Support Forums via the Wayback Machine 🔗

Hello,

I'm trying to create an installer for my ScreenSaver using PackageMaker. everything works fine, excepts that I cannot select the screensaver I just installed as the current one.

I have written the following PostFlight script :

#!/bin/sh

/usr/bin/defaults -currentHost write com.apple.screensaver moduleName ToDoScreenSaver

/usr/bin/defaults -currentHost write com.apple.screensaver modulePath "/Library/Screen Savers/ToDoScreenSaver.saver"

I'm sure this script is properly executed because it is launched if I add another command to the script.

But the value in the preferences are not changed. There's no error message, everything seems to be okay, but the script simply does nothing.

Is there anybody someone that could help me ?

David

0 replies

Sign in or join Beachball Help to reply.