史萊姆論壇

返回   史萊姆論壇 > 教學文件資料庫 > 作業系統操作技術文件
忘記密碼?
論壇說明 標記討論區已讀

歡迎您來到『史萊姆論壇』 ^___^

您目前正以訪客的身份瀏覽本論壇,訪客所擁有的權限將受到限制,您可以瀏覽本論壇大部份的版區與文章,但您將無法參與任何討論或是使用私人訊息與其他會員交流。若您希望擁有完整的使用權限,請註冊成為我們的一份子,註冊的程序十分簡單、快速,而且最重要的是--註冊是完全免費的!

請點擊這裡:『註冊成為我們的一份子!』

Google 提供的廣告


 
 
主題工具 顯示模式
舊 2003-08-26, 08:05 PM   #1
psac
榮譽會員
 
psac 的頭像
榮譽勳章
UID - 3662
在線等級: 級別:30 | 在線時長:1048小時 | 升級還需:37小時級別:30 | 在線時長:1048小時 | 升級還需:37小時級別:30 | 在線時長:1048小時 | 升級還需:37小時級別:30 | 在線時長:1048小時 | 升級還需:37小時級別:30 | 在線時長:1048小時 | 升級還需:37小時
註冊日期: 2002-12-07
住址: 木柵市立動物園
文章: 17381
現金: 5253 金幣
資產: 33853 金幣
預設 集成Windows XP SP1 & MS HotFix 集成

  有很多朋友都曾經試過用手工的方法將微軟發佈的Service Pack 1(Service Pack,服務軟體包,簡稱SP)集成到Windows XP,但即便是按照詳盡的操作說明來進行集成,其程序對於普通用戶來說還是太複雜了。



  不過,現在有一款名為Flexbeta Slipstreamer XP的軟體,可以讓你跳過這些複雜的操作步驟達到迅速集成SP1的目的。

該軟體目前的最新版本為V2 Beta2,文件大小為4.41MB,下載位址為http://download.softicp.com/index.php?o=display;id=166]。

下載後按照預設設定安裝該軟體即可。

下面,我們就以集成SP1到Windows XP為例來看看它的使用方法。

  第1步 準備工作

  在正式進行集成之前,應該做好三項準備工作:
一是先將Windows XP的安裝文件複製到硬碟上的某個臨時資料夾中;
二是從網上下載SP1修正檔文件;三是在硬碟上整理一個剩餘空間較大的分區用於集成操作。

  第2步 載入SP1

  執行Flexbeta Slipstreamer XP,其主界面如所顯示,按下「Browse」按鈕找到SP1的執行文件xpsp1a_cn_x86.exe。


  第3步 載入Windows XP

  按下「Next」按鈕,系統會要求用戶指定Windows XP安裝文件的位置,如所顯示。

這裡有「Windows XP CD」、「Location on the hard drive」兩種選項,前者表示安裝文件在Windows XP的安裝光碟上,後者表示安裝文件在硬碟上。

預設情況下程序會選項「Windows XP CD」,如果你事先已經將Windows XP安裝光碟中的檔案拷貝到硬碟上的話,就可以選項「Location on the hard drive」選項了。
>第4步 設定安裝方式

  如所顯示,我們可以在這裡選項以後安裝Windows XP時是通過手工回應安裝還是無人值守安裝方式,預設設定是「No,I will enter information during install」方式,即手工回應安裝方式。




  如果你希望在安裝程序中讓安裝程序自動輸入序列號,可以在如所顯示的視窗中選項「Yes,I would like the CD Key to be automatically entered during the install process」選項,同時在下面鍵入正確的安裝序列號。




  第5步 自動集成SP1

  接下來,Flexbeta Slipstreamer XP會自動執行集成操作,其實這裡的步驟和手工集成SP1的步驟並沒有什麼差別,首先還是會驗證你的Windows XP安裝文件,順利通過驗證後,程序進入昇級界面,然後再等候大約5分鐘的時間,即可完成集成SP1的操作了,如顯示。




  第6步 新增ISO文件

  集成SP1的操作結束後,我們可以在彈出的視窗中選項「Yes,I would like to have an ISO image created for me」,將剛剛集成了SP1的Windows XP儲存為ISO格式的光碟鏡像文件,如果你有燒錄機的話,將它燒錄到光碟上,以後使用就方便多了。

  最後要說明的是,Flexbeta Slipstreamer XP不僅可以將SP1集成到Windows XP安裝文件中,還可以集成Office XP的SP1、SP2修正檔包,即便是最新的Windows XP SP2也可以正常集成,趕快去試試吧。

  晨風提示:實際上,服務軟體包是軟體公司專門為像Windows這樣的大型軟體提供的「修正檔集合」,它包含了一段時間以來軟體公司為特定軟體提供的各種各樣的BUG修正檔、功能更新等程序。

