Inno Setup - Parameter "ValueData" is not a valid value

2.1k views Asked by At

I'm trying to compile an installation package for a networking monitoring utility called PRTG. I am basically doing this:

http://kb.paessler.com/en/topic/60635-how-can-i-silently-install-a-remote-probe-in-my-network

except, I'm trying to automate it.

Everything works except for one Registry key:

[Registry]
Root: HKLM; Subkey: "Software\Wow6432Node\Paessler\PRTG Network Monitor\Probe"; 
    ValueType: dword; ValueName: "Password"; ValueData: "8b9a69b9"

I've tried Hexadecimal and Decimal and neither worked. Oddly, when I remove the above characters and replace it with any other value the installer will compile.

Help me Obi-One Kenobi!

1

There are 1 answers

2
TLama On BEST ANSWER

For using hexadecimal notation, you were missing the $ prefix char. So this would work:

ValueData: "$8b9a69b9"

This is described in the [Registry] section documentation for the ValueData parameter as:

If the data type is dword or qword, this can be a decimal integer (e.g. "123"), a hexadecimal integer (e.g. "$7B"), or a constant which resolves to an integer.