14 Replies Latest reply: Apr 22, 2013 3:35 PM by BDAqua
kt1983 Level 1 Level 1 (0 points)

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!!

 

Thanks,

KT.


OS X Mountain Lion (10.8.1)