Windows Installer Wants to Re-Install an Installed Font file
Posted: Mon Feb 23, 2009 9:54 am
I have come across several applications with similar problems to the following.
I have an application which I install (onto a PC w/ Windows XP). As a result of this installation one or more font files are installed into the standard Windows font folder (i.e., C:\WINDOWS\Fonts). [For example: MININ___.TTF]. I then copy the font file(s) and relocate them into a different folder (e.g., ...\Font Archive\), and then uninstall the font(s) from C:\WINDOWS\Fonts. Then using MainType I install the font(s). MainType is configured to not copy the installed fonts to the Windows font folder. The result is that the font(s) are installed, but the files do not reside in the Windows font folder.
The problem is that when I then try to launch the application, Windows logs an error in the Event Viewer similar to the following:
Detection of product '{E8D54BE3-7781-4B87-BB9F-62719B0E52A6}', feature 'AlwaysInstall', component '{8648246C-F73E-4567-A75A-9E50FAE70374}' failed. The resource 'C:\WINDOWS\Fonts\MININ___.TTF' does not exist.
And, Windows [.msi] Installer then tries to re-install the font file(s) into the Windows font folder.
Why does Windows not detect that the font file is already installed?
And, how do I prevent it from re-installing the font file back into the Windows font folder?
I have an application which I install (onto a PC w/ Windows XP). As a result of this installation one or more font files are installed into the standard Windows font folder (i.e., C:\WINDOWS\Fonts). [For example: MININ___.TTF]. I then copy the font file(s) and relocate them into a different folder (e.g., ...\Font Archive\), and then uninstall the font(s) from C:\WINDOWS\Fonts. Then using MainType I install the font(s). MainType is configured to not copy the installed fonts to the Windows font folder. The result is that the font(s) are installed, but the files do not reside in the Windows font folder.
The problem is that when I then try to launch the application, Windows logs an error in the Event Viewer similar to the following:
Detection of product '{E8D54BE3-7781-4B87-BB9F-62719B0E52A6}', feature 'AlwaysInstall', component '{8648246C-F73E-4567-A75A-9E50FAE70374}' failed. The resource 'C:\WINDOWS\Fonts\MININ___.TTF' does not exist.
And, Windows [.msi] Installer then tries to re-install the font file(s) into the Windows font folder.
Why does Windows not detect that the font file is already installed?
And, how do I prevent it from re-installing the font file back into the Windows font folder?