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: Reporting of error/warnings - How do you achieve it with $INSTALL_SUCCESS$ read-only?
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
Sep 22, 2011
09:56 AM
Reporting of error/warnings - How do you achieve it with $INSTALL_SUCCESS$ read-only?
Hi, I'm hoping someone here can share with me how they deal with warnings and errors in their InstallAnywhere derived installers.
We have moved this year from the very old ISMP v5.03 installer to IA2010SP1 for v8 of our product. The installer has to call a number of external commands, all of which need error handling. There is a lot of logic in making sure everything has run correctly and reporting that status to the user. At first I thought we could set $INSTALL_SUCCESS$ to the appropriate value to cause the 'Install Complete' panel to show the correct msg to the user. But I have since realised that $INSTALL_SUCCESS$ is read-only :eek: and thus we can't set it to say there was a non-fatal error (for example). The same applies to the $RESTART_NEEDED$ variable.
How do other projects deal with errors from external installer steps when examining the return codes? How do you effect the final 'Install Complete' screen to show the correct msg? I'm hoping there is a simple generic solution and that we don't need to write a completely custom installation complete panel. That seems mad when the IA one does exactly what we need for all but being able to set a variable? :mad:
Thanks,
Antony
We have moved this year from the very old ISMP v5.03 installer to IA2010SP1 for v8 of our product. The installer has to call a number of external commands, all of which need error handling. There is a lot of logic in making sure everything has run correctly and reporting that status to the user. At first I thought we could set $INSTALL_SUCCESS$ to the appropriate value to cause the 'Install Complete' panel to show the correct msg to the user. But I have since realised that $INSTALL_SUCCESS$ is read-only :eek: and thus we can't set it to say there was a non-fatal error (for example). The same applies to the $RESTART_NEEDED$ variable.
How do other projects deal with errors from external installer steps when examining the return codes? How do you effect the final 'Install Complete' screen to show the correct msg? I'm hoping there is a simple generic solution and that we don't need to write a completely custom installation complete panel. That seems mad when the IA one does exactly what we need for all but being able to set a variable? :mad:
Thanks,
Antony
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Oct 12, 2011
04:29 PM
I had a brilliant idea, which I posted in a similar thread,
http://community.flexerasoftware.com/showthread.php?p=472069#post472069
Hope this helps.
http://community.flexerasoftware.com/showthread.php?p=472069#post472069
Hope this helps.