Showing results for 
Show  only  | Search instead for 
Did you mean: 
Level 3

CopyFile at uninstall

Hi all,

to backup a configuration file at uninstall i use the CopyFile command before the FeatureRemoveAll is called.
So far so good. The file is correctly copied, but after the uninstall the destination file is also deleted although it is not part of a feature or component. It doesn't seem to matter where i copy the file to, it disappears everywhere.

I hope someone can help me on this one

Thanks in advance

Labels (1)
0 Kudos
(2) Replies
Level 17

Perhaps calling Disable ( Logging ) before CopyFile and Enable( Logging ) after will help.
0 Kudos
Level 3

Thanks a lot,

that seems to be exactly what i was looking for.
0 Kudos