Font not found - 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!

AndrewNott
Posts: 11
Joined: Wed Aug 30, 2006 7:47 pm

Font not found

Hi.

I'm having trouble detecting whether a font is installed or not. I look for the ttf filename in the FontsFolder but AI always reports the file is not found.

On the Prerequisites Install Conditiosn screen I look for the file "[FontsFolder]andalemo.ttf", any version.

The OS is Win2k Pro. I also tried looking for "[WindowsFolder]Fonts\andalemo.ttf" and for "[FontsFolder]Andale Mono".

Nothing worked.

Other prerequisites seem okay - is there something special about font files?
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

You don't need to use prerequisites to detect if a font is installed or not. After you have added the font file in the "Files and Folder" page you can create a search for the font file and condition the component of the font with the result of the search.

Best Regards,
Gigi
_______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
AndrewNott
Posts: 11
Joined: Wed Aug 30, 2006 7:47 pm

The font is from Microsoft and the license only allows for redistribution using their installer package.

Their installer package also reboots the computer, so I'm nervous about using a search and a custom action. Will AI recover from this okay, or will temp files be left around?

I thought a prerequisite would solve the issue because it seems to handle reboots rather nicely. Is it unable to detect fonts, or am I doing something wrong here?

Thanks.
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,
Their installer package also reboots the computer, so I'm nervous about using a search and a custom action. Will AI recover from this okay, or will temp files be left around?
You can install the Microsoft package as custom action. Switch to "Custom Actions" page and add a "New Attached Custom Action" under "InstallExecuteSequence->InstallFinalize" standard action.

Best Regards,
Gigi
_______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”