Skip to content

Commit

Permalink
Restart WU after OSUpgrade hack
Browse files Browse the repository at this point in the history
  • Loading branch information
usefulstuffs committed Mar 31, 2024
1 parent 3cf1d75 commit d9403d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup/setup.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ ${MementoSection} "Allow OS Upgrade" ALLOWOSUPGRADE
WriteRegDword HKLM "${REGPATH_WU}\OSUpgrade" "DisableOSUpgrade" 0
WriteRegDword HKLM "${REGPATH_WU}\OSUpgrade" "OSUpgradeInteractive" 1
WriteRegDword HKLM "${REGPATH_WU}\OSUpgrade" "OSUpgradeRunOnceCount" 1
Call RebootIfRequired
!insertmacro RestartWUAUService
${MementoSectionEnd}

${MementoSectionDone}
Expand Down

0 comments on commit d9403d4

Please sign in to comment.