【教學】XP 多重開機 + 自動安裝



贊助商連結


頁 : 1 2 3 4 5 [6] 7 8 9 10 11 12 13

LJI
2003-11-02, 04:22 AM
最初由 dou0228 發表
http://www.microsoft.com/windows/ieak/default.asp

先下載 IEAK, 然後安裝並啟動之..

啟動後, IEAK 同步, 它會去網路上下載 IE6 SP1 至 IEAK 啟動時建立的資料夾.

等 IE6 SP1 同步完之後, 選 CD 封裝模式, 就會把 IE6 SP1 弄成給光碟執行的 執行檔, 無須網路下載了..

再來就是細部設定, 它甚至可以幫你設定好 Proxy, 我的最愛, ... etc.

最後就是 把 2K CD 裡的 SVCPACK.INF 加上執行 ie6setup.exe 讓它跑無聲模式.

前面的步驟我會做了,但最後"把2K裡的SVCPACK.INF加上執行ie6setup.exe"
這點小弟真的不太清楚該如何整合@@?

贊助商連結


foxbrian
2003-11-02, 03:31 PM
最初由 LJI 發表
前面的步驟我會做了,但最後"把2K裡的SVCPACK.INF加上執行ie6setup.exe"
這點小弟真的不太清楚該如何整合@@?

用記事本開啟i386\svcpack.inf,如果沒這個檔,就自己做一個
加入下面內容


[Version]
Signature="$Windows NT$"
MajorVersion=5
MinorVersion=1
BuildNumber=2600

[SetupData]
CatalogSubDir="\i386\Update"

[ProductCatalogsToInstall] <--這一行應該可以不加

[SetupHotfixesToRun]
update.exe -q -n
ie6setup.exe

紅色字是你封裝完IE6後,該執行檔的檔名,記得把ie6setup.exe放到i386\Update

做完上面步驟,2K安裝時就會安裝IE6了

PS.這是參考整合Hotfixes的方法推測出來的,沒實測:eek:

LJI
2003-11-02, 08:32 PM
感謝dou0228跟foxbrian兄的回覆,小弟受教了。

但是奇怪的是,我採用CD封裝,但是並未封裝成一個安裝檔。
封裝好的版本,跟網路下載的版本內容差不多,只是多了一堆"CUSTOMx.CAB"的檔案。(x內為數字,內容為修正檔)
試問一下,這樣就算是做好封裝了嗎@@?

Aquarius
2003-11-03, 12:50 PM
關於事先整合優化XP註冊表部份, 有興趣的人可以到這裡參考
相當的豐富
http://www.kellys-korner-xp.com/xp_tweaks.htm

dou0228
2003-11-03, 06:20 PM
最初由 LJI 發表

但是奇怪的是,我採用CD封裝,但是並未封裝成一個安裝檔。


它是會產生 ie6setup.exe, 還有一大堆的 CAB 檔案..
所以你如果有看到 ie6setup.exe 就算是完成 CD 封裝 :)

LJI
2003-11-04, 04:02 PM
感謝,弟已經完成了!

