Skip to content
This repository was archived by the owner on Feb 14, 2025. It is now read-only.

Added default values for Package element attributes. #295

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/xsd4/wix.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -2490,12 +2490,12 @@
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Scope" type="PackageScopeTypeUnion">
<xs:attribute name="Scope" type="PackageScopeTypeUnion" default="perMachine">
<xs:annotation>
<xs:documentation>Use this attribute to specify the installation scope of this package: per-machine, per-user, or a choice of either.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="ShortNames" type="YesNoTypeUnion">
<xs:attribute name="ShortNames" type="YesNoTypeUnion" default="no">
<xs:annotation>
<xs:documentation>Indicates whether the package files are installed using 8.3 filenames.</xs:documentation>
</xs:annotation>
Expand All @@ -2505,11 +2505,11 @@
<xs:documentation>The upgrade code GUID for the package. Sets the UpgradeCode property.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="UpgradeStrategy" type="UpgradeStrategyTypeUnion">
<xs:attribute name="UpgradeStrategy" type="UpgradeStrategyTypeUnion" default="majorUpgrade">
<xs:annotation>
<xs:documentation>
The upgrade strategy for the package. If "none," no major upgrade is expected.
If "majorUpgrade," the UpgradeCode attribute is required and a major upgrade is expected.
If "majorUpgrade" the UpgradeCode attribute is required and a major upgrade is expected.
A default major upgrade is automatically provided if none is authored.
_New in WiX v5: WiX v5 adds this attribute to the `Package` element._
</xs:documentation>
Expand Down
Loading