如Windows XP SP1主要用於確保 Windows XP 平台與新發行的軟體和硬體之間的相容性;
提供了Windows XP在安全等方面需要加裝的很多修正檔程序,解決了Windows XP在使用或測試程序中出現的問題。因此,加裝服務軟體包對大型軟體,尤其是操作系統具有非常重要的意義。


-- 集成Hotfix..........

如果說Windows的Service Pack是個修正檔大集合,那麼Hotfix就是小修正檔了。一般情況下,系統會在我們安裝完Windows之後自動連網定期下載、安裝一些比較重要的Hotfix。

【t3060004.tif】但是,每次重新安裝系統之後,就要把這些東東一個個自動重新安裝一遍,還是挺煩人的。

萬一黑客們在我剛剛重新安裝系統之後就開始攻擊呢?那個重要的Hotfix,Windows的自動更新程序還沒有給我安裝呢!
所以,我們有必要將這些Hotfix集成到Windows安裝程序中。

集成的方法很多。

一是真正的集成,即更新Windows安裝文件。

二是集成安裝,即把安裝Hotfix的工作增加到安裝Windows的工作流程中,並使其自動進行。另外,如果你已經安裝了Windows XP,那麼要考慮的就是怎麼主動安裝你需要的Hotfix。

第一種集成方法比較複雜,所以在此就略去不談。

我們主要講解第二種方法。這中集成安裝的最根本的問題,就是以下三點:

1.要讓Hotfix在Windows XP安裝完成之後自動開始安裝。

2.安裝程序自動化,不需要用戶干預,甚至不顯示任何信息。

3.連續自動安裝多個Hotfix而不重啟動。

大家可以注意到,解決了後兩個問題,也給在現有Windows XP上安裝Hotfix提供了很多方便。那我們現在就來著手解決這兩個問題。

【二級】確定並收集需要的Hotfix

首先要獲取自己系統所需的Hotfix安裝程序。最好的辦法就是在Windows XP安裝好之後,立即連網,上www.windowsupdate.com,檢查並下載當前操作系統需要的Hotfix程序。

預設情況下www.windowsupdate.com是提供線上安裝的。

我們可以通過以下方法檢測,選項並將指定的Hotfix都下載到本機硬碟。

【以下以圖為主,文字隨圖,排版為圖解形式。
希望圖片位瞞錯落有致】
【t30600041.tif】首先「個性化Windows Update」,然後選右邊視窗中唯一的複選框,最後點擊「儲存」儲存設瞞。

這樣我們才能將昇級修正檔都下載到本機硬碟上使用。

【t3060005.tif】選項「搜尋Microsoft Windows操作系統的更新」。

【t3060006.tif】而後,選項正確的操作系統版本。

【t3060007.tif】接下來選項需要的更新程序(Hotfix),點擊「增加」按鈕,將其增加到「下載籃子」(有點像網上購物不是)。

這裡推薦選項「重要更新」裡面的大部分更新程序。

「多語言功能」和「推薦更新」下的更新程序根據自己的需要選項少數幾個即可。
增加完之後,點擊「轉到下載籃子」。
【t3060008.tif】這時程序要求你選項下載後文件的存儲位瞞,並要求你再次驗證要下載的程序。

如果有什麼不需要的程序,此時點擊「刪除」即可不下載它們。
驗證無誤,設瞞好存儲的位瞞後,點擊「立即下載」。

