Embedded JAR with MacOs - Advanced Installer Community
DenisL
Posts: 2
Joined: Mon Oct 10, 2016 7:49 am

Embedded JAR with MacOs

Hello,

I am starting to work with AI with Java application and it seems work nice!
I have once small question for a moment. In "Files and Folders" section I am not adding any jars but using embedded jar option to point to externally located jar - this works nice because I don't want jar to be deployed as file but only as exe embedded content. But when I adding MacOs build I can't integrate jar into application script if it is not in "Files and Folders" section. So to get MacOs work I have to add jar as deployable file which I want to avoid for Win installation. Do my question makes sense or I missing something ?

Regards,
Denis
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Embedded JAR with MacOs

Hi Denis,

I apologize for the delayed replay.

Indeed, in order to get the MacOS build to work you need to add the JAR file in the "Files and Folders" page. However, to exclude the file from the MSI build you can go in the "Organization" page, select its related component and use the "AI_BUILD_NAME" property as a condition for it (i.e. AI_BUILD_NAME >< "DefaultBuild").

Let me know if this helped, otherwise give me more details about your scenario.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”