property xIsAppleShareIPServer : true property xServerVolume : "My Server Volume" -- the volume name on the server property xUsername : "My Username" -- for guest access leave blank property xPassword : "My Password" -- for guest access leave blank -- this is only used when xIsAppleShareIPServer is true property xServerPath : "afp://192.168.1.1" -- this is only used when xIsAppleShareIPServer is false property xServer : "My Server" property xAppleTalkZone : "My Appletalk Zone" if xIsAppleShareIPServer then mount volume (xServerPath & "/" & xServerVolume) as user name xUsername with password xPassword else mount volume xServerVolume on server xServer in AppleTalk zone xAppleTalkZone as user name xUsername with password xPassword end if tell application "Installer Observer PPC" InstallPackage "My Server Volume:My Package" quit end tell tell application "Finder" put away disk xServerVolume end tell
Script #2 - For OS 8.5.1 and below
property xServerVolume : "My Server Volume" -- the volume name on the server property xServer : "My Server" property xAppleTalkZone : "My Appletalk Zone" mount volume xServerVolume on server xServer in AppleTalk zone xAppleTalkZone tell application "Installer Observer PPC" InstallPackage "My Server Volume:My Package" quit end tell tell application "Finder" put away disk xServerVolume end tell