【t3060009.tif】開始下載前,還要接受傳輸協定。只要不是賣身契,就接受吧。
【t3060010.tif】開始下載了,默念不要斷網的咒語吧。

【t3060011.tif】下載完畢……啊?居然還有下載失敗的,那就重新把它們下載一次!

【二級】將Hotfix納入Windows XP安裝流程
首先,一一安裝比較麻煩。還是把這一批Hotfix都編寫在一個批次處理文件裡面一次性解決吧。新增一個hotfix.bat,內容如下:

@ECHO OFF
TITLE Hofix Install
ECHO Hotfixs Installing...
Q310510.exe -n -q -z
Q311967.exe -n -q -z
……

如此,將Hotfix程序逐一增加在後面即可。

以上採用的參數意義如下:
-n:不制作備份被替換的原文件;
-q:
無顯示示安裝;
-z:
安裝完之後不重啟動

然後就要把Hotfix.bat增加到Windows XP自動安裝設瞞的最後一步。

問題是,如何能讓Windows XP在安裝時能夠準確的找到並執行Hotfix.bat?我們可以在Windows XP安裝文件的i386目錄下建立一個$OEM$目錄,(如果要燒錄到光碟上安裝,則應該讓$OEM$和i386在魂一個目錄下。)

再在$OEM$下建立一個svcpack目錄,把Hotfix.bat和涉及的Hotfix程序都拷貝到其中。在$OEM$目錄中增加Cmdlines.txt文件,其內容如下:

[Commands]
".\svcpack\install.bat"

然後用記事本開啟我們上一篇製作的系統自動安裝文件unattend.txt,將其中[unattend]段下的OemPreinstall = No改為 = Yes。

這樣,Windows XP在安裝的時候就會自動安裝這些Hotfix了。

魂樣的方法,我們開可以把一些需要安裝的程序增加到這裡。
讓它們隨Windows XP自動安裝。

另外,考慮到MS會不斷推出新版的Hotfix程序。所以,建議大家在這裡預留一條「後路」,方便我們增加新Hotfix。

一種方法,是燒錄光碟時選項多區段燒錄,以便我們隨時增加新的Hotfix程序,改寫,替換相關的文件。另一種方法,是在Comdlines.txt裡面增加一句,指向其它分區上的Hotfix.bat。

例如:

[Commands]
".\svcpack\install.bat"
"D:\hotfix.bat"

這樣,如果有新的昇級程序,就可以事先儲存在D碟,而後編寫好編寫hotfix.bat,然後再安裝Windows XP。

程序就會自動把最新的Hotfix也裝上了。


參考資料:

使用 QChain.exe 在 Windows 中安裝多個修補程式
http://www.slime2.com.tw/forums/show...ghlight=HOTFIX


Qfecheck.exe Verifies the Installation of Windows 2000 and Windows XP Hotfixes
適用於
This article was previously published under Q282784
SUMMARY
Microsoft has released a command-line tool named Qfecheck.exe that gives network administrators increased ability to track and verify installed Windows 2000 and Windows XP hotfixes. This tool provides the following benefits:
This tool helps customers who thought they had properly installed an update, but had not, and are now experiencing a problem. Previously, it was somewhat difficult to identify which fixes were installed on a computer. This simple tool easily enumerates all of the installed fixes by Microsoft Knowledge Base article number. Customers can then confirm that they have installed the appropriate set of fixes before using a valuable support incident and potentially experiencing unplanned down time.
Many companies identify a common set of fixes that are required for all servers in a given data center. To help ensure that Windows 2000 and Windows XP hotfixes are applied in a consistent manner across many servers, this tool allows you to create logs for each computer in your organization that show which fixes are installed. Once those logs are created, you can easily scan them for consistency.
There are rare situations in which, because of a network problem, a problem with the update itself, or a subsequent update that improperly overwrites a previous fix, updates could be damaged or removed in error. This tool ensures that not only have the fixes been installed, but that they are current on the computer.
Microsoft has noted a significant correlation between maintaining a consistent platform across organizations and the overall stability and uptime of those systems. Microsoft believes that using this tool to regularly audit computers is a best practice that will help customers achieve higher reliability on their computers.
MORE INFORMATION
Qfecheck.exe determines which hotfixes are installed by reading the information that is stored in the following registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Updates

