cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
jesuraj
Level 4

How to backup a copy of an install log?

Hi,

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\\.... folder. If I have a custom action to backup the log file, it displays the error "copying to 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.

Thanks,
Elizabeth.
Labels (1)
0 Kudos
(2) Replies
Cygnusx1
Level 8

you should be able to copy the log file. What is your CA for doing so?
0 Kudos
jesuraj
Level 4

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