Various fixes

This commit is contained in:
Vichingo455 2025-05-12 12:44:49 +02:00
parent 4396df96c9
commit e19aca6924
4 changed files with 15 additions and 13 deletions

View File

@ -24,10 +24,10 @@ jobs:
md .\Release md .\Release
md .\x64\Release md .\x64\Release
md .\launcher\obj md .\launcher\obj
iwr https://ftp-vichingo455.duckdns.org/pub/WUIsBack/.github/LegacyUpdate32.dll -outfile '.\Release\LegacyUpdate.dll' iwr https://ftp.vichingo455.freeddns.org/pub/WUIsBack/.github/LegacyUpdate32.dll -outfile '.\Release\LegacyUpdate.dll'
iwr https://ftp-vichingo455.duckdns.org/pub/WUIsBack/.github/LegacyUpdate64.dll -outfile '.\x64\Release\LegacyUpdate.dll' iwr https://ftp.vichingo455.freeddns.org/pub/WUIsBack/.github/LegacyUpdate64.dll -outfile '.\x64\Release\LegacyUpdate.dll'
iwr https://ftp-vichingo455.duckdns.org/pub/WUIsBack/.github/LegacyUpdate32.exe -outfile '.\launcher\obj\LegacyUpdate32.exe' iwr https://ftp.vichingo455.freeddns.org/pub/WUIsBack/.github/LegacyUpdate32.exe -outfile '.\launcher\obj\LegacyUpdate32.exe'
iwr https://ftp-vichingo455.duckdns.org/pub/WUIsBack/.github/LegacyUpdate64.exe -outfile '.\launcher\obj\LegacyUpdate64.exe' iwr https://ftp.vichingo455.freeddns.org/pub/WUIsBack/.github/LegacyUpdate64.exe -outfile '.\launcher\obj\LegacyUpdate64.exe'
- name: Compile WUIsBack - name: Compile WUIsBack
run: | run: |
makensis "setup\setup.nsi" makensis "setup\setup.nsi"

View File

@ -36,8 +36,8 @@
!define WEBSITE "http://legacyupdate.net/" !define WEBSITE "http://legacyupdate.net/"
!define UPDATE_URL "http://legacyupdate.net/windowsupdate/v6/" !define UPDATE_URL "http://legacyupdate.net/windowsupdate/v6/"
!define UPDATE_URL_HTTPS "https://legacyupdate.net/windowsupdate/v6/" !define UPDATE_URL_HTTPS "https://legacyupdate.net/windowsupdate/v6/"
!define WSUS_SERVER "http://vichingo455.ddns.net/v6" !define WSUS_SERVER "http://update.vichingo455.freeddns.org"
!define WSUS_SERVER_HTTPS "https://vichingo455.ddns.net/v6" !define WSUS_SERVER_HTTPS "https://update.vichingo455.freeddns.org"
!define WUR_WEBSITE "http://windowsupdaterestored.com/" !define WUR_WEBSITE "http://windowsupdaterestored.com/"
!define TRUSTEDR "http://download.windowsupdate.com/msdownload/update/v3/static/trustedr/en" !define TRUSTEDR "http://download.windowsupdate.com/msdownload/update/v3/static/trustedr/en"

View File

@ -313,7 +313,7 @@ x86=windows6.1-kb976932-x86_c3516bc5c9e69fee6d9ac4f981f5b95977a8a2fa.exe
x64=windows6.1-kb976932-x64_74865ef2562006e51d7f9333b4a8d45b7a749dab.exe x64=windows6.1-kb976932-x64_74865ef2562006e51d7f9333b4a8d45b7a749dab.exe
[KB3102810] [KB3102810]
Prefix=http://ftp-vichingo455.duckdns.org/pub/Updates/ Prefix=http://ftp.vichingo455.freeddns.org/pub/Updates/
x86=Windows6.1-KB3102810-x86.msu x86=Windows6.1-KB3102810-x86.msu
x64=Windows6.1-KB3102810-x64.msu x64=Windows6.1-KB3102810-x64.msu
ia64=Windows6.1-KB3102810-ia64.msu ia64=Windows6.1-KB3102810-ia64.msu

