Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Unsolved Qt Installer Framework, set windows registry key

    Tools
    2
    4
    2428
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • L
      luca last edited by

      Hi all,
      I created a windows installer using Qt IFW.
      Now I need to save a KEY / VALUE during setup on the windows registry.

      I can't find docs or example.

      Can you help me?

      Thanks

      Luca

      1 Reply Last reply Reply Quote 0
      • L
        luca last edited by

        It seems I should use:

        Component.prototype.createOperations = function()
        {
            component.createOperations();
            component.addOperation("GlobalConfig", "company", "Application", "mykey", "myvalue");
        }
        

        on my component script but it doesn't works....

        1 Reply Last reply Reply Quote 0
        • L
          luca last edited by

          I answer myself:

          component.addElevatedOperation("GlobalConfig", "company", "Application", "mykey", "myvalue");

          it requires admin right.

          1 Reply Last reply Reply Quote 0
          • M
            Mc6bullet last edited by

            @luca i want to create url protocol with the app path
            Computer\HKEY_CLASSES_ROOT\Local Settings\Software\Microsoft\Windows\Shell\MuiCache
            and give refrence to url path can you please help me

            1 Reply Last reply Reply Quote 0
            • First post
              Last post