Skip to content

Commit

Permalink
Schedule reboot after installation is complete.
Browse files Browse the repository at this point in the history
  • Loading branch information
Fredrik Orderud committed Aug 30, 2023
1 parent 12fec6f commit cb174f4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ScheduleReboot/Product.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@
<Feature Id="ProductFeature" Title="ScheduleReboot" Level="1">
<ComponentGroupRef Id="ProductComponents" />
</Feature>

<InstallExecuteSequence>
<!-- https://learn.microsoft.com/en-us/windows/win32/msi/schedulereboot-action -->
<ScheduleReboot After="InstallFinalize"/>
</InstallExecuteSequence>
</Product>

<Fragment>
Expand Down

0 comments on commit cb174f4

Please sign in to comment.