I am able to create a DMG and it installs the app. So far so good.
But the issue I am facing is the scripts (shell and applescripts) creates a window with maximise button enabled. Clicking the maximise button makes the window look ugly, as bottom is cut. Also if you resize the window the background image does not cover the full window and shows white background.
For reference (see the images, as almost all DMG installer has similar issue )
What I want is
To disable the maximise button.
To fix the window size so that it can't be resized by dragging.