Syntax for guids in WIX?

installation, windows-installer, wix

Solution

The WiX compiler converts either form to the form that Windows Installer expects (with braces and uppercase letters).

Problem

What is the correct syntax for giving guids for components in the wxs file for WIX? In most samples I found ``` Guid="00AD2D6E-BF8A-4EA8-BE9A-57380DECD0E6" ``` but in some samples I found ``` Guid="{00AD2D6E-BF8A-4EA8-BE9A-57380DECD0E6}" ``` I would prefer the second version, because this is directly generated by the GuidGen tool. But is it correct?

Original source

Related problems