Skip to content

Commit 666ab69

Browse files
authored
Update batch.sh
1 parent 62c195b commit 666ab69

1 file changed

Lines changed: 14 additions & 4 deletions

File tree

src/batch.sh

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2100,7 +2100,8 @@ writeWin9xAnswerFile() {
21002100
'[Install]' \
21012101
"CopyFiles=$copyFiles" \
21022102
"UpdateInis=$updateInis" \
2103-
"AddReg=$addReg"
2103+
"AddReg=$addReg" \
2104+
'BitReg=Win9x.DisableAnimationsDefault'
21042105

21052106
if [ -n "$installDelReg" ]; then
21062107
printf '%s\n' "DelReg=$installDelReg"
@@ -2189,7 +2190,8 @@ writeWin9xAnswerFile() {
21892190
printf '%s\n' \
21902191
'' \
21912192
'[Win9x.FirstLogon]' \
2192-
"AddReg=$firstLogonAddReg"
2193+
"AddReg=$firstLogonAddReg" \
2194+
'BitReg=Win9x.DisableAnimations'
21932195

21942196
if [ -n "$firstLogonDelReg" ]; then
21952197
printf '%s\n' "DelReg=$firstLogonDelReg"
@@ -2480,7 +2482,7 @@ writeWin9xUserRegistry() {
24802482
'HKU,".DEFAULT\Control Panel\Desktop","SCRNSAVE.EXE",,""' \
24812483
'HKU,".DEFAULT\Control Panel\Desktop","ScreenSaveActive",,"0"' \
24822484
'HKU,".DEFAULT\Control Panel\Desktop","DragFullWindows",,"1"' \
2483-
'HKU,".DEFAULT\Control Panel\Desktop","MenuShowDelay",,"100"' \
2485+
'HKU,".DEFAULT\Control Panel\Desktop","MenuShowDelay",,"0"' \
24842486
'HKU,".DEFAULT\Control Panel\Desktop","FontSmoothing",,"1"' \
24852487
'HKU,".DEFAULT\Control Panel\Desktop","SmoothScroll",0x00010001,0' \
24862488
'HKU,".DEFAULT\Control Panel\Desktop\WindowMetrics","MinAnimate",,"0"' \
@@ -2506,7 +2508,7 @@ writeWin9xUserRegistry() {
25062508
'HKCU,"Control Panel\Desktop","SCRNSAVE.EXE",,""' \
25072509
'HKCU,"Control Panel\Desktop","ScreenSaveActive",,"0"' \
25082510
'HKCU,"Control Panel\Desktop","DragFullWindows",,"1"' \
2509-
'HKCU,"Control Panel\Desktop","MenuShowDelay",,"100"' \
2511+
'HKCU,"Control Panel\Desktop","MenuShowDelay",,"0"' \
25102512
'HKCU,"Control Panel\Desktop","FontSmoothing",,"1"' \
25112513
'HKCU,"Control Panel\Desktop","SmoothScroll",0x00010001,0' \
25122514
'HKCU,"Control Panel\Desktop\WindowMetrics","MinAnimate",,"0"' \
@@ -2525,6 +2527,14 @@ writeWin9xUserRegistry() {
25252527
'HKCU,"Software\Microsoft\Windows\CurrentVersion\Policies\Explorer","StartMenuLogOff",0x00010001,1'
25262528
fi
25272529
fi
2530+
2531+
printf '%s\n' \
2532+
'' \
2533+
'[Win9x.DisableAnimationsDefault]' \
2534+
'HKU,".DEFAULT\Control Panel\Desktop","UserPreferencesMask",0,0x02,0' \
2535+
'' \
2536+
'[Win9x.DisableAnimations]' \
2537+
'HKCU,"Control Panel\Desktop","UserPreferencesMask",0,0x02,0'
25282538
}
25292539

25302540
writeWin9xMachineRegistry() {

0 commit comments

Comments
 (0)