source-foundry/Hack-windows-installer

Versioning of the installer

chrissimpkins opened this issue · 12 comments

Should we follow the same version number as the Hack release? Is this confusing to have a separate version scheme for the installer itself?

Good idea, this would make it easier for the user to detect which version they are using. But because the installer might be updated independently from the fonts, I would add a patch/build number. So the next release would be 2.020.1. If I change the installer while we are still deploying 2.020, it would be 2.020.2. The guys from semver.org will hate us for this, but anything for the user ;-).

The only time this versioning would implode is when there will be a another Hack font family, e.g. "Hack Sans". Is this something that will happen in the near future?

Possible. It was just a thought. Since we will be linking it for download on the README and website, perhaps it is not necessary.

OK, I will keep this issue open for now. If nobody thinks this is necessary, I will close it with WONTFIX in a few weeks.

@texhex Sounds great. Thanks!

One additional information. Although we display the version number inside the installer, so the user knows which version of Hack is about to be installed, this information is lost when the user checks the information in Add/Remove programs. So from just looking at this entry, he/she has no chance to detect which version of Hack is actually installed.

This could only be fixed with two options:

  • Synchronizing the version of the installer and Hack, as you have proposed. Version/Product version would then match perfectly the Hack version number. But this will be a problem when I release a newer version of the setup. In this case I could only add something to the version number (e.g. a second release would then be 2.020.2) which might confuse users as well.
  • Adding the version of Hack to the name of the application, e.g. "Hack v2.020 Windows Installer". This can be easily done in Inno Setup by using UninstallDisplayName. The problem is, the Version (column) and the product version would still say v1.1.2 which is again confusing.

add-remove programs entry

They can use Add/Remove Programs to remove the fonts? Can you show me a screenshot?

To be honest, there is not much so see.

The user click on "Uninstall" and a message box asks "Are you sure?". If the user clicks on Yes, the original installer comes up (but does not require user interaction) and will show a progress bar while it removes all files. At the end, the user requested to restart the machine. That's all.

uninstall

I see. Can users view the font version in a font preview application if we need their installed version number? For instance on OS X, I see this in Font Book for Hack:

hack-versioning

Overall, I think that this is less important for us because an uninstall means that they are abandoning the fonts and I can't think of a circumstance where they should care what version they are uninstalling. The goal will be to encourage all upgrades to take place through the installer and avoid the need to uninstall altogether if the user intends to maintain the fonts on their system. Can you think of a situation where they might want to know what version they are removing?

Yes, you can see this information also in Windows. Control Panel -> Appearance and Personalization-> Open Hack "Folder" -> Double click a font.

font preview

And the version is rather not used when a user abandons the font, but rather to get the information "Which version are you using". But on the other hand, he/she can also get this from the Fonts applet.

I think that this is sufficient. This is pretty straightforward and shouldn't influence your versioning in the tool IMO.

Good point. And if the user checks the version of the installed through the Fonts Applet instead of the version that is displayed in Add/Remove programs, we can be sure he is actually using that version. When checking the installer, it does not take into account when a new version was manually installed. Or, for example he has also used OSFontPack which installed an older version.

Discussed and decided, I will close this issue.