Using the file version information that is stored in this key by each hotfix that is installed, the Qfecheck.exe tool checks the installed binary files to verify that they match.

Qfecheck.exe identifies the following types of issues:
Files that have been hotfixed, but for which the installed binary file is not current.

Qfecheck reads the registry key that is associated with each update, and checks the version number that is recorded in the registry against the current version of the same file that is installed. If the current version is lower than the version that is recorded in the registry, Qfecheck reports an error.
Hotfix files that are current, but are not considered valid by the installed catalogs.

For each file that is installed by a hotfix, Qfecheck checks to see that the current catalogs on the computer contain the information that would be used by Windows File Protection (WFP) to validate the file. If a file is valid according to the hotfix information in the registry, but the installed catalogs do not concur, Qfecheck reports an error.

NOTE: If WFP were to be triggered in this case, the hotfixed file would be rolled back to an earlier version.
Qfecheck displays its information in a command-prompt window when you run it. If you log the results of Qfecheck to a log file with the /l switch, the log file is stored in the current folder unless you specify a location. This location can be any valid path, including a Universal Naming Convention (UNC) path. Qfecheck does not log information in the event log.

If the Windows 2000 version of Qfecheck reports that some files are not valid in the system catalog, see the following article in the Microsoft Knowledge Base:
281767 Updated Sp2.cat Available to Resolve Versioning Issues with Post Service Pack 1 Hotfixes

How to Obtain Qfecheck.exe
Windows XP Home and Windows XP Professional
The following file is available for download from the Microsoft Download Center:

Download Q282784_WXP_SP1_x86_ENU.exe now

Release Date: January 18, 2002

For additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base:
119591 How to Obtain Microsoft Support Files from Online Services

Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help to prevent any unauthorized changes to the file.
Windows XP Itanium 64-bit
The following file is available for download from the Microsoft Download Center:

Download Q282784_WXP_SP1_ia64_ENU.exe now

Release Date: January 18, 2002

For additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base:
119591 How to Obtain Microsoft Support Files from Online Services

Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help to prevent any unauthorized changes to the file.
Windows 2000
The following file is available for download from the Microsoft Download Center:

Download Q282784_W2K_spl_X86_EN.exe now

Release Date: January 18, 2002

For additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base:
119591 How to Obtain Microsoft Support Files from Online Services

Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help to prevent any unauthorized changes to the file.
The Qfecheck.exe Command Syntax
QFECheck can be run on any language version of Windows, but the text output is English only.

QFECHECK [/l[:location] /v /q /?]

/l Log output to <Computername>.log in the current folder
location. Use the specified location to store the
log file.
/v Verbose output
/q Quiet mode
/? This help


Examples of Qfecheck Output
Windows 2000 without a service pack or hotfixes installed:
Windows 2000 Hotfix Validation Report for \\WinAdvSrv
Report Date: 1/7/2001 9:9pm

Current Service Pack Level:

Hotfixes Identified:No Hotfixes found on system.

Windows 2000 Service Pack 1 (SP1) without hotfixes installed:
Windows 2000 Hotfix Validation Report for \\WinAdvSrv
Report Date: 1/7/2001 9:39pm

Current Service Pack Level: Service Pack 1

Hotfixes Identified:No Hotfixes found on system.

Windows 2000 SP1 with Q274835 installed:
Windows 2000 Hotfix Validation Report for \\WinAdvSrv
Report Date: 1/7/2001 9:54pm

Current Service Pack Level: Service Pack 1

Hotfixes Identified:
Q274835: Current on system.

Windows 2000 SP1 on which a hotfix is installed and the binary file is correct, but the catalog is not correct:
Windows 2000 Hotfix Validation Report for \\WinAdvSrv
Report Date: 1/9/2001 2:49pm

Current Service Pack Level: Service Pack 1