View File

@ -343,11 +343,13 @@ ${MementoSection} "$(^Name)" LEGACYUPDATE
${If} $0 == "OK" ${If} $0 == "OK"
; HTTPS will work ; HTTPS will work
${VerbosePrint} "Using HTTPS WSUS server and update page."
WriteRegStr HKLM "${REGPATH_WUPOLICY}" "WUServer" "${WSUS_SERVER_HTTPS}" WriteRegStr HKLM "${REGPATH_WUPOLICY}" "WUServer" "${WSUS_SERVER_HTTPS}"
WriteRegStr HKLM "${REGPATH_WUPOLICY}" "WUStatusServer" "${WSUS_SERVER_HTTPS}" WriteRegStr HKLM "${REGPATH_WUPOLICY}" "WUStatusServer" "${WSUS_SERVER_HTTPS}"
WriteRegStr HKLM "${REGPATH_WU}" "URL" "${UPDATE_URL_HTTPS}" WriteRegStr HKLM "${REGPATH_WU}" "URL" "${UPDATE_URL_HTTPS}"
${Else} ${Else}
; Probably not supported; use HTTP ; Probably not supported; use HTTP
${VerbosePrint} "Using HTTP WSUS server and update page."
WriteRegStr HKLM "${REGPATH_WUPOLICY}" "WUServer" "${WSUS_SERVER}" WriteRegStr HKLM "${REGPATH_WUPOLICY}" "WUServer" "${WSUS_SERVER}"
WriteRegStr HKLM "${REGPATH_WUPOLICY}" "WUStatusServer" "${WSUS_SERVER}" WriteRegStr HKLM "${REGPATH_WUPOLICY}" "WUStatusServer" "${WSUS_SERVER}"
WriteRegStr HKLM "${REGPATH_WU}" "URL" "${UPDATE_URL}" WriteRegStr HKLM "${REGPATH_WU}" "URL" "${UPDATE_URL}"
@ -850,7 +852,7 @@ Function .onInit
; Try not to be too intrusive on Windows 10 and newer, which are (for now) fine ; Try not to be too intrusive on Windows 10 and newer, which are (for now) fine
${If} ${AtLeastWin10} ${If} ${AtLeastWin10}
!insertmacro RemoveSection ${ROOTCERTS} ;!insertmacro RemoveSection ${ROOTCERTS}
${EndIf} ${EndIf}
${IfNot} ${AtLeastWin7} ${IfNot} ${AtLeastWin7}
@ -984,12 +986,12 @@ Function PostInstall
${IfNot} ${Silent} ${IfNot} ${Silent}
${AndIfNot} ${IsRunOnce} ${AndIfNot} ${IsRunOnce}
${If} ${FileExists} "$INSTDIR\LegacyUpdate.exe" ${If} ${AtLeastWin10}
Exec '"$INSTDIR\LegacyUpdate.exe" /launch $0'
${ElseIf} ${AtLeastWin10}
ExecShell "" "ms-settings:windowsupdate" ExecShell "" "ms-settings:windowsupdate"
${ElseIf} ${AtLeastWinVista} ${ElseIf} ${AtLeastWinVista}
Exec '"$WINDIR\system32\wuauclt.exe" /ShowWUAutoScan' Exec '"$WINDIR\system32\wuauclt.exe" /ShowWUAutoScan'
${ElseIf} ${FileExists} "$INSTDIR\LegacyUpdate.exe"
Exec '"$INSTDIR\LegacyUpdate.exe" /launch $0'
${EndIf} ${EndIf}
; Launch activation wizard if requested by the user ; Launch activation wizard if requested by the user