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
- :
- Re: Linux installer without command prompt
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
‎Apr 12, 2011
01:27 AM
Linux installer without command prompt
Hi,
I am creating one installer for linux using InstallAnywhere 2010. I am using Redhat. I created the installer, installed it. When i click on Desktop Shortcut created upon installation, command Prompt (terminal) opens. Application is working fine. But, I don't want to terminal window to open when i run this application. As soon as, i close terminal window, application stops.
What i want is:
Upon running the application, terminal window shouldn't open. (I tried javaw instead of java, but it closes terminal as soon as it opens, so application stops automatically)
How should i do it?
I am creating one installer for linux using InstallAnywhere 2010. I am using Redhat. I created the installer, installed it. When i click on Desktop Shortcut created upon installation, command Prompt (terminal) opens. Application is working fine. But, I don't want to terminal window to open when i run this application. As soon as, i close terminal window, application stops.
What i want is:
Upon running the application, terminal window shouldn't open. (I tried javaw instead of java, but it closes terminal as soon as it opens, so application stops automatically)
How should i do it?
(3) Replies
‎Apr 12, 2011
02:46 AM
Hi,
You should replace installanywhere shortcuts in your installation and create .desktop files instead.
The file name "$USER_SHORTCUTS$$/$YOUR_APP.desktop" should look like this:
[Desktop Entry]
Type=Application
Name=APP_NAME
Exec=$USER_INSTALL_DIR$$/$EXECUTABLE_NAME
Icon=$USER_INSTALL_DIR$$/$ICON_NAME
Terminal=false
--Jerome
You should replace installanywhere shortcuts in your installation and create .desktop files instead.
The file name "$USER_SHORTCUTS$$/$YOUR_APP.desktop" should look like this:
[Desktop Entry]
Type=Application
Name=APP_NAME
Exec=$USER_INSTALL_DIR$$/$EXECUTABLE_NAME
Icon=$USER_INSTALL_DIR$$/$ICON_NAME
Terminal=false
--Jerome
‎Apr 18, 2011
01:22 AM
Thanks for the reply. Actually, i don't want to do it manually. After the installation is over and i click on desktop shortcut generated by installer, application should run but no terminal (command prompt) should appear. How should i do it?
‎Apr 18, 2011
03:40 AM
tarun91 wrote:
Thanks for the reply. Actually, i don't want to do it manually. After the installation is over and i click on desktop shortcut generated by installer, application should run but no terminal (command prompt) should appear. How should i do it?
There is no manual operation to perform!?
Replace your unix shortcut in you installer (UI - install tab) like explain above, just replace the paths and names to match you specific install settings.
By setting 'Terminal=false' then there will be no terminal.