We’re setting DropDMG up to work with our Jenkins build system and are getting the following error on our test build machine running Sierra:
Error: The mounted disk image window did not have the correct window position.
The same Layout worked just fine on my development laptop. On the build machine, during the making of the DMG, you can see the DMG window open up several times and close as if it’s trying to find the right position for it. Then DropDMG gives up and shows the error.
For reasons I don’t understand, sometimes the Finder doesn’t properly save the position of the window. DropDMG will remount and fix the position a number of times to try to make sure that it sticks, but eventually it will give up and report the error. Sometimes this can be caused by installing haxies that modify the Finder, though I kind of doubt you’ve done that on your Jenkins Mac.
In most cases, the window’s position is only off by a pixel or two, so you could simply use this Terminal command:
defaults write com.c-command.DropDMG LayouterCheckWindowPosition NO
sorry for reviving this old thread but suggested answer has no effect. I’ve tried with sudo and without sudo, but result is still the same. One in like 5 builds throws this error. I am running on MacBook Air 13-inch, retina, macOS Mojave, DropDMG 3.5.5
The reason the suggestion in this post didn’t work is that it’s for telling DropDMG to ignore the window position, whereas you are getting an error about the window size. There is a different Terminal command in the error message (or just click here) for if you want to tell DropDMG not to check the window size.
You could also this link to enable some debug logging that will show up in future diagnostic reports.