Search code examples
wixinstallationwindows-installer

Syntax for guids in WIX?


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?


Solution

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