From d54900b8bc856e0fbe2d0ef99b1433de0c0112dc Mon Sep 17 00:00:00 2001 From: Aric Stewart Date: Wed, 11 Apr 2007 16:10:32 +0900 Subject: [PATCH] msi: Register fonts with full target paths as applications can and will install fonts to places other than the windows/fonts directory. --- dlls/msi/font.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/msi/font.c b/dlls/msi/font.c index 2b08a0f7a43..b0c43f3672e 100644 --- a/dlls/msi/font.c +++ b/dlls/msi/font.c @@ -216,8 +216,8 @@ static UINT ITERATE_RegisterFonts(MSIRECORD *row, LPVOID param) if (name) { - msi_reg_set_val_str( hkey1, name, file->FileName ); - msi_reg_set_val_str( hkey2, name, file->FileName ); + msi_reg_set_val_str( hkey1, name, file->TargetPath); + msi_reg_set_val_str( hkey2, name, file->TargetPath); } msi_free(name);