From eebab17d98bbc622d7e9bb0752149b4845814717 Mon Sep 17 00:00:00 2001 From: Useful Stuffs <157041205+usefulstuffs@users.noreply.github.com> Date: Fri, 29 Mar 2024 21:08:21 +0100 Subject: [PATCH] Another registry to allow OS Upgrade --- setup/setup.nsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/setup/setup.nsi b/setup/setup.nsi index b3e38d1..d80100b 100644 --- a/setup/setup.nsi +++ b/setup/setup.nsi @@ -414,7 +414,9 @@ ${MementoSectionEnd} ${MementoSection} "Allow OS Upgrade" ALLOWOSUPGRADE WriteRegDword HKLM "${REGPATH_WUPOLICY}" "AllowOSUpgrade" 1 + WriteRegDword HKLM "${REGPATH_WUPOLICY}" "DisableOSUpgrade" 0 WriteRegDword HKLM "${REGPATH_WUPOLICY}\OSUpgrade" "AllowOSUpgrade" 1 + WriteRegDword HKLM "${REGPATH_WUPOLICY}\OSUpgrade" "DisableOSUpgrade" 0 Call RebootIfRequired ${MementoSectionEnd}