WixUI_InstallDir and ARPNOREPAIR / ARPNOMODIFY properties
<p>I would like to delete repair / modify buttons from <strong>Add or Remove Programs</strong>. </p>

<p>I would also like to use <strong>WixUI_InstallDir</strong> Dialog Set.</p>

<p>This is my code:</p>

<pre><code>&lt;UI&gt;
    &lt;UIRef Id="WixUI_InstallDir"/&gt;
&lt;/UI&gt;
&lt;Property Id="WIXUI_INSTALLDIR" Value="INSTALLDIR"/&gt;

&lt;Property Id="ARPNOREPAIR" Value="yes" Secure="yes" /&gt;
&lt;Property Id="ARPNOMODIFY" Value="yes" Secure="yes" /&gt;
</code></pre>

<p>But this causes </p>

<pre><code>error LGHT0091 : Duplicate symbol 'Property:ARPNOMODIFY' found
</code></pre>

<p>I understand that <strong>WixUI_InstallDir</strong> defines these properties and the only decision I see is to define my own UI that is similar to <strong>WixUI_InstallDir</strong> except for these properties.
But is this the only way?
Can I overwrite these properties somehow?</p>