How to run a script file on Linux ?
I'm building a setup for Linux, And i need to run a script file after the installation is done.
How do i do that ?
Go to sequence view, and include a wizard action in Post Installation list. Select Execute Process action from wizard action list. In properties of Execute Process action, give path of the shell script file in command property. Hope this helps.
Running Linux script
You could do it by the following in the PostInstallSummaryDialog code. For example:
Runtime.getRuntime().exec("sh directory2script/script.sh"); Make sure to set excutable permissions Runtime.getRuntime().exec("chmod -R 755 directory2script/script.sh");