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: New User Question - Flow Control on Installation Phase back to Preinstall?
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
‎Mar 01, 2013
01:02 PM
New User Question - Flow Control on Installation Phase back to Preinstall?
Hi, I'm pretty new to InstallAnywhere, but I have been tasked with modifying an existing InstallAnywhere installer to eliminate multiple prompts (from different executables called in the installation process) for the same username / password needed for setting up services and database connections and so on. I have set up a panel in the pre-installation section to input these values and the target executable will take those values as parameters and return a non-zero error status if the credentials are invalid.
If there's an error status, I'd like to display an error message and then jump back to the preinstallation panel where I requested the credentials and then resume normal flow into the Installation section again. I'm confused by the lack of Jump Labels and Jump Actions in the Installation section. How do I do what I want to do? If it's not possible, then I am wondering what use it is getting the return status from the executable?
Thanks!
jdmaddison
Minneapolis, MN
If there's an error status, I'd like to display an error message and then jump back to the preinstallation panel where I requested the credentials and then resume normal flow into the Installation section again. I'm confused by the lack of Jump Labels and Jump Actions in the Installation section. How do I do what I want to do? If it's not possible, then I am wondering what use it is getting the return status from the executable?
Thanks!
jdmaddison
Minneapolis, MN
(2) Replies
‎Mar 05, 2013
12:05 AM
Hi,
You can try to validate the inputs at pre-install phase itself. Is it necessary to go to the install phase and then check their validity?
You can try to validate the inputs at pre-install phase itself. Is it necessary to go to the install phase and then check their validity?
‎Mar 05, 2013
09:59 AM
RamyaVenkatesh wrote:
You can try to validate the inputs at pre-install phase itself. Is it necessary to go to the install phase and then check their validity?
No, that should work. I was confused by the launch target executable task only being an option in the Install phase. It looks like the execute batch/script action in the Pre-Install phase does the same thing.
Thanks,
jdmaddison