debug font install

73 views
Skip to first unread message

Jean Cremers

unread,
Feb 5, 2021, 11:34:10 AM2/5/21
to innosetup
Inno is not installing one of my fonts, how can i debug this? Thanks.

Source: "HanksNakshatra.ttf"; DestDir: {autofonts}; FontInstall: "Hanks Nakshatra"; Flags: uninsneveruninstall onlyifdoesntexist

Bill Stewart

unread,
Feb 5, 2021, 11:59:12 AM2/5/21
to innosetup
On Friday, February 5, 2021 at 9:34:10 AM UTC-7 jeanc...@gmail.com wrote:

Inno is not installing one of my fonts, how can i debug this? Thanks.

Source: "HanksNakshatra.ttf"; DestDir: {autofonts}; FontInstall: "Hanks Nakshatra"; Flags: uninsneveruninstall onlyifdoesntexist

What does the installation log file say?

Jean Cremers

unread,
Feb 5, 2021, 12:43:07 PM2/5/21
to innosetup
Thanks, it says destination file already exists, skipping because of onlyifdoesntexist. To test it, i uninstalled that font and it still said 'file already exists'. 
I left out that flag and now it installs the font. Something fishy here, maybe on my side, i don't know.

Jean Cremers

unread,
Feb 5, 2021, 1:29:55 PM2/5/21
to innosetup
First time i encountered this the font was copied to c:\windows\fonts but it was not installed.

Alessandro Marinuzzi

unread,
Feb 5, 2021, 2:03:35 PM2/5/21
to inno...@googlegroups.com
Did you tried to run your setup with admin privileges?

Inviato da smartphone Samsung Galaxy Note 10+

--
You received this message because you are subscribed to the Google Groups "innosetup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to innosetup+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/innosetup/cdc8aed6-00eb-4901-b8e1-ddd801c1db6bn%40googlegroups.com.

Jean Cremers

unread,
Feb 5, 2021, 2:24:15 PM2/5/21
to innosetup
yes it's an admin install, thanks.

Jean Cremers

unread,
Feb 5, 2021, 2:51:47 PM2/5/21
to innosetup
I left out onlyifdoesntexist, now it consistently installs the font.
Reply all
Reply to author
Forward
0 new messages