Can you use #title macro as registry entry for uninstaller "DisplayVersion"?

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • Hi all,

    I'm adding registry keys for the uninstaller information (version, publisher, comments etc [Please login to see this link.]).

    I'm wondering, we use the #title macro for our version of our software as it makes our lives easier; can this title macro be used to enter the "DisplayVersion" registry key?

    i.e.

    Root Key = HKEY_LOCAL_MACHINE

    Key = SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Mods Studio 2

    Subkey = DisplayVersion

    Value = #title

    Pete :)
    Please login to see this link.

    Edited once, last by aniceguy (January 4, 2023 at 10:19 AM).

  • Correct, that doesn't work.

    2 mistakes though I think:

    1. You must not specify WOW6432Node, this is automatically inserted by Windows when a 32-bit app like your installer writes to HKEY_LOCAL_MACHINE\Software
    2. I think DisplayVersion should display a version information like 123.456.789.001, not your product's title.

  • Hi Yves, in our installer, we use the #title macro for our version number :)

    I've managed to get working what I want to (minus the size - without manually entering the total size of our program). See the following github post: Please login to see this link.

    Q) Is it a bug that the size is not listed in the "Programs and Features"?

    See this image: Please login to see this link. (github)

    Pete :)
    Please login to see this link.

  • [B]Q) Is it a bug that the size is not listed in the "Programs and Features"?

    Not a bug, IC doesn't write the size. It could probably write the total size it writes, but in some cases it's a bit complicated to evaluate as either the installed app can install files in its install folder and/or the installer runs an EXE that installs/moves files, some files already exist and are not installed, etc.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!