diff options
| author | Rob Mensching <rob@firegiant.com> | 2017-12-26 15:12:48 -0800 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2017-12-26 15:12:48 -0800 |
| commit | eee0773fc35c4c2d37c95186f4bf686dcb1c8d8b (patch) | |
| tree | 471dd54ac9b302c0443a242858a01b59e491c947 /src/WixToolset.Core/Bind/TransferFilesCommand.cs | |
| parent | 1d6ff8af3c423ee4622185edc986ae5caad6b122 (diff) | |
| download | wix-eee0773fc35c4c2d37c95186f4bf686dcb1c8d8b.tar.gz wix-eee0773fc35c4c2d37c95186f4bf686dcb1c8d8b.tar.bz2 wix-eee0773fc35c4c2d37c95186f4bf686dcb1c8d8b.zip | |
Move copy/move file operations to ILayoutExtension
Diffstat (limited to 'src/WixToolset.Core/Bind/TransferFilesCommand.cs')
| -rw-r--r-- | src/WixToolset.Core/Bind/TransferFilesCommand.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/WixToolset.Core/Bind/TransferFilesCommand.cs b/src/WixToolset.Core/Bind/TransferFilesCommand.cs index d4e143c3..6230a4f5 100644 --- a/src/WixToolset.Core/Bind/TransferFilesCommand.cs +++ b/src/WixToolset.Core/Bind/TransferFilesCommand.cs | |||
| @@ -13,7 +13,7 @@ namespace WixToolset.Core.Bind | |||
| 13 | 13 | ||
| 14 | internal class TransferFilesCommand | 14 | internal class TransferFilesCommand |
| 15 | { | 15 | { |
| 16 | public TransferFilesCommand(IMessaging messaging, IEnumerable<IFileSystemExtension> extensions, IEnumerable<FileTransfer> fileTransfers, bool suppressAclReset) | 16 | public TransferFilesCommand(IMessaging messaging, IEnumerable<ILayoutExtension> extensions, IEnumerable<FileTransfer> fileTransfers, bool suppressAclReset) |
| 17 | { | 17 | { |
| 18 | this.FileSystem = new FileSystem(extensions); | 18 | this.FileSystem = new FileSystem(extensions); |
| 19 | this.Messaging = messaging; | 19 | this.Messaging = messaging; |
| @@ -181,11 +181,11 @@ namespace WixToolset.Core.Bind | |||
| 181 | 181 | ||
| 182 | if (move) | 182 | if (move) |
| 183 | { | 183 | { |
| 184 | complete = this.FileSystem.MoveFile(source, destination, true); | 184 | complete = this.FileSystem.MoveFile(source, destination); |
| 185 | } | 185 | } |
| 186 | else | 186 | else |
| 187 | { | 187 | { |
| 188 | complete = this.FileSystem.CopyFile(source, destination, true); | 188 | complete = this.FileSystem.CopyFile(source, destination); |
| 189 | } | 189 | } |
| 190 | 190 | ||
| 191 | if (!complete) | 191 | if (!complete) |
