-
Notifications
You must be signed in to change notification settings - Fork 8
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
Improve Inno Setup installer script #106
Conversation
Fix some issues File version Uninstaller icon Add starting/ending copyright year etc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You have some good changes here, but there are some things that need fixing before I can merge this.
In addition to the comments, line 67 can be removed as it is no longer needed with the change to the uninstaller icon path:
Source: "VolumeControl\Resources\icons\iconSilvered.ico"; DestDir: "{app}"; Flags: ignoreversion
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's a few minor changes and 1 major change required before I can merge this.
Please take care that you repository seems not cofded as text as expecetd in UTF-8. If you can please convert you repository as text as UTF-8. This the issue about AppCopyright=© {#StartYearCopyright}-{#CurrentYear} {#AppPublisher} © is not coded as expecetd as UTF-8. |
Copyright symbol problem was solved by 4b2e3db |
Everything looks good, many thanks! Merged. |
What's the problem about non UTF-8 text editing in your site? How can fix it? About version number you should edit every time when your run compiling script or is it an automatic job that get version number by exe file? About LICENSE file of course you should edit
Could you pelase make a fresh update exe (installer/portable) in your repository using new Inno Setup script? |
AFAIK, files retain whatever encoding they had on the operating system that uploaded them. Git will change line endings automatically, but not the encoding. Once you changed the encoding to UTF-8 and pushed the commit, Volume Control's release workflow uses github actions. I only have to do 2 steps (step 1 & step 4), everything else is automated. It works like this:
I never change version numbers in files manually because it would screw everything up if I forgot to do so. This way, I only have to set the version number once and everything else happens automatically. As for a version of the new installer, you can download the If you want to build it yourself, you can do the following steps to build it locally (if you need more details, let me know by mentioning me again):
You can find |
Thanks for explanation. |
The LICENSE file should not be modified directly. Related stackoverflow post: https://stackoverflow.com/questions/53221771/inno-setup-how-to-change-licensefile-text |
I cannot understand why cannot modify the LICENSE file directly. Then there is no reason why cannot do it. The original license text is come from 1997 where the terminal had fixe lien lenght of 80chars. If you want we can create file LICENSE_NEW_FORMAT and use it. |
While it is legally acceptable to modify the contents of the LICENSE file so long as the text itself remains, I don't want to do that for a few reasons:
1 & 2 are my main concerns. The possibility that someone else making a change to a dependency (that I won't be notified of) requiring a manual fix is unacceptable, especially since we will have forgotten all about this by that time. All in all, the fewer things that require manual human intervention instead of happening automatically, the better. I'd much rather write a few lines of code to make sure I never have to worry about it again. |
My idea for scripting a fix for the license file width issue goes something like this:
If inno setup automatically wraps the text, the steps are even simpler:
Even Pascal (the language) can't stop how easy that is, and it'll ensure this never becomes a problem again. |
I'm going to move this discussion to #109 |
@radj307
Fix some issues
Pelase check and edit (if required) "StartingYearCopyright" variable,
Run Inno Setup, create and test new installer.
Please check and merge. Thanks.