Problem with running installation kit on mac os - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

Adrian Mojoatca
Posts: 8
Joined: Wed Jan 16, 2013 2:30 pm

Problem with running installation kit on mac os

Hello,
I have the following problem:
- I've created two separate intsllation kits using Advanced Intstaller (one for Windows one for Mac)
- Basically they use one single jar file
- The one for Windows works fine
- The one for Mac does not work
I've saw that after building, the Advanced Intsaller creates a simple .zip for Mac. Unzipping the archive on Windows works really fine (I can find my jar in contens/resources/java directory). But when unzipping on mac it doesn't unzip the file (it stops when it reaches the [app_name].app).
Do you have any idea why this is happening?
Any help is appreciated.
Thanks alot,
Adrian
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Problem with running installation kit on mac os

Hi Adrian and welcome to our forums,

That is strange. Are you using the latest version of Advanced Installer to build your packages? Also, do you have available another Mac to test the zip on, to make sure there it no problem with the current one?

Best regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Adrian Mojoatca
Posts: 8
Joined: Wed Jan 16, 2013 2:30 pm

Re: Problem with running installation kit on mac os

Hi Bogdan,
Thank you for your answer. I've tested it on another mac and I have the same issue.
I've also removed the jar from the kit (and replace it with a simple txt file). The problem remains.
Please keep in mind the following:
- let's say my application is named "Adi".
- I set in Media section the file name "AdiKit.zip" for Build Mac OS
- I add in File and Folders at Application Folder some file (either the jar, or some sample txt file)
- In Java Products I add a product "MyProduct" and check Include the Java Product in Mac OS build
- Build for Mac the product
- run the kit on Mac
- The "AdiKit.zip" runs on Mac and makes a "AdiKit"folder
- In "AdiKit"folder there is a "MyProduct" folder ("MyFolder.app") which cannot be open, but...
- If I look at its content ("Show Package Content) it has the jar or the text file I've included.
Any hints? I've expected that running the kit on mac does not involve any other opration that some double clicks (at least the clients that will use my application expect that).
Thank you,
Adrian
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Problem with running installation kit on mac os

Hi Adrian,

Can you please send me the zip at support at advancedinstaller dot com or attach it on the forums so we can study it?

Best regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Problem with running installation kit on mac os

Hi Adrian,

We tested the package you've sent us by e-mail and the problem appears because the package is not digitally signed. For debugging purposes you can remove this check from the machine using the settings from the attached screenshot.

However, when you are ready to send it to your users you should have the package signed after it is built by Advanced Installer. We do not have this option available in Advanced Installer for Mac packages.

Best regards,
Bogdan
Attachments
MacCapture.PNG
MacCapture.PNG (67.61 KiB) Viewed 5049 times
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Adrian Mojoatca
Posts: 8
Joined: Wed Jan 16, 2013 2:30 pm

Re: Problem with running installation kit on mac os

Hello Bogdan,
If I understood correctly:
- for mac distribution, first the kit must be created with Advanced Installer
- second the resulted zip must be signed with another external application (some digital signature app) - because Advanced Installer does not have this option
- then the resulted zip can be run on mac
Let me know if this is correct.
Also, if yes, can you let me know what particullar application can be used in order to properly sign the application (or resulted zip?).
Thank you,
Adrian
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Problem with running installation kit on mac os

Hi Adrian,

This article gives you more details about code signing and the tool you need.

Best regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”