View Full Version : How to backup a copy of an install log?

10-02-2013, 12:08 PM

I would like to make a backup of my install.log located in the %temp% folder at the of my installation. My project is a Basic MSI project.

I want to copy this file into c:\programdata\<companyname>\.... folder. If I have a custom action to backup the log file, it displays the error "copying <source> to <destination> failed. Error number -2147024894 The system cannot find the file specified".

I am executing the copy only if the source file is found. So, which file is it looking for?

Could it be that it is not able to copy the file since the log file is opened for write?

Please help.


10-03-2013, 08:41 AM
you should be able to copy the log file. What is your CA for doing so?

10-07-2013, 12:57 PM
I did add a custom action to Backup the setup log, as an action to be done when the Finish button is executed. I added it to run After DLLWrapCleanup in Install UI Sequence.

This is the first time I am doing this, so not sure if I am doing this in the write sequence.