I need to create a registry key value which is of type DWORD instead of SZ. Can't see anything in the documentation about how to specify the value type. Hopefully I'm just overlooking something simple.

asked 13 Jan '12, 19:29

ColinBlake's gravatar image

ColinBlake
15567
accept rate: 0%


You can specify type of value using the <type> for <registrySet>. For example:

<registrySet>
    <key>HKEY_CURRENT_USER\\Control Panel\\Personalization\\Desktop Slideshow</key>
    <name>10000</name>
    <type>REG_DWORD</type>
    <value>Interval</value>
</registrySet>

You can find more information about this action in InstallBuilder documentation

link

answered 14 Jan '12, 03:17

wojciechka's gravatar image

wojciechka ♦♦
7.8k61122
accept rate: 26%

Thanks for the prompt answer. That works a treat (though the key string does not want the \ characters escaping).

Also thanks for the documentation link. I was working off of a PDF version which didn't mention <type>.

(14 Jan '12, 13:00) ColinBlake
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×176
×28

Asked: 13 Jan '12, 19:29

Seen: 2,038 times

Last updated: 24 Jan '12, 08:31