6 Commits
v2.2 ... v2.3

View File

@@ -487,7 +487,6 @@ ${MementoSectionDone}
; Uninstaller ; Uninstaller
Section "-un.Legacy Update Server" un.WUSERVER Section "-un.Legacy Update Server" un.WUSERVER
; Clear WSUS server ; Clear WSUS server
${If} ${AtMostWinVista}
ReadRegStr $0 HKLM "${REGPATH_WUPOLICY}" "WUServer" ReadRegStr $0 HKLM "${REGPATH_WUPOLICY}" "WUServer"
${VerbosePrint} "WUServer: $0" ${VerbosePrint} "WUServer: $0"
${If} $0 == "${WSUS_SERVER}" ${If} $0 == "${WSUS_SERVER}"
@@ -510,7 +509,16 @@ Section "-un.Legacy Update Server" un.WUSERVER
${OrIf} $0 == "${UPDATE_URL_HTTPS}" ${OrIf} $0 == "${UPDATE_URL_HTTPS}"
DeleteRegValue HKLM "${REGPATH_WU}" "URL" DeleteRegValue HKLM "${REGPATH_WU}" "URL"
${EndIf} ${EndIf}
${EndIf} SectionEnd
Section "-un.Allow OS Upgrade" un.ALLOWOSUPGRADE
DeleteRegValue HKLM "${REGPATH_WUPOLICY}" "AllowOSUpgrade"
DeleteRegValue HKLM "${REGPATH_WUPOLICY}" "DisableOSUpgrade"
DeleteRegValue HKLM "${REGPATH_WUPOLICY}\OSUpgrade" "AllowOSUpgrade"
DeleteRegValue HKLM "${REGPATH_WUPOLICY}\OSUpgrade" "DisableOSUpgrade"
DeleteRegValue HKLM "${REGPATH_WU}\OSUpgrade" "AllowOSUpgrade"
DeleteRegValue HKLM "${REGPATH_WU}\OSUpgrade" "DisableOSUpgrade"
!insertmacro RestartWUAUService
SectionEnd SectionEnd
Section "-un.Legacy Update website" un.ACTIVEX Section "-un.Legacy Update website" un.ACTIVEX
@@ -966,8 +974,7 @@ Function PreDownload
; General ; General
Call DownloadWUA Call DownloadWUA
${If} ${AtMostWin8.1} ${If} ${SectionIsSelected} ${ROOTCERTS}
${AndIf} ${SectionIsSelected} ${ROOTCERTS}
Call DownloadRoots Call DownloadRoots
${EndIf} ${EndIf}
FunctionEnd FunctionEnd