diff options
| author | Rob Mensching <rob@firegiant.com> | 2021-03-16 10:52:55 -0700 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2021-03-16 11:07:44 -0700 |
| commit | 0d4df529a7e34f033112a1c6f16f749880334e7d (patch) | |
| tree | 4c472f0f49ef732951f211221aa0524706523146 /src/WixToolset.Core.WindowsInstaller/MsiBackend.cs | |
| parent | 60f75abcd1fe49052c118a2597ac59a82c372b64 (diff) | |
| download | wix-0d4df529a7e34f033112a1c6f16f749880334e7d.tar.gz wix-0d4df529a7e34f033112a1c6f16f749880334e7d.tar.bz2 wix-0d4df529a7e34f033112a1c6f16f749880334e7d.zip | |
Use validation now implemented in Core.Native
Fixes wixtoolset/issues#5946
Diffstat (limited to 'src/WixToolset.Core.WindowsInstaller/MsiBackend.cs')
| -rw-r--r-- | src/WixToolset.Core.WindowsInstaller/MsiBackend.cs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/WixToolset.Core.WindowsInstaller/MsiBackend.cs b/src/WixToolset.Core.WindowsInstaller/MsiBackend.cs index a6cf4f60..3bd58c25 100644 --- a/src/WixToolset.Core.WindowsInstaller/MsiBackend.cs +++ b/src/WixToolset.Core.WindowsInstaller/MsiBackend.cs | |||
| @@ -24,13 +24,11 @@ namespace WixToolset.Core.WindowsInstaller | |||
| 24 | extension.PreBackendBind(context); | 24 | extension.PreBackendBind(context); |
| 25 | } | 25 | } |
| 26 | 26 | ||
| 27 | var validator = Validator.CreateFromContext(context, "darice.cub"); | ||
| 28 | |||
| 29 | IBindResult result = null; | 27 | IBindResult result = null; |
| 30 | var dispose = true; | 28 | var dispose = true; |
| 31 | try | 29 | try |
| 32 | { | 30 | { |
| 33 | var command = new BindDatabaseCommand(context, backendExtensions, validator); | 31 | var command = new BindDatabaseCommand(context, backendExtensions, "darice.cub"); |
| 34 | result = command.Execute(); | 32 | result = command.Execute(); |
| 35 | 33 | ||
| 36 | foreach (var extension in backendExtensions) | 34 | foreach (var extension in backendExtensions) |
