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: execute a batch file in pre-install
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
‎Nov 30, 2009
12:45 PM
execute a batch file in pre-install
I have a situation, where I need to run a batch file in a custom code in pre-install steps
Thanks
-/ Jude
Thanks
-/ Jude
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 01, 2009
05:17 AM
Hey Jude, don't make it bad.
Just ask a question and
you may get an answer.
Then you can start to make it better.
apart from this joke, I don't understand what's your issue exactly ?
Just ask a question and
you may get an answer.
Then you can start to make it better.
apart from this joke, I don't understand what's your issue exactly ?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 01, 2009
07:31 AM
😉 Jerome, I think that the issue is that the setup has to run a .bat file in the pre-install section, when normally there aren't any files installed yet!
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 01, 2009
08:44 AM
In such case, there is the EXTRACTOR_DIR which can be retrieved in custom code and file can be executed from there in pre-install action.
Or is script should be invisible for end user, then INSTALLER_TEMP_DIR can be used.
Still I don't understand what is the issue ?
an other example for extracting files in pre-install: http://kb.flexerasoftware.com/selfservice/viewContent.do?externalID=Q000443
Or is script should be invisible for end user, then INSTALLER_TEMP_DIR can be used.
Still I don't understand what is the issue ?
an other example for extracting files in pre-install: http://kb.flexerasoftware.com/selfservice/viewContent.do?externalID=Q000443
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 01, 2009
01:06 PM
hi jerome_IA,
sorry for the short question though. The issue is I need to run a sqlplus executable during a pre-install steps. Depending on feature selection, the argument(.sql file) for the sqlplus executable may be different. Capture and parse the log to check for any error messages. Depending on the OS, it should run a batch file or script.
sorry for the short question though. The issue is I need to run a sqlplus executable during a pre-install steps. Depending on feature selection, the argument(.sql file) for the sqlplus executable may be different. Capture and parse the log to check for any error messages. Depending on the OS, it should run a batch file or script.