aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Core.WindowsInstaller/Bind/ProcessUncompressedFilesCommand.cs
diff options
context:
space:
mode:
authorRob Mensching <rob@firegiant.com>2017-10-14 16:12:07 -0700
committerRob Mensching <rob@firegiant.com>2017-10-14 16:12:07 -0700
commitdbde9e7104b907bbbaea17e21247d8cafc8b3a4c (patch)
tree0f5fbbb6fe12c6b2e5e622a0e18ce4c5b4eb2b96 /src/WixToolset.Core.WindowsInstaller/Bind/ProcessUncompressedFilesCommand.cs
parentfbf986eb97f68396797a89fc7d40dec07b775440 (diff)
downloadwix-dbde9e7104b907bbbaea17e21247d8cafc8b3a4c.tar.gz
wix-dbde9e7104b907bbbaea17e21247d8cafc8b3a4c.tar.bz2
wix-dbde9e7104b907bbbaea17e21247d8cafc8b3a4c.zip
Massive refactoring to introduce the concept of IBackend
Diffstat (limited to '')
-rw-r--r--src/WixToolset.Core.WindowsInstaller/Bind/ProcessUncompressedFilesCommand.cs (renamed from src/WixToolset.Core/Bind/Databases/ProcessUncompressedFilesCommand.cs)9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/WixToolset.Core/Bind/Databases/ProcessUncompressedFilesCommand.cs b/src/WixToolset.Core.WindowsInstaller/Bind/ProcessUncompressedFilesCommand.cs
index dd7b85b7..b3c09b9e 100644
--- a/src/WixToolset.Core/Bind/Databases/ProcessUncompressedFilesCommand.cs
+++ b/src/WixToolset.Core.WindowsInstaller/Bind/ProcessUncompressedFilesCommand.cs
@@ -1,6 +1,6 @@
1// Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. 1// Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information.
2 2
3namespace WixToolset.Bind.Databases 3namespace WixToolset.Core.WindowsInstaller.Databases
4{ 4{
5 using System; 5 using System;
6 using System.Collections; 6 using System.Collections;
@@ -10,11 +10,14 @@ namespace WixToolset.Bind.Databases
10 using WixToolset.Data.Rows; 10 using WixToolset.Data.Rows;
11 using WixToolset.Msi; 11 using WixToolset.Msi;
12 using WixToolset.Core.Native; 12 using WixToolset.Core.Native;
13 using WixToolset.Bind;
14 using WixToolset.Core.Bind;
15 using WixToolset.Data.Bind;
13 16
14 /// <summary> 17 /// <summary>
15 /// Defines the file transfers necessary to layout the uncompressed files. 18 /// Defines the file transfers necessary to layout the uncompressed files.
16 /// </summary> 19 /// </summary>
17 internal class ProcessUncompressedFilesCommand : ICommand 20 internal class ProcessUncompressedFilesCommand
18 { 21 {
19 public string DatabasePath { private get; set; } 22 public string DatabasePath { private get; set; }
20 23
@@ -55,7 +58,7 @@ namespace WixToolset.Bind.Databases
55 break; 58 break;
56 } 59 }
57 60
58 string sourceName = Installer.GetName(directoryRecord.GetString(3), true, this.LongNamesInImage); 61 string sourceName = Common.GetName(directoryRecord.GetString(3), true, this.LongNamesInImage);
59 62
60 directories.Add(directoryRecord.GetString(1), new ResolvedDirectory(directoryRecord.GetString(2), sourceName)); 63 directories.Add(directoryRecord.GetString(1), new ResolvedDirectory(directoryRecord.GetString(2), sourceName));
61 } 64 }