<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><div>I’m wondering whether some developers might prefer to arrange the DMG layout by hand.</div><div><br></div><div>That would require jpackage to use a .DS_Store file provided by the developer and not running the script.</div><div><br></div><div>The issue is whether a .DS_Store file created using a previous DMG would work in a new DMG.</div><div><br></div><div>The documentation for install4j suggests that there is a way.</div><div><br></div><div>[<a href="https://www.ej-technologies.com/resources/install4j/help/doc/concepts/dmgStyling.html">https://www.ej-technologies.com/resources/install4j/help/doc/concepts/dmgStyling.html</a>]</div><div><br></div><br id="lineBreakAtBeginningOfMessage"><div><br><blockquote type="cite"><div>On Mar 5, 2024, at 12:28 AM, Michael Hall <mik3hall@gmail.com> wrote:</div><br class="Apple-interchange-newline"><div><meta http-equiv="content-type" content="text/html; charset=utf-8"><div style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">Hello Alexander,<div><br></div><div>I had forgotten or didn’t know that. I didn’t see it mentioned anywhere in this list thread previously. But there is generally no reason to delete this file. Unless you don’t want it included in a zip or a GitHub project. The icon placement for multiple files with jpackage —mac-dmg-content is determined by the AppleScript. You might remember I had a related bug report. I provided a workaround with slight changes to the code invoking the AppleScript and the AppleScript. You came up with your own fix. I was impressed you did it by just changing the AppleScript but I slightly preferred the placement of my change. Again, if I remember right. </div><div><br></div><div>Mike<br id="lineBreakAtBeginningOfMessage"><div><br><blockquote type="cite"><div>On Mar 4, 2024, at 9:57 PM, Alexander Matveev <alexander.matveev@oracle.com> wrote:</div><br class="Apple-interchange-newline"><div><meta charset="UTF-8"><div class="WordSection1" style="page: WordSection1; caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;"><div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 11pt;">Hi Michael,<o:p></o:p></span></div><div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 11pt;"><o:p> </o:p></span></div><div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 11pt;">.DS_Store file contains information about icon position and other visual information on how to display folder. Once osascript configures DMG, Finder will store these setting in .DS_Store file. If it gets deleted from DMG, DMG will look like osascript was never run. So, Alan is right with “</span><span style="font-size: 11pt;">the configuration of the DMG appearance actually means configuring the .DS_Store file in the DMG</span><span style="font-size: 11pt;">”.<o:p></o:p></span></div><div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 11pt;"><o:p> </o:p></span></div></div></div></blockquote></div><br></div></div></div></blockquote></div><br></body></html>