You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/docs/wix/schema/wxs/bundle.mdx
+17-4Lines changed: 17 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -128,6 +128,18 @@ The root element for creating bundled packages.
128
128
Programs).
129
129
</BlockReference>
130
130
131
+
<BlockReference
132
+
content={{
133
+
title: "Id",
134
+
type: "string"
135
+
}}
136
+
>
137
+
_New in WiX v6: WiX v6 adds this attribute to the `Package` element._
138
+
A globally unique identiifer for the bundle in the world. It is recommended to use a prefix such as "CompanyName." to
139
+
create a namespace of sorts. By default, higher versioned upgrade lower versioned bundles with the same Id. Use this
140
+
attribute instead of the UpgradeCode attribute in new development.
141
+
</BlockReference>
142
+
131
143
<BlockReference
132
144
content={{
133
145
title: "InProgressName",
@@ -218,12 +230,13 @@ The root element for creating bundled packages.
218
230
title: "UpgradeCode",
219
231
type: "Guid",
220
232
typeLink: "../guid/",
221
-
typeTitle: "Values of this type will look like: \"01234567-89AB-CDEF-0123-456789ABCDEF\" or \"{01234567-89AB-CDEF-0123-456789ABCDEF}\". Also allows \"PUT-GUID-HERE\" for use in examples.",
222
-
required: true
233
+
typeTitle: "Values of this type will look like: \"01234567-89AB-CDEF-0123-456789ABCDEF\" or \"{01234567-89AB-CDEF-0123-456789ABCDEF}\". Also allows \"PUT-GUID-HERE\" for use in examples."
223
234
}}
224
235
>
225
-
Unique identifier for a family of bundles. If two bundles have the same UpgradeCode the
226
-
bundle with the highest version will be installed.
236
+
For new bundles, it is recommended to use the Id attribute instead. This attribute exists for
237
+
backwards compatibility scenarios. Use this attribute to provide a specific unique identifier
238
+
for a family of bundles. If two bundles have the same UpgradeCode the bundle with the highest
Copy file name to clipboardExpand all lines: src/content/docs/wix/schema/wxs/package.mdx
+20-5Lines changed: 20 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,6 +34,18 @@ The Package element is analogous to the main function in a C program. When linki
34
34
Indicates whether the package files are compressed. Default is compressed packages.
35
35
</BlockReference>
36
36
37
+
<BlockReference
38
+
content={{
39
+
title: "Id",
40
+
type: "string"
41
+
}}
42
+
>
43
+
_New in WiX v6: WiX v6 adds this attribute to the `Package` element._
44
+
A globally unique identiifer for the package in the world. It is recommended to use a prefix such as "CompanyName." to
45
+
create a namespace of sorts. By default, higher versioned upgrade lower versioned packages with the same Id. Use this
46
+
attibute instead of the UpgradeCode attribute in new development.
47
+
</BlockReference>
48
+
37
49
<BlockReference
38
50
content={{
39
51
title: "InstallerVersion",
@@ -99,7 +111,7 @@ The Package element is analogous to the main function in a C program. When linki
99
111
typeTitle: "Use this attribute to specify the installation scope of this package: per-machine, per-user, or a choice of either."
100
112
}}
101
113
>
102
-
Use this attribute to specify the installation scope of this package: per-machine, per-user, or a choice of either.
114
+
Use this attribute to specify the installation scope of this package: per-machine, per-user, or a choice of either. The default is per-machine.
103
115
</BlockReference>
104
116
105
117
<BlockReference
@@ -108,7 +120,7 @@ The Package element is analogous to the main function in a C program. When linki
108
120
type: "yesno"
109
121
}}
110
122
>
111
-
Indicates whether the package files are installed using 8.3 filenames.
123
+
Indicates whether the package files are installed using 8.3 filenames. The default is no.
112
124
</BlockReference>
113
125
114
126
<BlockReference
@@ -119,7 +131,9 @@ The Package element is analogous to the main function in a C program. When linki
119
131
typeTitle: "Values of this type will look like: \"01234567-89AB-CDEF-0123-456789ABCDEF\" or \"{01234567-89AB-CDEF-0123-456789ABCDEF}\". Also allows \"PUT-GUID-HERE\" for use in examples."
120
132
}}
121
133
>
122
-
The upgrade code GUID for the package. Sets the UpgradeCode property.
134
+
For new packages, it is recommended to use the Id attribute instead. This attribute exists for
135
+
backwards compatibility scenarios. Use this attribute to provide a specific upgrade code GUID
136
+
for a MSI package. See [UpgradeCode](https://learn.microsoft.com/en-us/windows/win32/msi/upgradecode) for more information.
123
137
</BlockReference>
124
138
125
139
<BlockReference
@@ -130,10 +144,11 @@ The Package element is analogous to the main function in a C program. When linki
130
144
typeTitle: "Use this attribute to specify the upgrade strategy of this package: major upgrade or none."
131
145
}}
132
146
>
133
-
The upgrade strategy for the package. If "none," no major upgrade is expected.
147
+
_New in WiX v5: WiX v5 adds this attribute to the `Package` element._
148
+
The upgrade strategy for the package. If "none," no major upgrade is expected.
134
149
If "majorUpgrade," the UpgradeCode attribute is required and a major upgrade is expected.
150
+
The default is "majorUpgrade."
135
151
A default major upgrade is automatically provided if none is authored.
136
-
_New in WiX v5: WiX v5 adds this attribute to the `Package` element._
0 commit comments