vakbijevs
Posts: 12
Joined: Wed Nov 15, 2006 3:43 pm

How to add into Info.plist (MacOS x) add custom key values

We want to add custom key in this file, but this is not a an JVM key, how we can add it?

For example
key -> LSUIElement
string->1
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

Currently AI does not offer directly support to add key in the Info.plist file. But we add this on our TODO list and will be available in a future version of AI. Thank you for your suggestion.

Until then you need to manually modify that file. After you build the MacOs X package open the created .zip archive and add that key manually in the Info.plist file.

Best Regards,
Gigi
_______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
vakbijevs
Posts: 12
Joined: Wed Nov 15, 2006 3:43 pm

OK, but if we try modify zip file, we lose execution flag/bit on JavaApplicationStab file. Can you provide an solution?

Best way to have possible add n key`s via some form (for example "MacOS X" tab -> "Custom key" list + add, remove, edit buttons)

P.S. any ETA for next AI version?
Ionut
Posts: 605
Joined: Tue Nov 22, 2005 11:29 am
Contact: Website

Hi,
OK, but if we try modify zip file, we lose execution flag/bit on JavaApplicationStab file. Can you provide an solution?
You should use an archiving tool that is able to extract/add individual files from/to the ZIP archive.

Extract the "Info.plist" file from the ZIP archive, modify it with a text editor as necessary and save it as UTF-8, then add the modified file to the archive overwriting the existing "Info.plist" file.

Regards,
Ionut
Denis Toma
Advanced Installer Team
http://www.advancedinstaller.com/
vakbijevs
Posts: 12
Joined: Wed Nov 15, 2006 3:43 pm

Hi,
Ionut wrote:Hi,
OK, but if we try modify zip file, we lose execution flag/bit on JavaApplicationStab file. Can you provide an solution?
You should use an archiving tool that is able to extract/add individual files from/to the ZIP archive.
Regards,
Ionut
Works for manual builds (WinZIP, PowerArchiver) only! But doesn't work for automated builds (command line scripts, ant and java). Do you know an commant line ZIPer with options add file and add folders info?

So, when we can get new AI version with requested feature?
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,
Do you know an commant line ZIPer with options add file and add folders info?
You can try with 7-Zip.
So, when we can get new AI version with requested feature?
This feature is scheduled for 4.7 release of Advanced Installer.

Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
vakbijevs
Posts: 12
Joined: Wed Nov 15, 2006 3:43 pm

gigi wrote:You can try with 7-Zip.
Tested with IZarc, looks ok! 10x!
gigi wrote:This feature is scheduled for 4.7 release of Advanced Installer.
Can you provide an date?
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,
Can you provide an date?
With approximation, after a month from 4.6 release (scheduled this week).

Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
DavidPayne
Posts: 19
Joined: Fri Aug 31, 2007 1:26 pm

gigi wrote: This feature is scheduled for 4.7 release of Advanced Installer.
Hi,

Just wondering whether this feature has been included in the current version (6.1.1)? I can't find it in any of the documentation, but perhaps I'm not looking in the right place?

(I'm trying to add a <key>WorkingDirectory</key><string>...</string>).

Many thanks,
Dave.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi,

The necessary keys are generated automatically when using the "No Dock icon and no Menu Bar interaction" option in the "MAC OS X" tab of the Java Product:
http://www.advancedinstaller.com/user-g ... s-tab.html

However, if you need to add custom keys then the only solution is to extract the "Info.plist" file from the ZIP archive, modify it with a text editor as necessary and save it as UTF-8. After this you add the modified file to the archive overwriting the existing "Info.plist" file.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
DavidPayne
Posts: 19
Joined: Fri Aug 31, 2007 1:26 pm

cosmin wrote:if you need to add custom keys then the only solution is to extract the "Info.plist" file from the ZIP archive, modify it with a text editor as necessary and save it as UTF-8.
I understand, I just read your response above as meaning that you were implementing the ability to set custom keys in version 4.7. Not to worry, I'll include it as part of my build process, it's just a bit of a nuisance, that's all.
colleenex
Posts: 1
Joined: Fri Aug 14, 2009 10:30 am

Re: How to add into Info.plist (MacOS x) add custom key values

How can one run mac OS 9 under windows xp? I've got a bunch of old cds for mac OS 9 that I'd like to run under xp. Firstly, Is there a stand alone OS 9 emulator for xp? Secondly, I've also got a copy of OS 9 as well as a copy of vmware workstation. Is it possible to run 9 from vmware?
___________________
affiliateelite ~ affiliateelite.com ~ adgooroo ~ adgooroo.com
Last edited by colleenex on Fri Aug 21, 2009 8:51 am, edited 1 time in total.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: How to add into Info.plist (MacOS x) add custom key values

Hi,

Please note that this forum is only for Advanced Installer support.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Feature Requests”