目前Win2000也已經整合完畢,系統安裝完會安裝IE6SP1及其相關HOTFIX
以MBSA(Mircorsoft Baseline Security Analyzer)測試已無漏HOTFIX。
感謝提供相關資訊的大德,讓小弟得以打造自己喜歡的整合光碟。
(其後整合、測試、安裝已超過50次,實際安裝超過20次.......^^")

lamina
2003-11-13, 03:03 AM
之前的開機選單是用 diskem1x 作出來的...
雖然很簡陋, 但還滿實用的
不過有時候圖形介面也蠻不錯的....

Boot Scriptor 1.2.18
http://www.bootscriptor.org/
下載:http://www.cs.uic.edu/~mter/bscript/distro/Boot%20Scriptor%20(1.2.18).zip

Bootable CD Script for Boot Scriptor
http://bootcd.narod.ru/
bcds105bsm.zip - v1.05 (23.07.2003) 下載:http://bootcd.narod.ru/bcds105bsm.zip

建一個 TEST 目錄
把 Boot%20Scriptor%20(1.2.18).zip 和 bcds105bsm.zip 解壓縮到此 TEST 目錄下
然後可以把 licenses、tools 目錄和 changes.txt 、 rpm.txt 都刪除
我們只要 bscript 目錄就行了...
然後再進入 bscript 目錄, 把 bscript.bmp、bscript.bsi 和 bscriptw.com 刪除...

編輯 bscript.ini 輸入

clear
Print "Press any key to boot from CD..."
getkey 6 goto boothd
goto bootcd

boothd:
clear
bcdw C:

bootcd:
clear
script bcds/bcds.ini

最後進入 bcds 目錄內編輯 bcds.ini 檔案
在 bcds.ini 內, 可以把多餘的項目移除...
至於 gif 圖檔, 請使用 GIF98 的格式 256 色
最重要的是所有圖檔的索引調色盤, 都必須一致...
否則圖形將會顯示不正常....





showgif 語法

/>help showgif
Show GIF for Boot Scriptor (23.07.2003)
Copyright (c)2003 by [email protected]. http://bootcd.narod.ru
Usage:
showgif filename,X,Y,S,C
X,Y - Position
S - Stop condition:
0 - Show GIF and exit (default)
1 - Show GIF and wait for any key
2..255 - Show GIF and wait for any key, but not longer than 2..255 sec.
C - Clear screen and reload palette:
0 - No
1 - Yes (default)

bcdw 語法

/>help bcdw
Bootable CD Wizard v1.50c - Boot Scriptor module (23.07.2003)
Copyright (c)1999-2003 by [email protected]. http://bootcd.narod.ru
Usage:
bcdw A:|C:|<boot_image_file> [parameters_for_boot_image_file]
Examples:
bcdw A:
bcdw C:
bcdw \bootsect.bin
bcdw \i386\setupldr.bin
bcdw \acronis\acronis.wbt
bcdw \images\floppy_disk_700mb.img
bcdw \images\hard_disk_700mb.img
bcdw \images\dos4bcdw.ima \vc\vc.com
bcdw \images\dos4bcdw.ima \win9x\setup.exe
bcdw /isolinux/isolinux.bin /isolinux/memdisk initrd=/images/rescue.gz
bcdw /isolinux/isolinux.bin /linux/kernel initrd=/linux/rescue.gz

其他語法請參考:
http://www.cs.uic.edu/~mter/bscript/bscript.html

最後可以使用 cdimage.exe 來作成開機 ISO 檔...

cdimage -lTest -t08/23/2001,09:00:00 -bc:\TEST\bscript\loader.bin -h -n -m -o c:\TEST c:\bcdw.iso

lamina
2003-11-13, 03:10 AM
我的 bcds.ini 給有興趣之人參考用...


goto start

item_01_go:
bcdw \VOL1.DAT
goto quit

item_02_go:
bcdw \VOL2.DAT
goto quit

item_03_go:
bcdw \image\boot98sc.ima
goto quit

item_04_go:
bcdw \image\bootmec.ima
goto quit

item_05_go:
bcdw \image\boot622.ima
goto quit

hdd_boot:
bcdw C:

quit:
show console
cd /

start:
cd bcds
showgif logonscr.gif,0,0
showgif welcome.gif,300,270,3,0
getkey
showgif desktop.gif,0,0,,0
showgif window.gif,25,25,,0
showgif item_h.gif,40,70,,0
showgif help.gif,80,70,,0
showgif welcome.gif,40,130,,0
showgif whats.gif,60,160,,0

showgif item_n_p.gif,80,220,,0
showgif f1.gif,115,220,,0
showgif item_01.gif,155,220,,0

showgif item_n_p.gif,80,250,,0
showgif f2.gif,115,250,,0
showgif item_02.gif,155,250,,0

showgif item_n_p.gif,80,280,,0
showgif f3.gif,115,280,,0
showgif item_03.gif,155,280,,0

showgif item_n_p.gif,80,310,,0
showgif f4.gif,115,310,,0
showgif item_04.gif,155,310,,0

showgif item_n_p.gif,80,340,,0
showgif f5.gif,115,340,,0
showgif item_05.gif,155,340,,0

showgif item_x_p.gif,40,520,,0
showgif altf4.gif,80,520,,0

showgif item_x_p.gif,310,520,,0
showgif esc.gif,350,520,,0

showgif item_n_a.gif,80,220,30,0
goto timeout

item_01_active:
showgif item_n_a.gif,80,220,1,0
timeout:
getkey
showgif item_n_p.gif,80,220,,0
onkey enter goto item_01_go
onkey up goto item_esc_active
onkey down goto item_02_active
onkey f1 goto item_01_go
onkey f2 goto item_02_go
onkey f3 goto item_03_go
onkey f4 goto item_04_go
onkey f5 goto item_05_go
onkey af4 goto quit
onkey esc goto hdd_boot
goto item_01_active

item_02_active:
showgif item_n_a.gif,80,250,1,0
getkey
showgif item_n_p.gif,80,250,,0
onkey enter goto item_02_go
onkey up goto item_01_active
onkey down goto item_03_active
onkey f1 goto item_01_go
onkey f2 goto item_02_go
onkey f3 goto item_03_go
onkey f4 goto item_04_go
onkey f5 goto item_05_go
onkey af4 goto quit
onkey esc goto hdd_boot
goto item_02_active

item_03_active:
showgif item_n_a.gif,80,280,1,0
getkey
showgif item_n_p.gif,80,280,,0
onkey up goto item_02_active
onkey enter goto item_03_go
onkey down goto item_04_active
onkey f1 goto item_01_go
onkey f2 goto item_02_go
onkey f3 goto item_03_go
onkey f4 goto item_04_go
onkey f5 goto item_05_go
onkey af4 goto quit
onkey esc goto hdd_boot
goto item_03_active

item_04_active:
showgif item_n_a.gif,80,310,1,0
getkey
showgif item_n_p.gif,80,310,,0
onkey up goto item_03_active
onkey enter goto item_04_go
onkey down goto item_05_active
onkey f1 goto item_01_go
onkey f2 goto item_02_go
onkey f3 goto item_03_go
onkey f4 goto item_04_go
onkey f5 goto item_05_go
onkey af4 goto quit
onkey esc goto hdd_boot
goto item_04_active

item_05_active:
showgif item_n_a.gif,80,340,1,0
getkey
showgif item_n_p.gif,80,340,,0
onkey up goto item_04_active
onkey enter goto item_05_go
onkey down goto item_altf4_active
onkey f1 goto item_01_go
onkey f2 goto item_02_go
onkey f3 goto item_03_go
onkey f4 goto item_04_go
onkey f5 goto item_05_go
onkey af4 goto quit
onkey esc goto hdd_boot
goto item_05_active

item_altf4_active:
showgif item_x_a.gif,40,520,1,0
getkey
showgif item_x_p.gif,40,520,,0
onkey up goto item_05_active
onkey enter goto quit
onkey down goto item_esc_active
onkey f1 goto item_01_go
onkey f2 goto item_02_go
onkey f3 goto item_03_go
onkey f4 goto item_04_go
onkey f5 goto item_05_go
onkey af4 goto quit
onkey esc goto hdd_boot
goto item_altf4_active

item_esc_active:
showgif item_x_a.gif,310,520,1,0
getkey
showgif item_x_p.gif,310,520,,0
onkey up goto item_altf4_active
onkey enter goto hff_boot
onkey down goto item_01_active
onkey f1 goto item_01_go
onkey f2 goto item_02_go
onkey f3 goto item_03_go
onkey f4 goto item_04_go
onkey f5 goto item_05_go
onkey af4 goto quit
onkey esc goto hdd_boot
goto item_esc_active

lamina
2003-11-13, 01:02 PM
這是 CD Shell 的版本....

http://www.cdshell.org/
CD Shell 2.0.10b 下載:http://www.cs.uic.edu/~mter/cdshell/files/cds2010.zip

Bootable CD Script for CD Shell
http://bootcd.narod.ru/
bcds105csm.zip - v1.05 (23.07.2003) 下載:http://bootcd.narod.ru/bcds105csm.zip

同樣的...兩個檔都解壓縮後...
可以刪除 licenses、tools 目錄和 changes.txt、readme.txt
只留 cdsh 目錄...

進入 cdsh 目錄後,可刪除 graphics、samples 等目錄

cdsh\cdshell.ini 內容...

clear
Print "Press any key to boot from CD..."
getkey 6 bcdw C:
clear
script bcds/bcds.ini
end

cdsh\bcds\bcds.ini 內容

goto start

item_01_go:
bcdw \VOL1.DAT
goto quit

item_02_go:
bcdw \VOL2.DAT
goto quit

item_03_go:
bcdw \image\boot98sc.ima
goto quit

item_04_go:
bcdw \image\bootmec.ima
goto quit

item_05_go:
bcdw \image\boot622.ima
goto quit

hdd_boot:
bcdw C:

quit:
show console
cd /


start:
cd bcds
showgif logonscr.gif,0,0
showgif welcome.gif,300,270,3,0
getkey
showgif desktop.gif,0,0,,0
showgif window.gif,25,25,,0
showgif item_h.gif,40,70,,0
showgif help.gif,80,70,,0
showgif welcome.gif,40,130,,0
showgif whats.gif,60,160,,0

showgif item_n_p.gif,80,220,,0
showgif f1.gif,115,220,,0
showgif item_01.gif,155,220,,0

showgif item_n_p.gif,80,250,,0
showgif f2.gif,115,250,,0
showgif item_02.gif,155,250,,0

showgif item_n_p.gif,80,280,,0
showgif f3.gif,115,280,,0
showgif item_03.gif,155,280,,0

showgif item_n_p.gif,80,310,,0
showgif f4.gif,115,310,,0
showgif item_04.gif,155,310,,0

showgif item_n_p.gif,80,340,,0
showgif f5.gif,115,340,,0
showgif item_05.gif,155,340,,0

showgif item_x_p.gif,40,520,,0
showgif altf4.gif,80,520,,0

showgif item_x_p.gif,310,520,,0
showgif esc.gif,350,520,,0

showgif item_n_a.gif,80,220,30,0
goto timeout

item_01_active:
showgif item_n_a.gif,80,220,1,0
timeout:
getkey
showgif item_n_p.gif,80,220,,0
if $lastKey == key[enter]; then goto item_01_go
if $lastKey == key[up]; then goto item_esc_active
if $lastKey == key[down]; then goto item_02_active
if $lastKey == key[f1]; then goto item_01_go
if $lastKey == key[f2]; then goto item_02_go
if $lastKey == key[f3]; then goto item_03_go
if $lastKey == key[f4]; then goto item_04_go
if $lastKey == key[f5]; then goto item_05_go
if $lastKey == key[af4]; then goto quit
if $lastKey == key[esc]; then goto hdd_boot
goto item_01_active

item_02_active:
showgif item_n_a.gif,80,250,1,0
getkey
showgif item_n_p.gif,80,250,,0
if $lastKey == key[enter]; then goto item_02_go
if $lastKey == key[up]; then goto item_01_active
if $lastKey == key[down]; then goto item_03_active
if $lastKey == key[f1]; then goto item_01_go
if $lastKey == key[f2]; then goto item_02_go
if $lastKey == key[f3]; then goto item_03_go
if $lastKey == key[f4]; then goto item_04_go
if $lastKey == key[f5]; then goto item_05_go
if $lastKey == key[af4]; then goto quit
if $lastKey == key[esc]; then goto hdd_boot
goto item_02_active

item_03_active:
showgif item_n_a.gif,80,280,1,0
getkey
showgif item_n_p.gif,80,280,,0
if $lastKey == key[up]; then goto item_02_active
if $lastKey == key[enter]; then goto item_03_go
if $lastKey == key[down]; then goto item_04_active
if $lastKey == key[f1]; then goto item_01_go
if $lastKey == key[f2]; then goto item_02_go
if $lastKey == key[f3]; then goto item_03_go
if $lastKey == key[f4]; then goto item_04_go
if $lastKey == key[f5]; then goto item_05_go
if $lastKey == key[af4]; then goto quit
if $lastKey == key[esc]; then goto hdd_boot
goto item_03_active

item_04_active:
showgif item_n_a.gif,80,310,1,0
getkey
showgif item_n_p.gif,80,310,,0
if $lastKey == key[up]; then goto item_03_active
if $lastKey == key[enter]; then goto item_04_go
if $lastKey == key[down]; then goto item_05_active
if $lastKey == key[f1]; then goto item_01_go
if $lastKey == key[f2]; then goto item_02_go
if $lastKey == key[f3]; then goto item_03_go
if $lastKey == key[f4]; then goto item_04_go
if $lastKey == key[f5]; then goto item_05_go
if $lastKey == key[af4]; then goto quit
if $lastKey == key[esc]; then goto hdd_boot
goto item_04_active

item_05_active:
showgif item_n_a.gif,80,340,1,0
getkey
showgif item_n_p.gif,80,340,,0
if $lastKey == key[up]; then goto item_04_active
if $lastKey == key[enter]; then goto item_05_go
if $lastKey == key[down]; then goto item_altf4_active
if $lastKey == key[f1]; then goto item_01_go
if $lastKey == key[f2]; then goto item_02_go
if $lastKey == key[f3]; then goto item_03_go
if $lastKey == key[f4]; then goto item_04_go
if $lastKey == key[f5]; then goto item_05_go
if $lastKey == key[af4]; then goto quit
if $lastKey == key[esc]; then goto hdd_boot
goto item_05_active

item_altf4_active:
showgif item_x_a.gif,40,520,1,0
getkey
showgif item_x_p.gif,40,520,,0
if $lastKey == key[up]; then goto item_05_active
if $lastKey == key[enter]; then goto quit
if $lastKey == key[down]; then goto item_esc_active
if $lastKey == key[f1]; then goto item_01_go
if $lastKey == key[f2]; then goto item_02_go
if $lastKey == key[f3]; then goto item_03_go
if $lastKey == key[f4]; then goto item_04_go
if $lastKey == key[f5]; then goto item_05_go
if $lastKey == key[af4]; then goto quit
if $lastKey == key[esc]; then goto hdd_boot
goto item_altf4_active

item_esc_active:
showgif item_x_a.gif,310,520,1,0
getkey
showgif item_x_p.gif,310,520,,0
if $lastKey == key[up]; then goto item_altf4_active
if $lastKey == key[enter]; then goto hff_boot
if $lastKey == key[down]; then goto item_01_active
if $lastKey == key[f1]; then goto item_01_go
if $lastKey == key[f2]; then goto item_02_go
if $lastKey == key[f3]; then goto item_03_go
if $lastKey == key[f4]; then goto item_04_go
if $lastKey == key[f5]; then goto item_05_go
if $lastKey == key[af4]; then goto quit
if $lastKey == key[esc]; then goto hdd_boot
goto item_esc_active


最後 bcds 目錄底下的 gif 圖檔...
請依照自己的須要, 使用影像處理軟體修改
記得索引調色盤必需要一致, 而且色數不能超過 256色(8 Bit)

其他 CD Shell 相關資料
http://www.cs.uic.edu/~mter/cdshell/bguide.html

最後...關於 Boot Scriptor 和 CD Shell
我傾向有興趣之人可以使用 CD Shell
因為 CD Shell 的語法比較強...

Lucky
2003-11-13, 05:41 PM
謝謝大大的細心指導
又多學會了一招