From 87f5e82ab7f40631845c3a3a936d5417c94157d3 Mon Sep 17 00:00:00 2001 From: Rob Mensching Date: Sun, 1 Oct 2017 14:26:52 -0700 Subject: Ensure full path provided to IDT import --- src/WixToolset.Core/Msi/Database.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/WixToolset.Core/Msi/Database.cs b/src/WixToolset.Core/Msi/Database.cs index 7c3a97bb..801ebdde 100644 --- a/src/WixToolset.Core/Msi/Database.cs +++ b/src/WixToolset.Core/Msi/Database.cs @@ -131,7 +131,7 @@ namespace WixToolset.Msi /// Another error occured while importing the IDT file. public void Import(string idtPath) { - string folderPath = Path.GetDirectoryName(idtPath); + string folderPath = Path.GetFullPath(Path.GetDirectoryName(idtPath)); string fileName = Path.GetFileName(idtPath); int error = MsiInterop.MsiDatabaseImport(this.Handle, folderPath, fileName); -- cgit v1.2.3-55-g6feb