diff options
-rw-r--r-- | src/WixToolset.Core/Msi/Database.cs | 2 |
1 files changed, 1 insertions, 1 deletions
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 | |||
131 | /// <exception cref="MsiException">Another error occured while importing the IDT file.</exception> | 131 | /// <exception cref="MsiException">Another error occured while importing the IDT file.</exception> |
132 | public void Import(string idtPath) | 132 | public void Import(string idtPath) |
133 | { | 133 | { |
134 | string folderPath = Path.GetDirectoryName(idtPath); | 134 | string folderPath = Path.GetFullPath(Path.GetDirectoryName(idtPath)); |
135 | string fileName = Path.GetFileName(idtPath); | 135 | string fileName = Path.GetFileName(idtPath); |
136 | 136 | ||
137 | int error = MsiInterop.MsiDatabaseImport(this.Handle, folderPath, fileName); | 137 | int error = MsiInterop.MsiDatabaseImport(this.Handle, folderPath, fileName); |