// Format with TAB separators. Possible values are:
// // is for comments lines
// _appl	Application_Name
// _bundle	Application_Bundle	(note: The name of the bundle)
// _news	News_FileName	(note: The name of the RTF file located in the bundle)
// _icon	Application_Icon
// _quit	Application_Path
// _copy	Item_Name_In_Package	Item_Destination_Path
// _trash	Item_Path		(trash but do not report errors)
// _trashNoErr	Item_Path	(trash and cancel if error)
// _launch	Item_Path	(note: Launch is only after installion and confirmation)

// Parameters must be modified or the application to install/uninstall
// "*TEDForTest*" is the application name in this example

{GROUP}// Parameters

_appl	Tri-BACKUP 9
_bundle	Tri-BACKUP 9.app
_news	NewInVersion
_icon	Tri-BACKUP 9.app/Contents/Resources/AppIcon.icns

{GROUP}// Installer script in first group

_quit	/Applications/Tri-BACKUP 9.app
_quit	/Applications/Tri-BACKUP 9.app/Contents/Resources/Tri-BACKUP 9 Scheduler.app
_quit	/Applications/Tri-BACKUP 9.app/Contents/Resources/Tri-BACKUP 9 Execute.app
_trashNoErr	/Applications/Tri-BACKUP 9.app
_trash	~/Library/Saved Application State/com.ted.tribackup9.savedState
_trash	~/Library/Saved Application State/com.ted.tribackup9execute.savedState
_trash	~/Library/Saved Application State/com.ted.tribackup9scheduler.savedState
_trash	~/Library/Saved Application State/com.ted.tribackup9shutdown.savedState
_copy	Tri-BACKUP 9.app	/Applications/
_launch	/Applications/Tri-BACKUP 9.app

{GROUP}// Uninstaller script in second group (full uninstall)

_quit	/Applications/Tri-BACKUP 9.app
_quit	/Applications/Tri-BACKUP 9.app/Contents/Resources/Tri-BACKUP 9 Execute.app
_quit	/Applications/Tri-BACKUP 9.app/Contents/Resources/Tri-BACKUP 9 Scheduler.app
_trashNoErr	/Applications/Tri-BACKUP 9.app
_trashNoErr	~/Library/Application Support/Tri-BACKUP 9
_trash	~/Library/Preferences/com.ted.tribackup9.plist
_trash	~/Library/Preferences/com.ted.tribackup9_scheduler.plist
_trash	~/Library/Preferences/com.ted.tribackup9_execute.plist
_trash	~/Library/Preferences/com.ted.tribackup9shutdown.plist
_trash	~/Library/Saved Application State/com.ted.tribackup9.savedState
_trash	~/Library/Saved Application State/com.ted.tribackup9execute.savedState
_trash	~/Library/Saved Application State/com.ted.tribackup9scheduler.savedState
_trash	~/Library/Saved Application State/com.ted.tribackup9shutdown.savedState
_trash	~/Library/Logs/Tri-BACKUP 9.log
_trash	~/Library/Logs/Tri-BACKUP 9 Actions.log
_trash	/private/var/root/Library/Preferences/com.ted.tribackup9.plist
_trash	/private/var/root/Library/Preferences/com.ted.tribackup9scheduler.plist
_trash	/private/var/root/Library/Preferences/com.ted.tribackup9execute.plist

{GROUP}// Uninstaller script in third group (do not remove settings and prefs)

_quit	/Applications/Tri-BACKUP 9.app
_quit	/Applications/Tri-BACKUP 9.app/Contents/Resources/Tri-BACKUP 9 Execute.app
_quit	/Applications/Tri-BACKUP 9.app/Contents/Resources/Tri-BACKUP 9 Scheduler.app
_trashNoErr	/Applications/Tri-BACKUP 9.app

// IMPORTANT: Leave next line at the end of the script
// {GROUP} is a group separator: Data, Installer, Uninstaller and Uninstaller without settings

