Hello,
When I install the software in a drive that does not have sufficient required space then "Apply install" command shows the error message "out of disk space".
I want to get this message in another variable so i can write this message in a text/log file.
Or if we can catch the exception in running script so that we can get to know which problem occurred.
Please advice.
Thank you
How to get an error message of command "apply install" or can we catch the exception of InstallAware script. ?
-
- Posts: 1
- Joined: Sat Jan 09, 2021 11:47 am
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: How to get an error message of command "apply install" or can we catch the exception of InstallAware script. ?
You may do a try with checking the value stored with the "LASTERROR" pre-defined variable.
https://www.installaware.com/mh52/desktop/applychanges.htm?rhsearch=apply%20install&rhsyns=%20
Hope this helps you.
https://www.installaware.com/mh52/desktop/applychanges.htm?rhsearch=apply%20install&rhsyns=%20
LASTERROR: Initially an empty string. After Windows Installer executes, set to the last error that occured during execution, if any
Hope this helps you.
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Who is online
Users browsing this forum: No registered users and 37 guests