Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Qt Installer, write binary data to the registry from installscript.qs



  • I'm creating an installer for our program and the Qt support is ignoring my questions.

    Does someone know how to write binary (REG_BINARY) data to the Windows registry from the installscript.qs ?

    I'm already using the call
    component.addOperation( "GlobalConfig", company, product, key, value)
    but I have no idea how to write a QUrl in binary format.

    I tried converting the string into an array of Uint8Array but:


    Error

    ReferenceError: Can't find variable: Uint8Array

    Backtrace:
    <anonymous>()@://metadata//product/installscript.qs:77



  • I thought Qt support was ignoring me but I just didn't get any notification about the answer. If I get a solution I'll post it here.


Log in to reply