Fonts incorrectly un-installed. - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

Robbie
Posts: 13
Joined: Thu Jul 24, 2008 12:25 am

Fonts incorrectly un-installed.

My project ensures that certain fonts are installed on the machine.
On my test machine these fonts were already available.
After a trial install and un-install the fonts were not available on the machine anymore.
I strongly believe in cleaning up properly on uninstall, but if components were already on the machine before installation, I believe they should not be removed.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Fonts incorrectly un-installed.

Hi,
I strongly believe in cleaning up properly on uninstall, but if components were already on the machine before installation, I believe they should not be removed.
Please note that the fonts are simple files which are overwritten by your package. Therefore, Windows Installer doesn't treat them as already installed components.

A solution for this would be to detect the fonts during the installation by using searches or a custom action. The properties of the searches (or the ones set by the custom action) can then be used to condition the installation of the fonts in your package).

Other solutions would be to install the fonts in another folder, install them with different names or make their components "Permanent" (the components will not be uninstalled).

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”