Hotfixes Identified:
Q267866: Current on system.
Q272743: This hotfix should be reinstalled.

Using the /v (verbose output) switch:
Windows 2000 Hotfix Validation Report for \\WinAdvSrv
Report Date: 1/11/2001 9:24pm

Current Service Pack Level: Service Pack 1

Hotfixes Identified:
Q267866: Current on system.
Q272743: This hotfix should be reinstalled.

The following files are not valid in the system catalog:
C:\WINNT\SYSTEM32\TELNET.EXE
C:\WINNT\SYSTEM32\DLLCACHE\TELNET.EXE

Windows 2000 SP1 on which a hotfix is installed but the binary file is not current:
Windows 2000 Hotfix Validation Report for \\WinAdvSrv
Report Date: 1/9/2001 10:54pm

Current Service Pack Level: Service Pack 1

Hotfixes Identified:
Q267866: Current on system.
Q272743: This hotfix should be reinstalled.

Using the /v (verbose output) switch:
Windows 2000 Hotfix Validation Report for \\WinAdvSrv
Report Date: 1/11/2001 9:30pm

Current Service Pack Level: Service Pack 1

Hotfixes Identified:
Q267866: Current on system.
Q272743: This hotfix should be reinstalled.

The following files are incorrect for this hotfix:
C:\WINNT\SYSTEM32\TELNET.EXE
C:\WINNT\SYSTEM32\DLLCACHE\TELNET.EXE

Additional Information
Note that all Windows 2000 and Windows XP files are protected by WFP. Hotfixes can contain updates to these files, examples of which may be .asp or .chm files. Qfecheck does not verify these files because they do not have catalog information on the computer.

Qfecheck.exe is placed in the %SystemRoot%\System32 folder. The installation alone does not verify hotfix integrity. To receive verification, open a command prompt window and run Qfecheck.exe.

Note that there is also a Microsoft Windows 95 version of Qfecheck.exe. Do not use this version with Windows 2000 or Windows XP. For additional information about the Windows 95 version, click the article number below to view the article in the Microsoft Knowledge Base:
145990 Windows 95 Update Information Tool (Qfecheck.exe)

The information in this article applies to:
Microsoft Windows 2000 Server SP1
Microsoft Windows 2000 Server SP2
Microsoft Windows 2000 Advanced Server SP1
Microsoft Windows 2000 Advanced Server SP2
Microsoft Windows 2000 Professional SP1
Microsoft Windows 2000 Professional SP2
Microsoft Windows XP 64-Bit Edition
Microsoft Windows XP Home Edition
Microsoft Windows XP Professional
psac 目前離線  
送花文章: 3, 收花文章: 1631 篇, 收花: 3205 次
舊 2003-08-27, 12:04 PM   #2 (permalink)
註冊會員
 
戰神2001 的頭像
榮譽勳章
UID - 44632
在線等級: 級別:7 | 在線時長:85小時 | 升級還需:11小時級別:7 | 在線時長:85小時 | 升級還需:11小時
註冊日期: 2003-03-03
住址: 宇宙太陽系地球台灣之台北某一處
文章: 1019
精華: 0
現金: 18 金幣
資產: 25400 金幣
預設

這ㄍ好以後重灌救不用那ㄇ麻煩ㄌ
戰神2001 目前離線  
送花文章: 264, 收花文章: 173 篇, 收花: 734 次
舊 2004-01-30, 08:13 PM   #3 (permalink)
註冊會員
榮譽勳章
UID - 11986
在線等級: 級別:20 | 在線時長:480小時 | 升級還需:45小時級別:20 | 在線時長:480小時 | 升級還需:45小時級別:20 | 在線時長:480小時 | 升級還需:45小時級別:20 | 在線時長:480小時 | 升級還需:45小時級別:20 | 在線時長:480小時 | 升級還需:45小時
註冊日期: 2002-12-15
VIP期限: 2009-05
住址: 火星駐地球辦事處
文章: 511
精華: 0
現金: 573 金幣
資產: 28250 金幣
預設

