How to uninstalling iWorks
Apple's try before you buy is a big winner with me!
My only question is, how should I Uninstall iWorks?
Mac OS X (10.6.3)
Mac OS X (10.6.3)
set p2f to path to preferences folder from local domain as Unicode text
set liste to {"com.apple.iWork09.Installer.plist", "com.apple.iWork09.plist"}
tell application "System Events"
repeat with itm in liste
try
delete disk item (p2f & itm)
end try
end repeat
end tell
set p2f to path to library folder from local domain as Unicode text
set liste to {"Application Support:iWork '09", "Receipts:iWork09Trial.pkg"}
tell application "System Events"
repeat with itm in liste
try
delete disk item (p2f & itm)
end try
end repeat
end tell
set p2f to path to applications folder from local domain as Unicode text
tell application "System Events"
try
delete disk item (p2f & "iWork '09")
end try
end tell
set p2f to path to preferences folder from user domain as Unicode text
set liste to {"com.apple.iWork.Keynote.plist", "com.apple.iWork.Numbers.plist", "com.apple.iWork.Keynote.plist"}
tell application "System Events"
repeat with itm in liste
try
delete disk item (p2f & itm)
end try
end repeat
end tell
--
set the_congress to path to preferences folder from local domain as Unicode text
set some_senators to {"com.apple.iWork09.Installer.plist", "com.apple.iWork09.plist"}
tell application "System Events"
repeat with a_senator in some_senators
try
delete disk item (the_congress & a_senator)
end try
end repeat
end tell
set the_congress to path to library folder from local domain as Unicode text
set some_senators to {"Application Support:iWork '09", "Receipts:iWork09Trial.pkg"}
tell application "System Events"
repeat with a_senator in some_senators
try
delete disk item (the_congress & a_senator)
end try
end repeat
end tell
set the_congress to path to applications folder from local domain as Unicode text
tell application "System Events"
try
delete disk item (the_congress & "iWork '09")
end try
end tell
set the_congress to path to preferences folder from user domain as Unicode text
set some_senators to {"com.apple.iWork.Keynote.plist", "com.apple.iWork.Numbers.plist", "com.apple.iWork.Keynote.plist"}
tell application "System Events"
repeat with a_senator in some_senators
try
delete disk item (the_congress & a_senator)
end try
end repeat
end tell
--
set dossierdesfichiers to path to preferences folder from local domain as Unicode text
set listedefichiers to {"com.apple.iWork09.Installer.plist", "com.apple.iWork09.plist"}
tell application "System Events"
repeat with un_fichier in listedefichiers
try
delete disk item (dossierdesfichiers & un_fichier)
end try
end repeat
end tell
set dossierdesfichiers to path to library folder from local domain as Unicode text
set listedefichiers to {"Application Support:iWork '09", "Receipts:iWork09Trial.pkg"}
tell application "System Events"
repeat with un_fichier in listedefichiers
try
delete disk item (dossierdesfichiers & un_fichier)
end try
end repeat
end tell
set dossierdesfichiers to path to applications folder from local domain as Unicode text
tell application "System Events"
try
delete disk item (dossierdesfichiers & "iWork '09")
end try
end tell
set dossierdesfichiers to path to preferences folder from user domain as Unicode text
set listedefichiers to {"com.apple.iWork.Keynote.plist", "com.apple.iWork.Numbers.plist", "com.apple.iWork.Keynote.plist"}
tell application "System Events"
repeat with un_fichier in listedefichiers
try
delete disk item (dossierdesfichiers & un_fichier)
end try
end repeat
end tell
--
How to uninstalling iWorks