How to change Inno Setup DisplayName uninstall entry
<p>I'm creating an installer using Inno Setup, it is creating a registry key under </p>

<pre><code>HKLM\SOSTWARE\Microsoft\Windows\CurrentVersion\Uninstall\My_Key
</code></pre>

<p>I want to overwrite <code>DisplayName : My Program version 1.0</code> to <code>DisplayName : My Program 1.0</code>.</p>

<p>I have added following line in the script but it is not working.</p>

<pre><code>[Registry]
Root: HKLM; Subkey: "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\My_Key"; ValueType: string; ValueName: "DisplayName"; ValueData: "My Program 1.0";  Flags:createvalueifdoesntexist
</code></pre>

<p>I.e. It is creating <code>DisplayName : My Program version 1.0</code> instead of <code>DisplayName : My Program 1.0</code>.</p>

<p>Is there anything I should do in the script?</p>