Skip to content

Installer localization system refactor and expansion to support more languages and improve maintainability.#136

Merged
Timthreetwelve merged 3 commits into
mainfrom
Standardize-InnoSetup
Jul 21, 2026
Merged

Installer localization system refactor and expansion to support more languages and improve maintainability.#136
Timthreetwelve merged 3 commits into
mainfrom
Standardize-InnoSetup

Conversation

@Timthreetwelve

Copy link
Copy Markdown
Owner

The installer localization was restructured with a new, comprehensive localization file, expanded language support, and improved version info handling. Key message keys were standardized and the installer script was updated accordingly.

  • Removed TimVerLocalization.iss and added TimVer.localization.iss with clearer structure and support for Catalan, German, French, Portuguese, and Slovak.
  • Updated TimVer.iss to use the new localization file, standardized message keys, and improved version info logic with MyInfoVersion.
  • Improved language handling and registry cleanup logic in the installer scripts.
  • Performed minor code cleanups related to installer localization and configuration.

Standardize layout and format of the localization file to be consistent with other TImthreetwelve apps.

TimVerEx.iss renamed to TimVer.iss.
TImVerLocalization.iss renamed to TimVer.localization.iss.

Additional cleanup of MyScheduledTasks.iss
Copilot AI review requested due to automatic review settings July 21, 2026 20:14

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR refactors the Inno Setup installer localization by replacing the old localization include with a new, more structured localization file, expanding supported installer languages, and updating the installer script to use standardized message keys and revised version-info handling.

Changes:

  • Replaced TimVerLocalization.iss with a new structured TimVer.localization.iss and expanded language support (ca, de, fr, pt, sk).
  • Updated TimVer.iss to include the new localization file, switch to the new DeleteConfigFiles message key, and adjust welcome/uninstall logic.
  • Added a new framework-dependent x64 publish profile (Framework_Dependent_x64.pubxml) alongside the existing self-contained profile.

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated no comments.

File Description
TimVer/Properties/PublishProfiles/Framework_Dependent_x64.pubxml Adds a framework-dependent x64 publish profile for producing installer inputs.
TimVer/Inno_Setup/TimVerLocalization.iss Removes the old localization include file (replaced by the new structured localization file).
TimVer/Inno_Setup/TimVer.localization.iss Introduces the new consolidated localization file with additional languages and standardized keys.
TimVer/Inno_Setup/TimVer.iss Switches to the new localization include, updates message keys, and adjusts version info + uninstall cleanup behavior.
Comments suppressed due to low confidence (2)

TimVer/Inno_Setup/TimVer.iss:77

  • VersionInfoVersion was changed to use {#MyInfoVersion}, but MyInfoVersion is not defined anywhere in the repository (only referenced). Unless the generated PubSetup.Temp.iss always defines it, the installer script will fail to preprocess/compile.
    TimVer/Inno_Setup/TimVer.iss:219
  • The uninstall prompt says it will remove settings/history files, but the code deletes the entire {app} directory (DelTree('{app}', True, True, True)), which can remove any user-added files left in the install folder. Consider deleting only the known config/history files (e.g., usersettings.json and history.json) and keep the install folder cleanup to the normal uninstaller behavior. Also, the Run value name is hardcoded as 'TimVer' instead of using {#MyAppName}.

@Timthreetwelve
Timthreetwelve merged commit 4edf212 into main Jul 21, 2026
3 checks passed
@Timthreetwelve
Timthreetwelve deleted the Standardize-InnoSetup branch July 21, 2026 20:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants