shiputi 发表于 2024-4-19 23:08

2024年安装VISTA,基本完美,还有一些问题求解

本帖最后由 huimeijiping108 于 2024-4-19 23:20 编辑

最近心血来潮,安装了vista U版,用论坛里的办法打上补丁,但还是有以下不完美的地方,真心求教各位大大。

1、按照https://bbs.pcbeta.com/viewthread-1957606-1-1.html这个教程安装了累计更新,但系统自带的update搜索不了更新,错误代码80072EFE,如图所示;


2、在高分屏下,更改分辨率为3072x1920,dpi改为192,重启后鼠标图标巨大,猜测是鼠标图标没有同步缩放,不知道可有办法解决?

3、目前困扰的就是更新和4K显示器下的鼠标图标巨大两个问题,期待解决。


shiputi 发表于 2024-4-19 23:27

期待高手解决,不胜感激

zjmandyou 发表于 2024-4-20 10:46

分辨率调到1080P吧

zjmandyou 发表于 2024-4-20 10:50

我的经验是安装好后根据C大的帖子(https://bbs.pcbeta.com/viewthread-1910934-1-3.html)先更新Vista补丁,再更新server2008补丁,然后打上了2023年2月的补丁,但是问题出现了,再次更新就出现80072EFE,怎么也解决不了,只能手动打上3月和4月的累计更新补丁

aishaoquan 发表于 2024-4-20 16:03

楼主可以参考一下mydigitallife的帖子 UpdateVista from SP2 to 2024-03 Script:

https://forums.mydigitallife.net/threads/updatevista-from-sp2-to-2024-03-script.86648/

aishaoquan 发表于 2024-4-20 16:11

全文如下(如果不宜贴过来,请PM本人,将立即刪除):
一楼

As some people know already I have made a lot of test installs of Vista since I found out Abbodi's Vista_SHA2_WUC patch. At first I started by installing the .msu files one by one since I had no clue on scripting. Then I found out that you can use the FOR loop then I added architecture check and then a shutdown at the end. Then I started connecting all those small scripts into bigger ones. I kept adding things until I came up with what I will share here. Still I have no clue on scripting and many of the solutions are "dirty" but they do the trick. I am counting on as much feedback as I can get. Especially if anyone can help me eliminate the dirty tricks and make it more proper.

The script consists of 3 steps. Step1 "Populate", step2 Downloading-Extracting, step3 Waves aka the main installation (waves because it used to be 6 individual scripts but since then it became one).

The first step has 3 scripts of which only one is needed depending on personal preferences. In this step we populate our working folder with the sub directories needed and filelists. Depending on how much people want to download ahead of time and how much will be installed through Windows Update, I have created 3 alternative scripts for step1.

.SpoilerTarget" style="margin-top: 5px; margin-bottom: 5px; padding-right: 12px; padding-left: 12px; font-family: Roboto, Helvetica, Arial, sans-serif; font-size: 13px; font-style: normal; font-weight: 500; font-variant-caps: normal; font-stretch: normal; line-height: 36px; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal; color: rgb(69, 90, 100); background-color: rgb(230, 230, 230); border-width: 0px; border-style: solid; border-radius: 2px; outline: currentcolor; cursor: pointer; box-sizing: content-box; appearance: none; text-transform: uppercase; will-change: box-shadow; transition: box-shadow 0.2s cubic-bezier(0.4, 0, 1, 1) 0s, background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1) 0s, color 0.2s cubic-bezier(0.4, 0, 0.2, 1) 0s; height: 36px; max-width: 99%;">SPOILER: SCRIPT DETAILS"1a-Populate-Minimum" is the absolute minimum needed for restoring the windows update (4 longscan related updates, SHA2 support and the servicing stack update from 2019. Although technicality not needed I have also included the latest servicing stack and the latest ESU licence preparation package.) Extra important here to respect the limit of 100-120 updates at a time. Vista will crash if you try more than this at once without restart.

