feat: Disable menu animations on NT5 and Win9x (#2177)

This commit is contained in:
Kroese
2026-08-21 19:30:23 +02:00
committed by GitHub
parent 1e5d3c75a8
commit afa55b476c
2 changed files with 56 additions and 9 deletions
+14 -4
View File
@@ -2100,7 +2100,8 @@ writeWin9xAnswerFile() {
'[Install]' \
"CopyFiles=$copyFiles" \
"UpdateInis=$updateInis" \
"AddReg=$addReg"
"AddReg=$addReg" \
'BitReg=Win9x.DisableAnimationsDefault'
if [ -n "$installDelReg" ]; then
printf '%s\n' "DelReg=$installDelReg"
@@ -2189,7 +2190,8 @@ writeWin9xAnswerFile() {
printf '%s\n' \
'' \
'[Win9x.FirstLogon]' \
"AddReg=$firstLogonAddReg"
"AddReg=$firstLogonAddReg" \
'BitReg=Win9x.DisableAnimations'
if [ -n "$firstLogonDelReg" ]; then
printf '%s\n' "DelReg=$firstLogonDelReg"
@@ -2480,7 +2482,7 @@ writeWin9xUserRegistry() {
'HKU,".DEFAULT\Control Panel\Desktop","SCRNSAVE.EXE",,""' \
'HKU,".DEFAULT\Control Panel\Desktop","ScreenSaveActive",,"0"' \
'HKU,".DEFAULT\Control Panel\Desktop","DragFullWindows",,"1"' \
'HKU,".DEFAULT\Control Panel\Desktop","MenuShowDelay",,"100"' \
'HKU,".DEFAULT\Control Panel\Desktop","MenuShowDelay",,"0"' \
'HKU,".DEFAULT\Control Panel\Desktop","FontSmoothing",,"1"' \
'HKU,".DEFAULT\Control Panel\Desktop","SmoothScroll",0x00010001,0' \
'HKU,".DEFAULT\Control Panel\Desktop\WindowMetrics","MinAnimate",,"0"' \
@@ -2506,7 +2508,7 @@ writeWin9xUserRegistry() {
'HKCU,"Control Panel\Desktop","SCRNSAVE.EXE",,""' \
'HKCU,"Control Panel\Desktop","ScreenSaveActive",,"0"' \
'HKCU,"Control Panel\Desktop","DragFullWindows",,"1"' \
'HKCU,"Control Panel\Desktop","MenuShowDelay",,"100"' \
'HKCU,"Control Panel\Desktop","MenuShowDelay",,"0"' \
'HKCU,"Control Panel\Desktop","FontSmoothing",,"1"' \
'HKCU,"Control Panel\Desktop","SmoothScroll",0x00010001,0' \
'HKCU,"Control Panel\Desktop\WindowMetrics","MinAnimate",,"0"' \
@@ -2525,6 +2527,14 @@ writeWin9xUserRegistry() {
'HKCU,"Software\Microsoft\Windows\CurrentVersion\Policies\Explorer","StartMenuLogOff",0x00010001,1'
fi
fi
printf '%s\n' \
'' \
'[Win9x.DisableAnimationsDefault]' \
'HKU,".DEFAULT\Control Panel\Desktop","UserPreferencesMask",0,0x02,0' \
'' \
'[Win9x.DisableAnimations]' \
'HKCU,"Control Panel\Desktop","UserPreferencesMask",0,0x02,0'
}
writeWin9xMachineRegistry() {