Hi, I would like to start out by generating the log file in a given directory (not the TEMP folder) so that in case of a failure, the user will be able to find the log easily, instead of looking in the TEMP folder and battling through all the bitrock install logs. I realize this isn't available yet, but I'd like to request the enhancement. thanks

asked 08 Oct '13, 14:05

danish's gravatar image

accept rate: 0%

I have added suggestion to improve this behavior to our bug tracking system. However, it may take some time to finish this functionality.

Is it possible for you to copy the file in <postUninstallerCreationActionList> (after a successful installation) and <installationAbortedActionList> (which is run when installation is cancelled or aborted because of an error) and copy the file to location that would be more convenient for users to find - such as:

<project> ... <postUninstallerCreationActionList> <copyFile> <abortOnError>0</abortOnError> <destination>${installer_pathname}.log</destination> <origin>${installer_installation_log}</origin> <showMessageOnError>0</showMessageOnError> </copyFile> </postUninstallerCreationActionList> <installationAbortedActionList> <copyFile> <abortOnError>0</abortOnError> <destination>${installer_pathname}.log</destination> <origin>${installer_installation_log}</origin> <showMessageOnError>0</showMessageOnError> </copyFile> </installationAbortedActionList> </project>


answered 08 Oct '13, 14:29

wojciechka's gravatar image

wojciechka ♦♦
accept rate: 26%

Any progress on this? We have to ask customers to look in the TEMP folder for the bitrock log file when the installer crashes (I have an abort action list set up to copy the file).

(14 Jul '15, 09:26) danish1

Is there any progress on this? We have a need to locate the log file somewhere other than the system temp directory.

(07 Oct '15, 04:33) seanraby

Hi seanraby,

You can use the <installationlogfile> and <uninstallationlogfile> project properties to specify an alternate location for the log file once the installation has completed. Of course, the initial log file is still created in the temporary directory, because the new location specified with that tag probably does not exist when the installer first runs.

(07 Oct '15, 04:44) jesus ♦♦
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 08 Oct '13, 14:05

Seen: 1,898 times

Last updated: 07 Oct '15, 04:44