"1b-Populate-Optimum" is the best from both worlds. Every update that is superseding other updates or is pre-requirement for something else to install is here.

"1c-Populate-Full" is just that. Everything I could find links for and is not (to my knowledge) superseded.

"2-Download-Extract" is the second step where the downloading of the tools and updates, extraction etc is happening. Here wget is being downloaded by the user if it is missing (a download dialog will open automatically with instructions where to save it), 7zip is being installed if it is missing, Abbodi's tools are being extracted and a shortcut to the windows defender definitions, webarchive product red and ultimate extras pages is created. (Ultimated extras cab are being downloaded with links from the catalog anyway.

"3-Waves" is the actual installation of everything. This script will restart your computer several times and start over after every restart. Depending on the "Populate" version can take from 10 minutes to several hours. This script will install also Vista_SHA2_WUC patch and patch it automatically without any user interaction to Option 3 Vista+WS2008. At the end it will set windows update to "Check but let me choose" restart one last time and scan for updates.


What you need before you run the script:
1. It is very important that windows update is set to "don't check" or not set at all before the script runs. (In case of a fresh install you don't have to touch anything). Otherwise a full scan will occur at the end of each msu...
2. The UAC must be off for the duration of the installation. Alternatively you can run it as administrator but in that case you need to manually start it again after each restart (it will continue from where it should though).
3. Working internet is needed only for the downloading of the packages (can be done on another computer and transfered over) and the initial scan at the end.
4. Firefox 52.9.0 ESR (SHA1 Signed) is needed if you are downloading wget on a fresh installation as IE7 won't be able to handle the download. You will be prompted to download firefox before wget if wget is missing.

What you don't need (strictly speaking):
1. Fresh install. Although obviously the script will be the most useful on a fresh install it is not needed. The script has checks in place for detecting if a restart is needed and it won't invoke one unnecessarily.
2. Drivers. With the exception of working internet for downloading the packages (can be done on another machine) and the initial scan at the last step. In fact it could be even better to update your system first and then install the drives since many drivers will require for ex. SHA2 update, KMDF etc.

Other notes and remarks:

x32 Architecture:
This script is created for and tested extensively on x64 architecture. I have tested somewhat on x32 without problems. Since version 0.01.0054 the wuc patch is using the option 2 on x32 as well.

.Net 4.6.2 cumulative update
The script will install .net 4.6.2 if missing but it won't update it if already installed unless manually run. The reason is that the only check that I have checks if 4.6.2 is installed or not but I don't know how to check for a particular version of the cumulative update. If anyone can help me on this I can add it to the script. Same goes for dotNetFx 3.5 since we got an update to it after all those years. In both cases the repack from Abbodi1406 is used.

Disclaimer:
I have done countless test installs in both VMs and Laptops and I have fix any hiccup I found but regardless I won't be held responsible if your computer starts smoking, you crash your car or your wife abandon you as a direct or indirect consequence of this script xD


Please let me know if you have feedback, suggestions or you can help me improve my knowledge in scripting! There are several areas that I would like to improve but my knowledge is limited.

Credits:
@abbodi1406 Your patches are incorporated in this script and are what makes everything work. Also you are amazing and you are always there to answer my countless questions! Thank you!!!
@wkeller Ever since I saw your Integrate7 script I though that it was awesome and I wondered when is someone going to do something like that for Vista https://forums.mydigitallife.net/threads/updatevista-from-sp2-to-2024-03-script.86648/img/smilies/alt/smile.gif The download logic of Integrate7 with wget is also incorporated in UpdateVista I would never be able to pull this off without your download logic. Thank you!!!
@ExtremeGrief Thanks to the demo script that you made for me like a year ago I was able to structure UpdateVista in a much less dirty way (you know pushd instead of cd, the whole script in one piece instead of several etc) back then my knowledge in scripting were very limited and I couldn't understand much but I kept that demo and later one I was able to revisit it and understand more. Thank you!!!
@CaptainSpeleo Your guide and our discussions kept me focused enough and interested in improving the whole process. Thank you!!!

.SpoilerTarget" style="margin-top: 5px; margin-bottom: 5px; padding-right: 12px; padding-left: 12px; font-family: Roboto, Helvetica, Arial, sans-serif; font-size: 13px; font-style: normal; font-weight: 500; font-variant-caps: normal; font-stretch: normal; line-height: 36px; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal; color: rgb(69, 90, 100); background-color: rgb(230, 230, 230); border-width: 0px; border-style: solid; border-radius: 2px; outline: currentcolor; cursor: pointer; box-sizing: content-box; appearance: none; text-transform: uppercase; will-change: box-shadow; transition: box-shadow 0.2s cubic-bezier(0.4, 0, 1, 1) 0s, background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1) 0s, color 0.2s cubic-bezier(0.4, 0, 0.2, 1) 0s; height: 36px; max-width: 99%;">SPOILER: CHANGELOGv0.01.0074 With the help of Abbodi1406 I have added a check to the script. Now the script will check if the update is installed before trying to execute the msu. The result will be skimming through the installed updates much faster and only run the msu if the update is not found.
v0.01.0072 Added 2024-03 Cumulative Updates, Ultimate extras (not installed automatically) and shortcuts to the webarchive for both extras and product red files.
v0.01.0069 Added 2024-01 Cumulative Updates
v0.01.0067 Added 2023-12 Cumulative Updates
v0.01.0066 Added 2023-11 Cumulative Updates
v0.01.0065 Added 2023-10 Cumulative Updates
v0.01.0064 Added 2023-09 Cumulative Updates
v0.01.0059 Added latest cumulative updates
v0.01.0058 Added latest cumulative updates
v0.01.0056 kb5027279 2023-06 SMQR and kb5027139 2023-06 .Net Cumulative updates for 3.5 and 4.6.2
v0.01.0055 kb5026408 2023-05 SMQR and kb5026366 2023-05 IE9 Cumulative Security Update (v9.0.290) were added.
v0.01.0054 Added architecture check in Vista_WUC_Patch. In x86 the default now is WS2008 instead of both. So the update scan won't fail any more.
v0.01.0051 Updated the SMQR with 2023-04
v0.01.0050 Added back the "check but let me choose" option which I had somehow managed to remove and fixed an other problem were the folder 302 would be ignored. Hence seeing 30+ updates instead of 2 after the process. The datastor fix is also added back in case we need it again in the future. It is REMed out though.
v0.01.0048 Added links for Abbodi's PowerShell 3.0 installer and 2023-03 SMQR
v0.01.0045 For loops and architecture check were reworked. Abbodi's repacks used instead of original installers for .net3.5 and 4.6.2. Firefox will be the first think to download since IE7 cannot handle the download of wget. Some visual aspects also improved.
v0.01.0040 The registry keys responsible for the restarts are now spaceproof. IE9 Cumulative Expand results are now hidden. Visual change of the "build" number so that it looks a bit more like a build number.



