@@ -40,10 +40,12 @@ public enum RebootInstallSequence
4040 /// InstallExecuteSequence
4141 /// </summary>
4242 InstallExecute ,
43+
4344 /// <summary>
4445 /// InstallUISequence
4546 /// </summary>
4647 InstallUI ,
48+
4749 /// <summary>
4850 /// The both InstallExecuteSequence and InstallUISequence
4951 /// </summary>
@@ -53,10 +55,10 @@ public enum RebootInstallSequence
5355 /// <summary>
5456 /// Value of the <c>REBOOT</c> property.
5557 /// The REBOOT property suppresses certain prompts for a restart of the system. An administrator typically uses this
56- /// property with a series of installations to install several products at the same time with only one restart at the
58+ /// property with a series of installations to install several products at the same time with only one restart at the
5759 /// end. For more information, see System Reboots.
5860 /// <para>
59- /// The ForceReboot and ScheduleReboot actions inform the installer to prompt the user to restart the system. The
61+ /// The ForceReboot and ScheduleReboot actions inform the installer to prompt the user to restart the system. The
6062 /// installer can also determine that a restart is necessary whether there are any ForceReboot or ScheduleReboot actions
6163 /// in the sequence. For example, the installer automatically prompts for a restart if it needs to replace any files in
6264 /// use during the installation.
@@ -66,30 +68,32 @@ public enum RebootSupressing
6668 {
6769 /// <summary>
6870 /// Always prompt for a restart at the end of the installation. The UI always prompts the user with an option to
69- /// restart at the end. If there is no user interface, and this is not a multiple-package installation, the system
70- /// automatically restarts at the end of the installation. If this is a multiple-package installation, there is no
71+ /// restart at the end. If there is no user interface, and this is not a multiple-package installation, the system
72+ /// automatically restarts at the end of the installation. If this is a multiple-package installation, there is no
7173 /// automatic restart of the system and the installer returns ERROR_SUCCESS_REBOOT_REQUIRED.
7274 /// </summary>
7375 Force ,
76+
7477 /// <summary>
75- /// Suppress prompts for a restart at the end of the installation. The installer still prompts the user with an
76- /// option to restart during the installation whenever it encounters the ForceReboot action. If there is no user
77- /// interface, the system automatically restarts at each ForceReboot. Restarts at the end of the installation
78+ /// Suppress prompts for a restart at the end of the installation. The installer still prompts the user with an
79+ /// option to restart during the installation whenever it encounters the ForceReboot action. If there is no user
80+ /// interface, the system automatically restarts at each ForceReboot. Restarts at the end of the installation
7881 /// (for example, caused by an attempt to install a file in use) are suppressed.
7982 /// </summary>
8083 Suppress ,
84+
8185 /// <summary>
82- /// Suppress all restarts and restart prompts initiated by ForceReboot during the installation. Suppress all restarts
83- /// and restart prompts at the end of the installation. Both the restart prompt and the restart itself are suppressed.
86+ /// Suppress all restarts and restart prompts initiated by ForceReboot during the installation. Suppress all restarts
87+ /// and restart prompts at the end of the installation. Both the restart prompt and the restart itself are suppressed.
8488 /// For example, restarts at the end of the installation, caused by an attempt to install a file in use, are suppressed.
8589 /// </summary>
8690 ReallySuppress
8791 }
8892
8993 /// <summary>
90- /// Prompts the user for a restart of the system during the installation. Special actions don't have a built-in sequence
91- /// number and thus must appear relative to another action. The suggested way to do this is by using the Before or After
92- /// attribute.
94+ /// Prompts the user for a restart of the system during the installation. Special actions don't have a built-in sequence
95+ /// number and thus must appear relative to another action. The suggested way to do this is by using the Before or After
96+ /// attribute.
9397 /// InstallExecute and InstallExecuteAgain can optionally appear anywhere between InstallInitialize and InstallFinalize.
9498 /// </summary>
9599 public partial class ForceReboot : WixObject
@@ -115,7 +119,7 @@ public partial class ForceReboot : WixObject
115119 public Condition Condition ;
116120
117121 /// <summary>
118- /// The parent install sequence. The only avalable sequence for this element is <c>InstallExecuteSequence</c>.
122+ /// The parent install sequence. The only available sequence for this element is <c>InstallExecuteSequence</c>.
119123 /// </summary>
120124 public const RebootInstallSequence InstallSequence = RebootInstallSequence . InstallExecute ;
121125
@@ -133,39 +137,36 @@ internal XElement ToXml()
133137 . AddAttributes ( this . Attributes ) ;
134138 }
135139
136-
137-
138140 //not sure support for SequenceNumber is required; disable it out until it's truly needed
139141 //private XElement ToXml_FutureImplementation(string prevActionName = null)
140142 //{
141- //var element = new XElement(this.GetType().Name, Condition.ToXValue())
142- // .SetAttribute("Overridable", Overridable)
143- // .SetAttribute("Suppress", Suppress)
144- // .SetAttribute("Sequence", SequenceNumber);
145-
146- //var step = Step?.ToString();
147- //if (Step == Step.PreviousAction)
148- // step = prevActionName;
149- //if (Step == Step.PreviousActionOrInstallInitialize)
150- // step = prevActionName ?? Step.InstallInitialize.ToString();
151- //if (step != null)
152- // element.SetAttribute(When.ToString(), step);
153-
154- //return element;
143+ //var element = new XElement(this.GetType().Name, Condition.ToXValue())
144+ // .SetAttribute("Overridable", Overridable)
145+ // .SetAttribute("Suppress", Suppress)
146+ // .SetAttribute("Sequence", SequenceNumber);
147+
148+ //var step = Step?.ToString();
149+ //if (Step == Step.PreviousAction)
150+ // step = prevActionName;
151+ //if (Step == Step.PreviousActionOrInstallInitialize)
152+ // step = prevActionName ?? Step.InstallInitialize.ToString();
153+ //if (step != null)
154+ // element.SetAttribute(When.ToString(), step);
155+
156+ //return element;
155157 //}
156-
157158 }
158159
159160 /// <summary>
160- /// Prompts the user to restart the system at the end of installation. Special actions don't have a built-in
161- /// sequence number and thus must appear relative to another action. The suggested way to do this is by using
162- /// the Before or After attribute. InstallExecute and InstallExecuteAgain can optionally appear anywhere between
161+ /// Prompts the user to restart the system at the end of installation. Special actions don't have a built-in
162+ /// sequence number and thus must appear relative to another action. The suggested way to do this is by using
163+ /// the Before or After attribute. InstallExecute and InstallExecuteAgain can optionally appear anywhere between
163164 /// InstallInitialize and InstallFinalize.
164165 /// </summary>
165166 public partial class ScheduleReboot : ForceReboot
166167 {
167168 /// <summary>
168- /// Indicates what install sequence should ScheduleReboot be placed to.
169+ /// Indicates what install sequence should ScheduleReboot be placed to.
169170 /// </summary>
170171 public new RebootInstallSequence InstallSequence = RebootInstallSequence . InstallExecute ;
171172 }
0 commit comments