diff options
Diffstat (limited to 'src/WixToolset.Core.WindowsInstaller')
-rw-r--r-- | src/WixToolset.Core.WindowsInstaller/Bind/BindDatabaseCommand.cs | 4 | ||||
-rw-r--r-- | src/WixToolset.Core.WindowsInstaller/Bind/CreateCabinetsCommand.cs | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/WixToolset.Core.WindowsInstaller/Bind/BindDatabaseCommand.cs b/src/WixToolset.Core.WindowsInstaller/Bind/BindDatabaseCommand.cs index 2f161305..c47a1e56 100644 --- a/src/WixToolset.Core.WindowsInstaller/Bind/BindDatabaseCommand.cs +++ b/src/WixToolset.Core.WindowsInstaller/Bind/BindDatabaseCommand.cs | |||
@@ -22,7 +22,7 @@ namespace WixToolset.Core.WindowsInstaller.Bind | |||
22 | // As outlined in RFC 4122, this is our namespace for generating name-based (version 3) UUIDs. | 22 | // As outlined in RFC 4122, this is our namespace for generating name-based (version 3) UUIDs. |
23 | internal static readonly Guid WixComponentGuidNamespace = new Guid("{3064E5C6-FB63-4FE9-AC49-E446A792EFA5}"); | 23 | internal static readonly Guid WixComponentGuidNamespace = new Guid("{3064E5C6-FB63-4FE9-AC49-E446A792EFA5}"); |
24 | 24 | ||
25 | public BindDatabaseCommand(WixToolset.Extensibility.IBindContext context, IEnumerable<IWindowsInstallerBackendExtension> backendExtension, Validator validator) | 25 | public BindDatabaseCommand(IBindContext context, IEnumerable<IWindowsInstallerBackendExtension> backendExtension, Validator validator) |
26 | { | 26 | { |
27 | this.TableDefinitions = WindowsInstallerStandardInternal.GetTableDefinitions(); | 27 | this.TableDefinitions = WindowsInstallerStandardInternal.GetTableDefinitions(); |
28 | 28 | ||
@@ -49,7 +49,7 @@ namespace WixToolset.Core.WindowsInstaller.Bind | |||
49 | 49 | ||
50 | private string CabCachePath { get; } | 50 | private string CabCachePath { get; } |
51 | 51 | ||
52 | private CompressionLevel DefaultCompressionLevel { get; } | 52 | private CompressionLevel? DefaultCompressionLevel { get; } |
53 | 53 | ||
54 | public IEnumerable<IDelayedField> DelayedFields { get; } | 54 | public IEnumerable<IDelayedField> DelayedFields { get; } |
55 | 55 | ||
diff --git a/src/WixToolset.Core.WindowsInstaller/Bind/CreateCabinetsCommand.cs b/src/WixToolset.Core.WindowsInstaller/Bind/CreateCabinetsCommand.cs index 28e7f6df..997ffa09 100644 --- a/src/WixToolset.Core.WindowsInstaller/Bind/CreateCabinetsCommand.cs +++ b/src/WixToolset.Core.WindowsInstaller/Bind/CreateCabinetsCommand.cs | |||
@@ -54,7 +54,7 @@ namespace WixToolset.Core.WindowsInstaller.Bind | |||
54 | /// Sets the default compression level to use for cabinets | 54 | /// Sets the default compression level to use for cabinets |
55 | /// that don't have their compression level explicitly set. | 55 | /// that don't have their compression level explicitly set. |
56 | /// </summary> | 56 | /// </summary> |
57 | public CompressionLevel DefaultCompressionLevel { private get; set; } | 57 | public CompressionLevel? DefaultCompressionLevel { private get; set; } |
58 | 58 | ||
59 | public IEnumerable<IWindowsInstallerBackendExtension> BackendExtensions { private get; set; } | 59 | public IEnumerable<IWindowsInstallerBackendExtension> BackendExtensions { private get; set; } |
60 | 60 | ||
@@ -99,7 +99,7 @@ namespace WixToolset.Core.WindowsInstaller.Bind | |||
99 | { | 99 | { |
100 | var mediaTuple = entry.Key; | 100 | var mediaTuple = entry.Key; |
101 | IEnumerable<FileFacade> files = entry.Value; | 101 | IEnumerable<FileFacade> files = entry.Value; |
102 | CompressionLevel compressionLevel = this.DefaultCompressionLevel; | 102 | CompressionLevel compressionLevel = this.DefaultCompressionLevel ?? CompressionLevel.Medium; |
103 | 103 | ||
104 | string mediaLayoutFolder = null; | 104 | string mediaLayoutFolder = null; |
105 | 105 | ||