下面是v0.01.0075最新版附件:




祝楼主体验愉快~

aishaoquan 发表于 2024-4-20 16:13

本帖最后由 aishaoquan 于 2024-4-20 16:19 编辑

下面是原文二楼(由于字节数超标,没法把原文一楼和二楼合并在一起贴出来,只好分开贴出来):

Here I will explain a bit more in detail about the different populate options and KBs. What is important, what supersedes other KBs and what is required for other updates. Note when I use the word 'replaced' means that I was able to confirm it through the catalog and when use the word supersedes means that I noticed it through observation only.

Populate Option 1a: (Absolute minimum to restore Windows Update)
SPOILER: DETAILSStage1:
kb3205638 Longscan Issue
kb4012583 Longscan Issue
kb4015380 Longscan Issue (replaced by kb453403 SMQR or any later 'probably')
kb4019204 Longscan Issue (replaced by kb453403 SMQR or any later 'probably')
kb4474419-v4 SHA2 Code signing support
kb4493730 2019-04 Servicing stack update
restart
Stage2:
KB5033466 2023-12 Servicing Stack Update
kb5016891 2022-08 ESU Licensing Preparation Package
restart
Stage3 is skipped
Stage4:
Vista_SHA2_WUC Installation of WUC7.7 ported from WS2008 by Abbodi
restart
Stage5:
Vista_SHA2_WUC: Patching WUC as Vista+WS2008
Setting Windows Update to "Check but let me chose"
restart
Stage6: Initial scan in the background. (Will take 20-30 minutes)


Populate Option 1b: (The best of both worlds)
SPOILER: DETAILS
Stage1:
Stage1:
Includes all the updates of stage1 above plus the following
Platform update kb971644 (Consists of kb960362, kb971512, kb971513, kb971514) Required for IE9
kb2117917 Platform update supplement, Required for IE9
kb956250 .Net related update (installs automatically with .net 3.5 if you are online during the installation)
kb2763674 SHA256 related app signing, (Superseeds-kb2483185)
kb4019478 d3dcompiler_4.7 (Needed for .Net 4.6.2) This update is part of KB5021094
kb960568 BITS4.0 Needed for PowerShell 3.0 Integration
kb968930 PowerShell 2.0 (Needed for PowerShell 3.0 Integration)
kb4056564-v2 Adds TLS1.1&1.2 support for IE9 (A registry file will still be needed afterwards)
kb3183431 Kernel Mode Drivers
kb2761494 Windows-Driver-Framework-v1.11

kb4040978 (part of KB4041086) Supersedes-kb2978116-kb980842
kb2604094 Replaces-KB2449742
kb2893294 Superseeds-kb2653956
kb3110329 (Superseeds-kb954155-kb975558-kb2281679
kb3138378 Journal.dll Superseeds-kb3115858
kb3140709 Superseeds-kb2423089
kb3170455-v2 Superseeds-kb4022008-kb4037616
kb3193418 Superseeds-kb2570947
kb4014794 Superseeds-kb3196718
kb4074621 Superseeds-kb2621440-kb2861855
kb4074834 Superseeds-kb3004361
kb4090450 SHA2 Support, Superseeds-kb3101722-kb3141083-kb4022914
kb4090928 Superseeds-kb4056446
kb4101477 Replaces-KB3108381

kb3060716 Will bug if you install it before kb4534303 SMQR
kb4014793 Will bug if you install it before kb4534303 SMQR
kb4018556 Will bug if you install it before kb4534303 SMQR
kb4036162 Will bug if you install it before kb4534303 SMQR
restart
.Net 3.5 Final Repack by abbodi1406 which includes the updates that were in exe format
.Net 4.6.2 20231010 Repack by abbodi1406 (with the latest cumulative update included and no bypass needed)
IE9 Installation
restart

Stage3:
kb4534303 2020-01 SMQR
KB5033422 2023-12 SMQR (or latest)
kb5029937 2023-09 .Net 2.0&3.0 Rollup (or latest)
KB5033376 2023-12 IE9 Cumulative Security Update (v9.0.310) (or latest)
restart

Stage4 as above
Stage5 as above
Stage6 as above


Populate Option 1c Includes all the above plus everything that is not superseded. Around 120 unique updates that is.

SPOILER: OTHER NOTES
In Windows Vista there is a limitation of approximately 150 update installations at once. Near this limit Vista will bug and revert changes after a hard reset. That limit could be significantly lower if one of the updates is for example SMQR. This applies no matter if you are doing this through Windows Update offline or through the power of mind. This is the reason why I split the Bulk folders between restarts and I don't install more than 100-120 updates without a restart between.

BypassESU-v7-WS2008 and Datastore fix from Abbodi1406 are being downloaded and extracted by the script for your convenience but are ignored by the install script. The first is needed only for one update and it is not worth it to complicate the script only for this especially when you need to remove it after the installation. The second is needed only in conjunction with the previous ESU-LPP which I don't use currently.

kb4534251 2020-01 IE9 Cumulative Update is the last that can be installed without the script on x64 obviously superseded by the newer ones.


祝体验愉快~


shiputi 发表于 2024-4-20 18:28

aishaoquan 发表于 2024-4-20 16:11 https://i.pcbeta.com/static/image/common/back.gif
全文如下(如果不宜贴过来,请PM本人,将立即刪除):
一楼



非常感谢,有心了

shiputi 发表于 2024-4-20 18:30

zjmandyou 发表于 2024-4-20 10:46 https://i.pcbeta.com/static/image/common/back.gif
分辨率调到1080P吧

那样看起来就很强的颗粒感了

shiputi 发表于 2024-4-20 18:48

aishaoquan 发表于 2024-4-20 16:13 https://i.pcbeta.com/static/image/common/back.gif
下面是原文二楼(由于字节数超标,没法把原文一楼和二楼合并在一起贴出来,只好分开贴出来):

Here I w ...

试了,还是不能更新啊

shiputi 发表于 2024-4-20 21:57


最终成功了,参考老外方法,试了很多途径,看看有没有时间再写个教程


zjmandyou 发表于 2024-4-20 22:48

huimeijiping108 发表于 2024-4-20 21:57 https://i.pcbeta.com/static/image/common/back.gif
最终成功了,参考老外方法,试了很多途径,看看有没有时间再写个教程

怎么成功的?上面的英文看不懂啊

zjmandyou 发表于 2024-4-20 22:50

zjmandyou 发表于 2024-4-20 22:48 https://i.pcbeta.com/static/image/common/back.gif
怎么成功的?上面的英文看不懂啊

楼主分享一下经验

shiputi 发表于 2024-4-20 23:21

zjmandyou 发表于 2024-4-20 22:50 https://i.pcbeta.com/static/image/common/back.gif
楼主分享一下经验

就是使用代理更新

shiputi 发表于 2024-4-20 23:37

zjmandyou 发表于 2024-4-20 22:50 https://i.pcbeta.com/static/image/common/back.gif
楼主分享一下经验

留下邮箱私发你吧,我这里编辑太难

zjmandyou 发表于 2024-4-21 09:48

huimeijiping108 发表于 2024-4-20 23:37 https://i.pcbeta.com/static/image/common/back.gif
留下邮箱私发你吧,我这里编辑太难

zjmandyou@163.com,太感谢啦

lzh052 发表于 2024-4-21 13:49

2K分辨率应该是Vista的极限,不过你安装在虚拟机里的Vista没有任何实际讨论的意义。安装在实体机里还有点探讨的余地

zjmandyou 发表于 2024-4-21 13:57

楼主的配置实体机应该也可以装

shiputi 发表于 2024-4-21 16:01

zjmandyou 发表于 2024-4-21 09:48 https://i.pcbeta.com/static/image/common/back.gif
,太感谢啦

已发送,请查收

shiputi 发表于 2024-4-21 16:04

lzh052 发表于 2024-4-21 13:49 https://i.pcbeta.com/static/image/common/back.gif
2K分辨率应该是Vista的极限,不过你安装在虚拟机里的Vista没有任何实际讨论的意义。安装在实体机里还有点探 ...

Parallels比较强大,硬件分配合理的话,使用起来和实体机差别不大,而且,按照今天的硬件水平,实体机安装很难找到完美的驱动,但Parallels虚拟机安装则完全不用考虑驱动的问题
页: [1] 2
查看完整版本: 2024年安装VISTA,基本完美,还有一些问题求解