Skip navigation

Install and uninstall of dmg file using Apple script in Mac 10.6 and higher version.

1893 Views 14 Replies Latest reply: Apr 22, 2013 3:35 PM by BDAqua RSS
kt1983 Level 1 Level 1 (0 points)
Currently Being Moderated
Apr 18, 2013 9:12 AM

Hi ,


Could anyone please help me to write a Apple script to Install dmg file and do clean uninstall in Mac 10.6.8 and higher version.


My requirement is:


  1. When i run script : it has to install the dmg file which is located inside one desktop folder say 'New Folder'
  2. I need to do clean unistall when i run the script: i need to delete the folder in ~/Library- locate folder say  'CPSPCSHOWSERVER'' move to trash and from Terminal type in command "rm -r ~/.CPS' to completely delte this folder.

Really appreciated all ur help!!




OS X Mountain Lion (10.8.1)


More Like This

  • Retrieving data ...

Bookmarked By (0)


  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.