Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt Installer, write binary data to the registry from installscript.qs
Qt 6.11 is out! See what's new in the release blog

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

Scheduled Pinned Locked Moved General and Desktop
2 Posts 1 Posters 1.1k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    trallallero
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0
    • T Offline
      T Offline
      trallallero
      wrote on last edited by
      #2

      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.

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved