Cievo
Commander
Commander

1. check the font version using a script

I have no idea how to determine font version Smiley Happy. And I'm not sure if fonts have any kind of versioning.

If I would do this I would do checksum on font file I want to use and copare it to checksum used file on user's computer. Install font if checksums differ.

2. "tell" to ThinApp which one it should use

I don't understand what you mean. I think fonts are used by application and not by ThinApp. And if application is written to use for example font with name "Arial very bold", application (neither it's native or virtualized) asks OS to provide its font. There is an option to write script which will run just before running virtulized application. I would compare font files as I mentioned abobe and "install" font if needed.

All font files used in OS (windows based) are store in directory %SystemRoot%\Fonts\ and information about installed fonts are in registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts so changing this two places is enought to install new font using following vbs script (script comes from web http://www.edugeek.net/forums/scripts/4756-script-install-fonts-workstations.html:disappointed_face:

' ****************************************************************************
' Copy Fonts From Network Share To C:\WINDOWS\FONTS Folder Of Workstation
' ****************************************************************************

Set WshShell = CreateObject("WScript.Shell")
WshShell.Run "xcopy.exe ""
\\%SERVERNAME%\%SHARE \FONTS"" ""C:\windows\fonts"" /C /I /S /E /H /Y /Q", 1,True

' ****************************************************************************


' Imports The Registry Information For The New Fonts - Add A New Line For Each New Font
' Example : WshShell. RegWrite"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts\%FONT REG KEY%", "%FONT REG KEY ENTRY%", "REG_SZ"
' ****************************************************************************

Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell. RegWrite"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts\Twiggy-Bold (TrueType)", "Twiggy-Bold.ttf", "REG_SZ"
WshShell. RegWrite"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts\Twiggy-Light (TrueType)", "Twiggy-Light.ttf", "REG_SZ"

Of course you can add more cool stuff to this script. Some checking if file exists and so on.

3. add it to the project to be started before the exe...?

Yes, before executable of aplication. Not before ThinApp Entry Point. Read at http://pubs.vmware.com/thinapp4/help/scripts.html#996384.

Sorry for asking so many questions but in this matter I'm a total newbie :smileyblush:

That's why this forum is doing it's job well. Smiley Happy

***Good question is half of the answer...***