Ensure full path provided to IDT import
Rob Mensching committed
Oct 1, 2017 at 14:26 UTC
87f5e82ab7f40631845c3a3a936d5417c94157d3
1 file changed
+1
-1
src/WixToolset.Core/Msi/Database.cs
+1
-1
@@ -131,7 +131,7 @@ namespace WixToolset.Msi
131
/// <exception cref="MsiException">Another error occured while importing the IDT file.</exception>
132
public void Import(string idtPath)
133
{
134
- string folderPath = Path.GetDirectoryName(idtPath);
134
+ string folderPath = Path.GetFullPath(Path.GetDirectoryName(idtPath));
135
string fileName = Path.GetFileName(idtPath);
136
137
int error = MsiInterop.MsiDatabaseImport(this.Handle, folderPath, fileName);