I have used the following command for dmg file attach and detech
hdiutil attach installer.dmg
hdiutil detach installer.dmg
in the dmg file it contains test.app GUI mode installation, i can drag the test.app to application location
What i need is when i double-click the script, dmg containing the app should install automatically to
application location in mac os x after that terminal window should automatically closed
Thanks in advance for your answers