-
-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inno Setup Compiler – "[ISPP] Error: Unable to read font name for entry 3." #8
Comments
Your Data.ini looks good to me with one exception at the end, in the [InstallFonts] section. The original file installed four font files, yours only two so the Count property needs to be changed to read like this on line 82
Because there is no File.3 entry, FCSW shows the error. But you are right, this message isn't helpful at all if you do not have any idea of the inner working. I will think about how I could implement a sanity check that would give you a detailed error that the Count and File.X entries do not match. |
Ahh, I'm glad it was such an easy fix! Ha, I guess I mentally skipped right over that part. Thanks for pointing me in the right direction! |
👍👍👍 |
@thundernixon if there is a way to make this more intuitive so that it is easier to implement Michael's Win installer in other projects let us know. |
@texhex is it simple to implement the Appveyor based release pushes of installer builds from font files that are pushed by git commit Michael? |
@thundernixon You're welcome. I will keep this issue open until I have implemented a better error message. @chrissimpkins I'm sorry, I don't catch your meaning right now? |
@texhex sorry I was on my phone and couldn't see the README at the time. You have it documented! @thundernixon Stephen if you want to tie this into Appveyor CI for automated Win installer builds with Michael's tool here, his instructions are here https://github.com/source-foundry/FSCW#building-using-appveyor. He has this set up for our testing installer and it works extremely well. You push new font files via new git commit + git push and your remote GH repo -> Appveyor CI automatically builds the *.exe installer and pushes it as a release to the repository. Here is the release thread that shows all builds that resulted from git pushes to the repository: https://github.com/source-foundry/Hack-Test-Win-Installer/releases I love this approach. :) |
@thundernixon the other thing that we've done is add a Python script to modify the name of the test files that are pushed to the path |
Ohh wow, @chrissimpkins, that sounds even better than the Inno Setup Compiler! I found Inno to be quite simple, once I got past my typo. :) Now, my VMware Windows device is basically refusing to work, but there's a good chance it's caused by something else. That sounds pretty nice with the different names, however. It occurred to me this morning that name changes are probably the easiest and clearest way of knowing that something has actually been updated, and doesn't cause a problem if it's on a test machine, anyway. |
|
@thundernixon Well, AppVeyor is using InnoSetup to create the setup file, so only when you have a working Inno/FSCW script, you can use that approach. You have to work your way through at least once ;). The general procedure is described in the repo here, and the AppVeyor build file that also renames the fonts is over at the Hack Test Installer. |
Oh, makes sense! That's a handy ordering in the readme setup, then. One slight suggestion: it might be worth specifying that in the AppVeyor steps, with this line:
Thanks for all the helpful info! I think this will come in handy on an upcoming project, especially. |
Alright, I have tried to specify this in README.md. |
I'm trying to use FSCW to test versions of the Inter font project.
My configuration is at https://github.com/thundernixon/FSCW.
Unfortunately, when I build with Inno Setup Compiler, I get the following error:
This seems like a basic thing to solve, but I'm pretty outside of my familiar territory with this tool. I've edited the version number, changed the font name, and tried to follow both the basic example and the Hack Installer example, but to no avail. What might I try next?
The text was updated successfully, but these errors were encountered: