This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- Workaround to install in Silent Mode an application in Mac OS X
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
May 21, 2015
06:16 PM
Workaround to install in Silent Mode an application in Mac OS X
Unfortunately, Mac OS X installer created from the Mac OS X build target at Build>Build Installers>Build Targets do not support running in silent and console modes. The installer created for Mac OS X is an app bundle which does not take command line parameters. To create installers that can run in console mode on Mac, you can use the Unix(All) or UNIX_with_VM build targets at Build>Build Installers>Build Targets. The installers created from these UNIX build targets would be .bin file that can be run in both silent and console mode. However, I also wanted to let you know that there are some known issues with UNIX installer running on Mac.
Workaround to install in Silent Mode an application in Mac OS X
1. Create a conventional installer of your application for Mac OS X.
2. Edit the app bundle of your installer, edit the Info.plist of your installer:
Go to the folder: installer.app/Contents,
if you are using Finder press Ctrl-Mouse click and select “Show Package Contents”,
if you are using a Terminal session type: cd installer.app/Contents
Edit the Info.plist and change the parameter: “lax.installer.macosx.ui.default” from GUI to SILENT.
3. Now you have an installer that run in silent mode by default.
4. Copy the files of properties in the same folder of the installer of your application (i.e. installer.app). You can use a file called “installer.properties” or [installername].properties.
5. How to invoke the installer?
Open a Terminal session
cd installer.app/Contents/MacOS
run the installer: ./installer
Note: You don't need creates a UNIX installer to install in Silent Mode an application in the Mac OS X.
Marroyo
Workaround to install in Silent Mode an application in Mac OS X
1. Create a conventional installer of your application for Mac OS X.
2. Edit the app bundle of your installer, edit the Info.plist of your installer:
Go to the folder: installer.app/Contents,
if you are using Finder press Ctrl-Mouse click and select “Show Package Contents”,
if you are using a Terminal session type: cd installer.app/Contents
Edit the Info.plist and change the parameter: “lax.installer.macosx.ui.default” from GUI to SILENT.
3. Now you have an installer that run in silent mode by default.
4. Copy the files of properties in the same folder of the installer of your application (i.e. installer.app). You can use a file called “installer.properties” or [installername].properties.
5. How to invoke the installer?
Open a Terminal session
cd installer.app/Contents/MacOS
run the installer: ./installer
Note: You don't need creates a UNIX installer to install in Silent Mode an application in the Mac OS X.
Marroyo
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Apr 19, 2016
10:12 AM
An alternative is to use open from within a script or the Terminal application, e.g. open installer.app --args -f fred/iaproperties.txt
add the -g option to run the installer in the background open -g installer.app --args -f alf/bert/ia.properties
- in which case its up to you to work out when its finished !
add the -g option to run the installer in the background open -g installer.app --args -f alf/bert/ia.properties
- in which case its up to you to work out when its finished !
![](/skins/images/CC38E504FC9E1309DC48ACFEB4925670/responsive_peak/images/icon_anonymous_message.png)