I want to create an installer for a Linux distribution (Ubuntu). I have selected the "groups and files" that i want to copy with the installer.
After the installation, I want to execute the shell script (installation_mysql.sh). I marked this file to be copied in "groups and files" section and this script also needs a folder called "mysql_debian_packages" indicated in the previous section.
In "Setup types" section, we only have got the typical installation, because we have removed the custom.
In "Install Panes and Actions" --> "Install Actions", I created an "Execute External Program" indicating the following options:
- Component = Launch File
- Active = Yes
- Alias = 'NULL'
- Comment = 'NULL'
- Conditions = 0 Conditions
- Data = 'NULL'
- Execute Actions = After pane is displayed
- Ignore errors = No
- Include = Always Include
Execute as Root Yes
Execute in Console No
Program Command Line bash installation_mysql.sh
Working directory %InstallDir%
But the installation_mysql.sh script is never executed. I don't know if I should create the Execute External Program in other location or the problem is due to the Program command line, the Execute Actions or the working directory.
I need help and I will be grateful to hear your opinion. Please, tell me if I have something wrong.
Thank you so much for everything!!