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
 

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