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
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: System.out.println and logEvent - where is the output??
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
‎Aug 25, 2006
10:20 AM
System.out.println and logEvent - where is the output??
I have a log file defined for my project. In the Advanced Properties section, I set the Log File property to myDir\install.log
During the "PreInstall" sequences of my project, I have some wizard action java classes that do System.out.prinltln's and also do some logEvent()'s. Since the log file I defined is relative to the install location AND IS NOT CREATED YET SINCE I AM IN THE PRE-INSTALL part of the installation, where does this info go? I need it.
I have been told InstallShield places this info in a temp file somewhere - I looked but NO file could be found on my machine.
The big issue for me is that my installer fails sometimes in a PreInstall step and never gets to the Install sequence, so the install.log file is never created....and therefore, I CANNOT see get my log information on what happened.
Thanks for any info.
During the "PreInstall" sequences of my project, I have some wizard action java classes that do System.out.prinltln's and also do some logEvent()'s. Since the log file I defined is relative to the install location AND IS NOT CREATED YET SINCE I AM IN THE PRE-INSTALL part of the installation, where does this info go? I need it.
I have been told InstallShield places this info in a temp file somewhere - I looked but NO file could be found on my machine.
The big issue for me is that my installer fails sometimes in a PreInstall step and never gets to the Install sequence, so the install.log file is never created....and therefore, I CANNOT see get my log information on what happened.
Thanks for any info.
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 25, 2006
11:37 AM
Have you tried running with the -is:javaconsole option so that you can get the debug console window to come up? That should contain your System.out.println messages.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 25, 2006
11:45 AM
Perfect! Thank you.
![](/skins/images/3B39CE851FDD5528C393F146EB70A2D0/responsive_peak/images/icon_anonymous_message.png)