Get install directory from registry or ini

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.
  • For example, I entered the following, but the installer displays the default directory

    HKEY_LOCAL_MACHINE
    Key: SOFTWARE\7-Zip
    Sub key: Path

    also, the installer will not retrieve information from the ini file.

    I'm using the Windows 10 21H1

    Please login to see this attachment.

  • Oh, this is a 64-bit key.

    A special feature was added in the build 44 of Install Creator Pro, replace SOFTWARE by SOFTWARE64 to read 64-bit keys.

    Though if you're using the standard unregistered version I think you can't do that... EDIT: hmm, it seems I was wrong, apparently this works also in the standard version.

  • Well, I said it above :) in your key name replace SOFTWARE by SOFTWARE64 to read 64-bit keys: SOFTWARE64\7-Zip

    Reason:
    - when a 64-bit app reads/writes an HKLM\Software key, Windows reads/writes it from/to HKLM\Software.
    - when a 32-bit app reads/writes an HKLM\Software key, Windows reads/writes it from/to HKLM\Software\Wow6432Node.
    - Install Creator is a 32-bit app, so when it asks Windows to read a key from HKLM\Software, Windows will get it from HKLM\Software\Wow6432Node.
    - we have added a special feature in IC, to make it able to read 64-bit HKLM\Software keys: if you use SOFTWARE64 instead of SOFTWARE, IC will force Windows to read it from HKLM\Software.

    Hopefully it's clear.

    About INI: it's there mostly for compatibility with (very) old applications, you should really use a registry key, INI files are obsolete for such a use, plus I just see the "Update entry" option doesn't support macros (we could change this, but really you should use a registry key).

Participate now!

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