On Mar 5, 2008, at 3:33 AM, SVV Satyanarayana wrote:
Thanks for the reply. Please clarify my doubts:
2. When I saved it as Application bundle, the icon of the bundle is some default icon. If I change it to my own icon, at the time of creating .dmg file for distribution, how the icon has to be handled?
I'm assuming that you are using Script Editor. Some years ago, I found that SE does not do a very good job of creating an application bundle. Getting an icon to work properly is one of its problems.
You can correct the icon problem manually:
The value of 'CFBundleIconFile' in the Info.plist file must agree with the name of your icon in the 'Resources' folder.
But, then ... the icon does not appear until you have created a copy of the application bundle in the Finder.
I found this much to tedious to do more than once .. so I AppleScripted this, which uses SE to compile the application, then builds the bundle correctly.