WIX 中的 guid 语法? [英] Syntax for guids in WIX?

查看:24
本文介绍了WIX 中的 guid 语法?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

为 WIX 的 wxs 文件中的组件提供 guid 的正确语法是什么?

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}"

我更喜欢第二个版本,因为这是由 GuidGen 工具直接生成的.但这是正确的吗?

I would prefer the second version, because this is directly generated by the GuidGen tool. But is it correct?

推荐答案

WiX 编译器将任一形式转换为 Windows Installer 需要(带大括号和大写字母).

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

这篇关于WIX 中的 guid 语法?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