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
- :
- ABORT an install or send an exit code
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
Aug 06, 2009
10:28 AM
ABORT an install or send an exit code
Why isn't there an "abort" action that you can put a rule on? I mean, there are certain instances where things just don't line up properly on the system you're attempting to install on.
I know - I could have a message box that says "sorry, no go" and then have it exit --- but this specifically is for silent installers, so that is no good. If I could put an ABORT action with a rule in the Pre-Install phase, that would solve all my problems, but no such action exists. Anyone have any suggestions about an alternate way to do this?
I have also toyed with allowing the install to continue, but setting a return code to indicate failure. Not sure if this can be done either.
I've thought about setting INSTALL_SUCCESS to FATAL_ERROR, but the docs say that variable is read-only.
I'm just looking for more control here on the setup process itself.
Thanks in advance!
I know - I could have a message box that says "sorry, no go" and then have it exit --- but this specifically is for silent installers, so that is no good. If I could put an ABORT action with a rule in the Pre-Install phase, that would solve all my problems, but no such action exists. Anyone have any suggestions about an alternate way to do this?
I have also toyed with allowing the install to continue, but setting a return code to indicate failure. Not sure if this can be done either.
I've thought about setting INSTALL_SUCCESS to FATAL_ERROR, but the docs say that variable is read-only.
I'm just looking for more control here on the setup process itself.
Thanks in advance!
(1) Reply
Sep 06, 2009
10:43 PM
zunkination wrote:
Why isn't there an "abort" action that you can put a rule on? I mean, there are certain instances where things just don't line up properly on the system you're attempting to install on.
I know - I could have a message box that says "sorry, no go" and then have it exit --- but this specifically is for silent installers, so that is no good. If I could put an ABORT action with a rule in the Pre-Install phase, that would solve all my problems, but no such action exists. Anyone have any suggestions about an alternate way to do this?
I have also toyed with allowing the install to continue, but setting a return code to indicate failure. Not sure if this can be done either.
I've thought about setting INSTALL_SUCCESS to FATAL_ERROR, but the docs say that variable is read-only.
I'm just looking for more control here on the setup process itself.
Thanks in advance!
Good question, maybe IA2030? I can't wait for Acresso to address this! IMHO, on this note, they should have let us extend the InstallAction, which would allow us to do a lot more useful things.