[Casper] Smart Notebook software & composer
Gene Anderson
ganderson at phrd.ab.ca
Mon Oct 26 10:12:48 PDT 2009
I meant to post to the list on how I got Smart's latest NoteBook and driver package installed without including it my base image. Sorry for taking so long on this.
I had the same experience as everyone else it appears in trying to bundle or deploy Notebook and the drivers package either together or separately. I finally cobbled together a script which did the install and I had it run "At Reboot" for my Casper imaging configuration. The script also works as part of a policy. For all of those who are including Smart's software as part of their base image, this script could be changed to install any needed updates later on. It generates an error due to the
irritating warning messages within Smart's installer package, but it does install successfully.
<DISCLAIMER> I've used it on a few hundred workstations with no ill effects so far (knock wood) and it's been a few months, so I believe it's safe to use. But as always, test, test, test and then test again to be sure it will work in your environment. </DISCLAIMER>
Script operates as follows:
1) creates a directory within /Volumes
2) mounts a _hardcoded_ casper sharepoint and maps the sharepoint to the newly created Volumes directory
3) using Apple's installer, installs Smart's NoteBook and driver packages
4) copies the necessary Smart preferences for the licensing, gallery locations and Team content locations
5) sets permissions on the Smart preferences files to all users
#!/bin/bash
# written by Gene Anderson (ganderson at phrd.ab.ca)
# Systems Analyst, PHRD #7
# June 18, 2009
#
# This script was written to install the current version of Smart's
# NoteBook software (v10.0.346.2) and drivers (v10.0.345.5). An error
# occurs when trying to install this software silently as it incorreclty
# reports Flash is missing and also warns to close all applications.
# create Casper folder
mkdir /Volumes/Casper
# mount CaspeShare on server
mount_afp "afp://user:password@server.yourdomain.com/CasperShare" /Volumes/Casper
# install Smart NoteBook
installer -pkg /Volumes/Casper/Packages/SB_10.0.346.2.mpkg -target /
# install Smart drivers
installer -pkg /Volumes/Casper/Packages/SMART\ Board\ Drivers\ 10.0.345.5.mpkg -target /
# copy license preference file and set permissions
cp /Volumes/Casper/Packages/com.smarttech.Registry.plist /Users/Shared/Library/Preferences/com.smarttech.Registry.plist
cp /Volumes/Casper/Packages/com.smarttech.gallery.plist /Users/Shared/Library/Preferences/com.smarttech.gallery.plist
chown phrdtech:staff /Users/Shared/Library/Preferences/com.smarttech.*
chmod ugo=rx /Users/Shared/Library/Preferences/com.smarttech.*
exit 0
Gene Anderson
Systems Analyst, ACTC, MCP
Pembina Hills Regional Division No.7
Phone: (780) 674-8535 ext 6860
email: ganderson at phrd.ab.ca
"I'm not a quack, I'm a mad scientist. There's a difference"
- Dr Cockroach, PHD.
More information about the Casper
mailing list