diff options
Diffstat (limited to 'src/WixToolset.Core.WindowsInstaller/Msi/Installer.cs')
-rw-r--r-- | src/WixToolset.Core.WindowsInstaller/Msi/Installer.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/WixToolset.Core.WindowsInstaller/Msi/Installer.cs b/src/WixToolset.Core.WindowsInstaller/Msi/Installer.cs index f8bce602..0edcd633 100644 --- a/src/WixToolset.Core.WindowsInstaller/Msi/Installer.cs +++ b/src/WixToolset.Core.WindowsInstaller/Msi/Installer.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 | ||
3 | namespace WixToolset.Msi | 3 | namespace WixToolset.Core.WindowsInstaller.Msi |
4 | { | 4 | { |
5 | using System; | 5 | using System; |
6 | using System.Diagnostics; | 6 | using System.Diagnostics; |
@@ -281,7 +281,7 @@ namespace WixToolset.Msi | |||
281 | /// <param name="hash">Int array that receives the returned file hash information.</param> | 281 | /// <param name="hash">Int array that receives the returned file hash information.</param> |
282 | internal static void GetFileHash(string filePath, int options, out int[] hash) | 282 | internal static void GetFileHash(string filePath, int options, out int[] hash) |
283 | { | 283 | { |
284 | MsiInterop.MSIFILEHASHINFO hashInterop = new MsiInterop.MSIFILEHASHINFO(); | 284 | MSIFILEHASHINFO hashInterop = new MSIFILEHASHINFO(); |
285 | hashInterop.FileHashInfoSize = 20; | 285 | hashInterop.FileHashInfoSize = 20; |
286 | 286 | ||
287 | int error = MsiInterop.MsiGetFileHash(filePath, Convert.ToUInt32(options), hashInterop); | 287 | int error = MsiInterop.MsiGetFileHash(filePath, Convert.ToUInt32(options), hashInterop); |