eitanElmalam
Posts: 29
Joined: Wed Jul 30, 2014 12:02 pm

Create Mac Installation

Hello,

I have product that work fine on windows and I want to create zip package for installation on mac.
I need guide in two issues:
1.I want to add the java for mac the jdk(jdk-7u67-macosx-x64.dmg) , to the package, so if I understood I need to add it to JavaProduct (Files And Folders) the file as is ??
or what I need to do exactly that the java will be bundle with the product ??
Do I need to open the file (jdk-7u67-macosx-x64.dmg) on mac and copy the folder ?? what I need to do ?

2.I want that the zip file that create in MacBuild will include everything, include the exe file or I do not know which file running on mac , for running the application ,
So I add the exe files to the FilesAndFolder and I got small zip file of 7 K but only my jar runnable file is 50M the msi file for windows is 100M so what I did wrong ??

I need full explanation how to create package for mac.
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Create Mac Installation

Hello Eitan,

The first step is to go in the Media page and create a MacBuild.

In order to bundle a JRE with your MacBuild build use the [ Add JRE Bundle... ] button from the Java Settings tab.
Do I need to open the file (jdk-7u67-macosx-x64.dmg) on mac and copy the folder ?? what I need to do ?
Yes, your assumption is correct.
2.I want that the zip file that create in MacBuild will include everything, include the exe file or I do not know which file running on mac , for running the application ,
So I add the exe files to the FilesAndFolder and I got small zip file of 7 K but only my jar runnable file is 50M the msi file for windows is 100M so what I did wrong ??
The MacBuild shouldn't contain any .EXE resources.
However, in order to have a better view about this, can you please send us the .AIP(project file) to support at advancedinstaller dot com so we can investigate it?

Some more insight on this feature can be found in our MAC OS X package user guide article.

Please let me know if that helped.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
eitanElmalam
Posts: 29
Joined: Wed Jul 30, 2014 12:02 pm

Re: Create Mac Installation

Hi,

Thanks.
The guide for java bundle is very clear thanks.
I add my .aip file.
But the question, how I add my "java product" to macBuild what I need to add ? how I add the jar file that include the application ?

Thanks
Attachments
BeyondXML.aip
(169.14 KiB) Downloaded 307 times
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Create Mac Installation

Hi Eitan,

You can add your existing .jar file using the Add JAR(s) button from the Java products settings tab.

Also, in the Mac OS X settings Tab make sure that the Files and Folders section only contains resources specific for the MAC OS X package.

Please let me know if you have other questions.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”