Qt World Summit: Register Today!

Qt Installer Framework, set windows registry key

  • 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?



  • It seems I should use:

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

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

  • I answer myself:

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

    it requires admin right.

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

Log in to reply