然後用記事本開啟我們上一篇製作的系統自動安裝文件unattend.txt=>請問大大這篇文章在哪,可以告知一下嗎........感激不盡
wky7021 目前離線  
送花文章: 49, 收花文章: 24 篇, 收花: 42 次
舊 2004-01-30, 08:22 PM   #4 (permalink)
註冊會員
榮譽勳章
UID - 11986
在線等級: 級別:20 | 在線時長:480小時 | 升級還需:45小時級別:20 | 在線時長:480小時 | 升級還需:45小時級別:20 | 在線時長:480小時 | 升級還需:45小時級別:20 | 在線時長:480小時 | 升級還需:45小時級別:20 | 在線時長:480小時 | 升級還需:45小時
註冊日期: 2002-12-15
VIP期限: 2009-05
住址: 火星駐地球辦事處
文章: 511
精華: 0
現金: 573 金幣
資產: 28250 金幣
預設

還有請問一個問題,在Comdlines.txt中下的指令是".\svcpack\install.bat",可是svcpack中只有hotfix.bat,這樣會執行嗎,我是初學者煩請答覆一下不勝感激.
wky7021 目前離線  
送花文章: 49, 收花文章: 24 篇, 收花: 42 次
舊 2004-01-31, 11:09 AM   #5 (permalink)
註冊會員
榮譽勳章
UID - 11986
在線等級: 級別:20 | 在線時長:480小時 | 升級還需:45小時級別:20 | 在線時長:480小時 | 升級還需:45小時級別:20 | 在線時長:480小時 | 升級還需:45小時級別:20 | 在線時長:480小時 | 升級還需:45小時級別:20 | 在線時長:480小時 | 升級還需:45小時
註冊日期: 2002-12-15
VIP期限: 2009-05
住址: 火星駐地球辦事處
文章: 511
精華: 0
現金: 573 金幣
資產: 28250 金幣
預設

煩請答覆一下.感謝
wky7021 目前離線  
送花文章: 49, 收花文章: 24 篇, 收花: 42 次
舊 2004-03-17, 12:00 PM   #6 (permalink)
註冊會員
榮譽勳章
UID - 48968
在線等級: 級別:17 | 在線時長:368小時 | 升級還需:28小時級別:17 | 在線時長:368小時 | 升級還需:28小時級別:17 | 在線時長:368小時 | 升級還需:28小時級別:17 | 在線時長:368小時 | 升級還需:28小時級別:17 | 在線時長:368小時 | 升級還需:28小時級別:17 | 在線時長:368小時 | 升級還需:28小時級別:17 | 在線時長:368小時 | 升級還需:28小時
註冊日期: 2003-03-16
VIP期限: 2011-05
文章: 55
精華: 0
現金: 365 金幣
資產: 9434 金幣
預設

研究中
eric19790402 目前離線  
送花文章: 91, 收花文章: 11 篇, 收花: 17 次
 


主題工具
顯示模式

發表規則
不可以發文
不可以回覆主題
不可以上傳附加檔案
不可以編輯您的文章

論壇啟用 BB 語法
論壇啟用 表情符號
論壇啟用 [IMG] 語法
論壇禁用 HTML 語法
Trackbacks are 禁用
Pingbacks are 禁用
Refbacks are 禁用

相似的主題
主題 主題作者 討論區 回覆 最後發表
菜鳥成長手冊:新手必讀,主板術語詳解 superxboy 系統 & 硬體安裝及故障判斷技術文件 0 2006-05-06 01:56 PM
如何只重新開機一次就能安裝多個 Windows 更新程式或 Hotfix psac 作業系統操作技術文件 2 2006-03-06 11:42 PM
Windows 的修正檔和安全 psac 作業系統操作技術文件 2 2004-02-02 04:53 PM
集成Windows XP SP1太簡單了 psac 作業系統操作技術文件 4 2003-12-15 09:24 AM


所有時間均為台北時間。現在的時間是 08:07 AM


Powered by vBulletin® 版本 3.6.8
版權所有 ©2000 - 2024, Jelsoft Enterprises Ltd.


SEO by vBSEO 3.6.1