cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
ujjawalr
Level 2

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.
Labels (1)
0 Kudos
(1) Reply
SunnyBoy
Level 6

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
0 Kudos