Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Qt Installer Framework, set windows registry key
Forum Updated to NodeBB v4.3 + New Features

Qt Installer Framework, set windows registry key

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
4 Posts 2 Posters 2.9k Views 1 Watching
  • 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 Offline
    L Offline
    luca
    wrote on 15 Apr 2016, 14:36 last edited by
    #1

    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
    0
    • L Offline
      L Offline
      luca
      wrote on 15 Apr 2016, 15:18 last edited by
      #2

      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
      0
      • L Offline
        L Offline
        luca
        wrote on 18 Apr 2016, 09:37 last edited by
        #3

        I answer myself:

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

        it requires admin right.

        1 Reply Last reply
        0
        • M Offline
          M Offline
          Mc6bullet
          wrote on 24 Aug 2021, 12:55 last edited by
          #4

          @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
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved