WiX - RegistryKey with new generated GUID each install
<p>I have a WiX setup for my application. Now I want to write a write a freshly created new GUID to the registry for each install.</p>

<p>Pseudo:</p>

<pre><code>&lt;RegistryValue Value='[NEWGUID]' Root="HKMU" Key='SOFTWARE\!(wix.Manufacturer)\!(wix.ProductName)' Name='InstallGuid' Type='string'/&gt;
</code></pre>

<p>Is there a way to make WiX/MSI generate a GUID in place of <strong>[NEWGUID]</strong> for <em>each install</em> without using a custom action?</p>

<p>All i can find is this thread which suggest I have to use custom action:</p>

<p><a href="http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Create-New-Guid-in-Installer-td708469.html" rel="nofollow">http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Create-New-Guid-in-Installer-td708469.html</a></p>

<p>but it's from 2008 so I wondering if anything has changed/become easier?</p>