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?

    Thanks

    Luca



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



  • I answer myself:

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

    it requires admin right.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.