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
- :
- Excute shell script in IA
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
Apr 30, 2009
06:12 AM
Excute shell script in IA
I just started to use Install anywhere 2009.I have to run my shell scrript code in preinstall task.
Let me know how can we do this.
Batch script run successfully if I write code in Excute script/batch file action but that is not working for shell script.
I tried using excute command but unable to find exact syntax.I can run in post install task using sh/..sh. How can run in preinstall task.
Thanks in advance..
Regards
Nil...
Let me know how can we do this.
Batch script run successfully if I write code in Excute script/batch file action but that is not working for shell script.
I tried using excute command but unable to find exact syntax.I can run in post install task using sh
Thanks in advance..
Regards
Nil...
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jun 09, 2009
02:32 AM
Hi Nil
1. Are you writing the set of commands inside the Script box ???
2. Or you want to run the script like: sh myscript.sh ???
Well in the first case first make sure, have you checked “suspend all installation until process completes”…..
And check “show indeterminate dialog” (just for cross checking)…
Print $EXECUTE_STDOUT$, $EXECUTE_STDERR$ in the display to check what exactly happening ???
In the second case go install task->add files
An then ad your file(myscript.sh). Select “execute target file” and then add you file….
I’ll recommend second one !!!!
1. Are you writing the set of commands inside the Script box ???
2. Or you want to run the script like: sh myscript.sh ???
Well in the first case first make sure, have you checked “suspend all installation until process completes”…..
And check “show indeterminate dialog” (just for cross checking)…
Print $EXECUTE_STDOUT$, $EXECUTE_STDERR$ in the display to check what exactly happening ???
In the second case go install task->add files
An then ad your file(myscript.sh). Select “execute target file” and then add you file….
I’ll recommend second one !!!!