Git Product home page Git Product logo

Comments (2)

brazierd avatar brazierd commented on August 16, 2024

\0 doesn't work either. To clarify, if I put this in the .wm.xml:

<regKey keyName="$(hklm.software)\$(OEMNAME)\Test"> <regValue name="MultiValue0" type="REG_MULTI_SZ" value="12AB\0CDEF" /> <regValue name="MultiValueSemi" type="REG_MULTI_SZ" value="12AB;CDEF" /> <regValue name="MultiValueComma" type="REG_MULTI_SZ" value="12AB,CDEF" /> </regKey>

Then the resulting values are all single strings, not multi values, using reg export shows:

"MultiValue0"=hex(7):31,00,32,00,41,00,42,00,**5c,00,30,00**,43,00,44,00,45,00,46,00,00,00,00,00 "MultiValueComma"=hex(7):31,00,32,00,41,00,42,00,**2c,00**,43,00,44,00,45,00,46,00,00,00,00,00 "MultiValueSemi"=hex(7):31,00,32,00,41,00,42,00,**3b,00**,43,00,44,00,45,00,46,00,00,00,00,00

In each case, the separator is just appearing in the string, it is not replaced by a 00,00 marking the end of a string in a multi-value.

from iot-adk-addonkit.

parameshbabu avatar parameshbabu commented on August 16, 2024

Can you try with this below? This should work..
<regKey keyName="$(hklm.software)\$(OEMNAME)\Test"> <regValue <regValue name="MultiValueComma" type="REG_MULTI_SZ" value="&quot;12AB&quot;,&quot;CDEF&quot;" /> </regKey>

from iot-adk-addonkit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.