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
- :
- Write custom messages to installation log file
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
Dec 26, 2011
06:02 AM
Write custom messages to installation log file
I want to write some custom messages to the installation log file for debugging purposes. How can I do that? I am using InstallAnywhere 2009.
(1) Reply
Dec 26, 2011
06:56 AM
InstallAnywhere do not support log file modifications, but you can try using this code. You will need to compile it and add it to a jar. Then you can set these three variables and call the class.
$ERROR_STDOUT$ - set the standard out message here
$ERROR_STDERR$ - set the standard error message here
$ERROR_MSGSTR$ - set the custom message string here
For more information on custom code, kindly refer the below KB article.
http://kb.flexerasoftware.com/selfservice/microsites/search.do?cmd=displayKC&docType=kc&externalId=Q000426&sliceId=1&docTypeID=DT_INFO_1_1&dialogID=120385959&stateId=0%200%20120387161
The below article provides sample code which should configure the installer write an entry into the install log generated during installation by InstallAnywhere.
http://kb.flexerasoftware.com/selfservice/microsites/search.do?cmd=displayKC&docType=kc&externalId=Q200412&sliceId=1&docTypeID=DT_HOWTO_1_1&dialogID=120385959&stateId=0%200%20120387161
Regards
SunnyBoy
$ERROR_STDOUT$ - set the standard out message here
$ERROR_STDERR$ - set the standard error message here
$ERROR_MSGSTR$ - set the custom message string here
For more information on custom code, kindly refer the below KB article.
http://kb.flexerasoftware.com/selfservice/microsites/search.do?cmd=displayKC&docType=kc&externalId=Q000426&sliceId=1&docTypeID=DT_INFO_1_1&dialogID=120385959&stateId=0%200%20120387161
The below article provides sample code which should configure the installer write an entry into the install log generated during installation by InstallAnywhere.
http://kb.flexerasoftware.com/selfservice/microsites/search.do?cmd=displayKC&docType=kc&externalId=Q200412&sliceId=1&docTypeID=DT_HOWTO_1_1&dialogID=120385959&stateId=0%200%20120387161
Regards
SunnyBoy