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
- :
- Create auto-start application on Mac?
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
Jan 24, 2012
05:29 PM
Create auto-start application on Mac?
I have a working InstallAnywhere installer that runs on both a Mac and Win7. I am able to configure the Win7 to put a shortcut in the Startup folder so that my application starts when Windows starts.
How do I do the same on the Mac?
I know that on a Mac that I need to put a plist file in the LaunchDaemon folder to trigger the app to start automatically. How do I do this?
a) How do I tell InstallAnywhere to create the plist file?
b) And how do I put that plist file in the LaunchDaemon folder?
c) Will this also create a background service that is invisible to any user that logs in?
I have my installer already overriding the user rights to force an administrator or root login, but there are several steps here that are not in the documentation for InstallAnywhere.
Thank you.
How do I do the same on the Mac?
I know that on a Mac that I need to put a plist file in the LaunchDaemon folder to trigger the app to start automatically. How do I do this?
a) How do I tell InstallAnywhere to create the plist file?
b) And how do I put that plist file in the LaunchDaemon folder?
c) Will this also create a background service that is invisible to any user that logs in?
I have my installer already overriding the user rights to force an administrator or root login, but there are several steps here that are not in the documentation for InstallAnywhere.
Thank you.
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jan 31, 2012
07:41 AM
It's not managed by InstallAnywhere. IA provides a rather generic framework which is good for installing files, and then for Operating System specifics it depends.
a) You have to create the .plist file yourself, for instance make a template file "xxx.plist.template" then use the IA "Modify Test File" action to obtain the right .plist for the context (unless there are no parameters to be set at install time)
b) you put the plist into the Folder by simply using a "Copy File" action in IA.
c) There are several possibilities here, it's really a MacOS X question. You have to read and fully understand the "launchd" documentation, it's quite versatile.
a) You have to create the .plist file yourself, for instance make a template file "xxx.plist.template" then use the IA "Modify Test File" action to obtain the right .plist for the context (unless there are no parameters to be set at install time)
b) you put the plist into the Folder by simply using a "Copy File" action in IA.
c) There are several possibilities here, it's really a MacOS X question. You have to read and fully understand the "launchd" documentation, it's quite versatile.