# KNIME MacOS dmg creation

**URL:** <https://forum.knime.com/t/knime-macos-dmg-creation/13730>\
**Category:** Node Development\
**Created:** [March 6, 2019, 11:50am UTC](https://forum.knime.com/t/knime-macos-dmg-creation/13730 "2019-03-06T11:50:18Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ravikiran](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/r/e480ec/32.png) [@ravikiran](https://forum.knime.com/u/ravikiran)\
**Post date:** [March 6, 2019, 11:50am UTC](https://forum.knime.com/t/knime-macos-dmg-creation/13730/1 "2019-03-06T11:50:18Z")

</div>

Could you let me know the command options that you use to create the KNIME Analytics Platform dmg (knime\_3.7.1.app.macosx.x86\_64.dmg) on MacOS? Are you using ‘hdiutil’ to create the dmg?

---

<div class="post-metadata">

**Author:** ![thor](https://forum-cdn.knime.com/user_avatar/forum.knime.com/thor/32/4_2.png) [@thor](https://forum.knime.com/u/thor)\
**Post date:** [March 7, 2019, 8:34pm UTC](https://forum.knime.com/t/knime-macos-dmg-creation/13730/2 "2019-03-07T20:34:36Z")

</div>

Yes, we are using `hdiutil`. It’s a rather long script that we use, what exactly do you want to know?

---

<div class="post-metadata">

**Author:** ![ravikiran](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/r/e480ec/32.png) [@ravikiran](https://forum.knime.com/u/ravikiran)\
**Post date:** [March 8, 2019, 5:07am UTC](https://forum.knime.com/t/knime-macos-dmg-creation/13730/3 "2019-03-08T05:07:41Z")

</div>

Hi Thorsten,

Actually I downloaded KNIME Analytics Platform 3.7.1 dmg (knime\_3.7.1.app.macosx.x86\_64.dmg) and extracted the same and recreated the dmg. Below are the sizes at various stages:

1. Original download size knime\_3.7.1.app.macosx.x86\_64.dmg - 523 M
2. Unpacking the dmg (to folder knime\_3.7.1/)- 1.4 G
3. Creating the dmg again - 788 M

And the command I used for step 4 is:  
hdiutil create knime\_3.7.1\_new.dmg -volname "SCHRODKNIME" -fs HFS+ -srcfolder knime\_3.7.1

Actually I expect the size at step 3 to be same as 523M or somewhere close to that, but it is 788 M.

So I just wanted to check if the hdiutil command options that I use to recreate the dmg is fine or not.

Thanks  
Ravikiran

---

<div class="post-metadata">

**Author:** ![thor](https://forum-cdn.knime.com/user_avatar/forum.knime.com/thor/32/4_2.png) [@thor](https://forum.knime.com/u/thor)\
**Post date:** [March 8, 2019, 8:11am UTC](https://forum.knime.com/t/knime-macos-dmg-creation/13730/4 "2019-03-08T08:11:37Z")

</div>

I see. You can compress dmg images using e.g. `hdiutil convert -format UDBZ`.

---

<div class="post-metadata">

**Author:** ![ravikiran](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/r/e480ec/32.png) [@ravikiran](https://forum.knime.com/u/ravikiran)\
**Post date:** [March 8, 2019, 3:42pm UTC](https://forum.knime.com/t/knime-macos-dmg-creation/13730/5 "2019-03-08T15:42:34Z")

</div>

OK. Thanks. Let me try this.

---

<div class="post-metadata">

**Author:** ![system](https://forum-cdn.knime.com/uploads/default/original/1X/ab3ccf34482a0329361734a18199390177204f15.png) [@system](https://forum.knime.com/u/system)\
**Post date:** [June 23, 2023, 8:32pm UTC](https://forum.knime.com/t/knime-macos-dmg-creation/13730/6 "2023-06-23T20:32:54Z")

</div>


