Monday, November 15, 2021

[SOLVED] install4j rpm media file ignores service and zip file actions

Issue

I'm trying to generate an rpm media file using install4j multi platform v5.0.8. My launcher executable is "Service". My installer includes the ""Install a service" action. When I'm installing the rpm, the root directory and the script that runs the application are created successfully. However, no link is placed in /etc/init.d. I tried using rpm -ivv to investigate the matter, and it seems that no command to add the link is issued.

What can be the problem ?


Solution

The RPM archive will not execute any actions. Only installers execute screens and actions. You have to define a Unix/Linux GUI installer for that on the "Media" step of the install4j IDE.



Answered By - Ingo Kegel