Important: Please read the Qt Code of Conduct -

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.

Log in to reply