fix(wix): write default registry values without empty Name (CNDL0006)

candle rejects RegistryValue/@Name='' — the DefaultIcon and
shell\open\command rows must write the key's default value by
omitting Name entirely. Empty Name broke the MSI build.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Hakan Seven 2026-06-12 15:33:08 +03:00
commit 4a1a658d07

View file

@ -120,7 +120,6 @@
<RegistryValue
Root='HKLM'
Key='SOFTWARE\Classes\Applications\OpenCADStudio.exe\DefaultIcon'
Name=''
Type='string'
Value='[APPLICATIONROOTDIRECTORY]OpenCADStudio.exe,0'
KeyPath='yes' />
@ -133,7 +132,6 @@
<RegistryValue
Root='HKLM'
Key='SOFTWARE\Classes\Applications\OpenCADStudio.exe\shell\open\command'
Name=''
Type='string'
Value='"[APPLICATIONROOTDIRECTORY]OpenCADStudio.exe" "%1"' />
<RegistryValue