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

Replace only existing files

Hey

I am working on adding a component to my installer. The only thing is, I only want to replace a file if it exists. If not, I'd like to skip it.
In other words, I have a batch file now that does a replaceemnt using xcopy /u . I want to get rid of the batch and do it in my installer.

Has anyone tryed to do this? Any ideas?


Thanks!
Labels (1)
0 Kudos
(2) Replies
Not applicable

You can use InstallScript API XCopyFile instead of batch.
0 Kudos
psantimauro
Level 3

Thanks alot!

I will try that today!
0 Kudos