From fb2e8cb8a28a2a1a84909a8793a57d0d575da610 Mon Sep 17 00:00:00 2001 From: Rob Mensching Date: Tue, 16 Mar 2021 16:12:50 -0700 Subject: Make ResetAcl opt-in instead of opt-out --- src/WixToolset.Core/LayoutCreator.cs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/WixToolset.Core/LayoutCreator.cs') diff --git a/src/WixToolset.Core/LayoutCreator.cs b/src/WixToolset.Core/LayoutCreator.cs index b31c4e16..0c5aaf63 100644 --- a/src/WixToolset.Core/LayoutCreator.cs +++ b/src/WixToolset.Core/LayoutCreator.cs @@ -18,13 +18,9 @@ namespace WixToolset.Core { internal LayoutCreator(IServiceProvider serviceProvider) { - this.ServiceProvider = serviceProvider; - this.Messaging = serviceProvider.GetService(); } - private IServiceProvider ServiceProvider { get; } - private IMessaging Messaging { get; } public void Layout(ILayoutContext context) @@ -44,7 +40,7 @@ namespace WixToolset.Core { this.Messaging.Write(VerboseMessages.LayingOutMedia()); - var command = new TransferFilesCommand(this.Messaging, context.Extensions, context.FileTransfers, context.SuppressAclReset); + var command = new TransferFilesCommand(this.Messaging, context.Extensions, context.FileTransfers, context.ResetAcls); command.Execute(); } -- cgit v1.2.3-55-g6feb