We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

mrichter
Posts: 20
Joined: Wed Oct 17, 2007 11:59 am

Java error stream

Hi,

I am havng a problem with my java error stream on vista. The default of APPDIR doesn't work becuase vista maps this to somewhere that I cannot find. Anyway I changed it to [AppName_DIR]\stderr.log and this sort of works. At install time in the appname.ini file the

Code: Select all

Error File=C:\Documents and Settings\username\Application Data\AppName\stderr.log
however this fails at runtime when run by a different user than the one who installed the app. Is there anyway to have the java error stream redirect to a users AppDataFolder at runtime rather than at install time?

Thanks

Mark
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi,
Is there anyway to have the java error stream redirect to a users AppDataFolder at runtime rather than at install time?
I'm afraid that currently this cannot be done. I have added this feature on our TODO list and it will be available in a future version of Advanced Installer. Thank you for your suggestion.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
seapwc
Posts: 6
Joined: Sat Oct 08, 2005 1:33 am
Location: Seattle, WA

Java error stream

I thought that feature(stdout/stderr) was working in a previous version.
I have been looking for it today after updating to 6.



If that feature has been removed, I can no longer use this tool
because when a users program blows up there is no trace of what
happened.

Are you sure that the feature did(does) not exist ?
seapwc
Posts: 6
Joined: Sat Oct 08, 2005 1:33 am
Location: Seattle, WA

Java error stream ( Found it )

I found it at ProjectDefinition/JavaProducts/StreamRedirection
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi,
I thought that feature(stdout/stderr) was working in a previous version. Are you sure that the feature did(does) not exist ?
The Java error stream is supported by Advanced Installer for per-machine locations for the output file. However, the user mrichter is having problems when he tries to redirect the error stream to a per-user location ("AppDataFolder").

Currently, per-user locations for the Java error stream output file are not supported, but this feature will be available in a future version of Advanced Installer.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”