脚本:WIN-XP-sp2离线补丁包

优质
小牛编辑
131浏览
2023-12-01
分为普通补丁集,就是KB873339.exe那种集成安装的和用QFE模式安装的。

普通模式补丁脚本内容:

; 该脚本使用 HM VNISEdit 脚本编辑器向导产生

; 安装程序初始定义常量
!define PRODUCT_NAME "霏凡WinXP-sp2至10.9补丁集"
!define PRODUCT_VERSION ""
!define PRODUCT_PUBLISHER "aaplayboy"
!define PRODUCT_WEB_SITE "http://bbs.crsky.com"

SetCompressor lzma



; ------ MUI 现代界面定义 (1.67 版本以上兼容) ------
!include "MUI.nsh"

; MUI 预定义常量
!define MUI_ABORTWARNING
;!define  MUI_COMPONENTSPAGE_SMALLDESC
!define MUI_COMPONENTSPAGE_NODESC

;注册表判断组件
!define MUI_PAGE_CUSTOMFUNCTION_Pre ComponentsPre


; 欢迎页面
!insertmacro MUI_PAGE_WELCOME
; 许可协议页面
!insertmacro MUI_PAGE_LICENSE "D:\xp\xp.txt"
; 组件选择页面
!insertmacro MUI_PAGE_COMPONENTS
ComponentText "" "说明:列表中阴影未选中的""     则表示该补丁已安装"
; 安装过程页面
!insertmacro MUI_PAGE_INSTFILES
; 安装完成页面
!insertmacro MUI_PAGE_FINISH

; 安装界面包含的语言设置
!insertmacro MUI_LANGUAGE "SimpChinese"
  VIProductVersion "0.7.1.1"
  VIAddVersionKey /LANG=2052 "ProductName" "霏凡WinXP-sp2至10.9补丁集"
  VIAddVersionKey /LANG=2052 "CompanyName" "aaplayboy制作"
  VIAddVersionKey /LANG=2052 "LegalCopyright" "aaplayboy"
  VIAddVersionKey /LANG=2052 "FileDescription" "Winxp-sp2 Update"
  VIAddVersionKey /LANG=2052 "FileVersion" "2007.10"
; 安装预释放文件
!insertmacro MUI_RESERVEFILE_INSTALLOPTIONS
; ------ MUI 现代界面定义结束 ------

Name "${PRODUCT_NAME} ${PRODUCT_VERSION}"
OutFile "Setup.exe"
InstallDir "$TEMP"
ShowInstDetails show
BrandingText "aaplayboy制作"

Section "Windows XP安全更新程序(KB873339)" SEC01
    SetOutPath "$TEMP"
      File "D:\xp\KB873339.exe"
        ExecWait '"$TEMP\KB873339.exe" /passive /quiet /norestart /nobackup'
    SectionEnd

Section "Windows XP安全更新程序(KB885835)" SEC02
SetOutPath "$TEMP"
  File "D:\xp\KB885835.exe"
        ExecWait '"$TEMP\KB885835.exe" /passive /quiet /norestart /nobackup'
SectionEnd

Section "Windows XP安全更新程序(KB885836)" SEC03
SetOutPath "$TEMP"
  File "D:\xp\KB885836.exe"
        ExecWait '"$TEMP\KB885836.exe" /passive /quiet /norestart /nobackup'
SectionEnd

Section "Windows XP安全更新程序(KB886185)" SEC04
SetOutPath "$TEMP"
  File "D:\xp\KB886185.exe"
        ExecWait '"$TEMP\KB886185.exe" /passive /quiet /norestart /nobackup'
SectionEnd

Section "Windows XP安全更新程序(KB886677)" SEC05
SetOutPath "$TEMP"
  File "D:\xp\KB886677.exe"
        ExecWait '"$TEMP\KB886677" /passive /quiet /norestart /nobackup'
SectionEnd

Section "Windows XP安全更新程序(KB888302)" SEC06
SetOutPath "$TEMP"
  File "D:\xp\KB888302.exe"
        ExecWait '"$TEMP\KB888302.exe" /passive /quiet /norestart /nobackup'
SectionEnd

Section "Windows XP安全更新程序(KB890046)" SEC07
SetOutPath "$TEMP"
  File "D:\xp\KB890046.exe"
        ExecWait '"$TEMP\KB890046.exe" /passive /quiet /norestart /nobackup'
SectionEnd
Section "Windows XP安全更新程序(KB890859)" SEC08
SetOutPath "$TEMP"
  File "D:\xp\KB890859.exe"
        ExecWait '"$TEMP\KB890859.exe" /passive /quiet /norestart /nobackup'
SectionEnd
Section "Windows XP安全更新程序(KB891781)" SEC09
SetOutPath "$TEMP"
  File "D:\xp\KB891781.exe"
        ExecWait '"$TEMP\KB891781.exe" /passive /quiet /norestart /nobackup'
SectionEnd
;Windows 正版增值验证工具
Section "Windows 正版增值验证工具(KB892130)" SEC10
SetOutPath "$TEMP"
  File "D:\xp\KB892130.exe"
        ExecWait '"$TEMP\KB892130.exe" /passive /quiet /norestart /nobackup'
SectionEnd

Section "Windows XP安全更新程序(KB893756)" SEC11
SetOutPath "$TEMP"
  File "D:\xp\KB893756.exe"
        ExecWait '"$TEMP\KB893756.exe" /passive /quiet /norestart /nobackup'
SectionEnd
;installer 3.1
Section "Microsoft Windows安装程序3.1(KB893803)" SEC12
SetOutPath "$TEMP"
  File "D:\xp\KB893803v2.exe"
        ExecWait '"$TEMP\KB893803v2.exe" /passive /quiet /norestart /nobackup'
SectionEnd
Section "Windows XP安全更新程序(KB894391)" SEC13
SetOutPath "$TEMP"
  File "D:\xp\KB894391.exe"
        ExecWait '"$TEMP\KB894391.exe" /passive /quiet /norestart /nobackup'
SectionEnd
Section "Windows XP安全更新程序(KB896358)" SEC14
SetOutPath "$TEMP"
  File "D:\xp\KB896358.exe"
        ExecWait '"$TEMP\KB896358.exe" /passive /quiet /norestart /nobackup'
SectionEnd
Section "Windows XP安全更新程序(KB896423)" SEC15
SetOutPath "$TEMP"
  File "D:\xp\KB896423.exe"
        ExecWait '"$TEMP\KB896423.exe" /passive /quiet /norestart /nobackup'
SectionEnd
Section "Windows XP安全更新程序(KB896428)" SEC16
SetOutPath "$TEMP"
  File "D:\xp\KB896428.exe"
        ExecWait '"$TEMP\KB896428.exe" /passive /quiet /norestart /nobackup'
SectionEnd
Section "Windows XP安全更新程序(KB898461)" SEC17
SetOutPath "$TEMP"
  File "D:\xp\KB898461.exe"
        ExecWait '"$TEMP\KB898461.exe" /passive /quiet /norestart /nobackup'
SectionEnd
Section "Windows XP安全更新程序(KB899587)" SEC18
SetOutPath "$TEMP"
  File "D:\xp\KB899587.exe"
        ExecWait '"$TEMP\KB899587.exe" /passive /quiet /norestart /nobackup'
SectionEnd
Section "Windows XP安全更新程序(KB899591)" SEC19
SetOutPath "$TEMP"
  File "D:\xp\KB899591.exe"
        ExecWait '"$TEMP\KB899591.exe" /passive /quiet /norestart /nobackup'
SectionEnd
Section "Windows XP安全更新程序(KB900485)" SEC20
SetOutPath "$TEMP"
  File "D:\xp\KB900485.exe"
        ExecWait '"$TEMP\KB900485.exe" /passive /quiet /norestart /nobackup'
SectionEnd
Section "Windows XP安全更新程序(KB900725)" SEC21
SetOutPath "$TEMP"
  File "D:\xp\KB900725.exe"
        ExecWait '"$TEMP\KB900725.exe" /passive /quiet /norestart /nobackup'
SectionEnd
Section "Windows XP安全更新程序(KB901017)" SEC22
SetOutPath "$TEMP"
  File "D:\xp\KB901017.exe"
        ExecWait '"$TEMP\KB901017.exe" /passive /quiet /norestart /nobackup'
SectionEnd
Section "Windows XP安全更新程序(KB901190)" SEC23
SetOutPath "$TEMP"
  File "D:\xp\KB901190.exe"
        ExecWait '"$TEMP\KB901190.exe" /passive /quiet /norestart /nobackup'
SectionEnd
Section "Windows XP安全更新程序(KB901214)" SEC24
SetOutPath "$TEMP"
  File "D:\xp\KB901214.exe"
        ExecWait '"$TEMP\KB901214.exe" /passive /quiet /norestart /nobackup'
SectionEnd
Section "Windows XP安全更新程序(KB902400)" SEC25
SetOutPath "$TEMP"
  File "D:\xp\KB902400.exe"
        ExecWait '"$TEMP\KB902400.exe" /passive /quiet /norestart /nobackup'
SectionEnd
Section "Windows XP安全更新程序(KB904706)" SEC26
SetOutPath "$TEMP"
  File "D:\xp\KB904706.exe"
        ExecWait '"$TEMP\KB904706.exe" /passive /quiet /norestart /nobackup'
SectionEnd
Section "Windows XP安全更新程序(KB905414)" SEC27
SetOutPath "$TEMP"
  File "D:\xp\KB905414.exe"
        ExecWait '"$TEMP\KB905414.exe" /passive /quiet /norestart /nobackup'
SectionEnd
Section "Windows XP安全更新程序(KB905749)" SEC28
SetOutPath "$TEMP"
  File "D:\xp\KB905749.exe"
        ExecWait '"$TEMP\KB905749.exe" /passive /quiet /norestart /nobackup'
SectionEnd
Section "Windows XP安全更新程序(KB908519)" SEC29
SetOutPath "$TEMP"
  File "D:\xp\KB908519.exe"
        ExecWait '"$TEMP\KB908519.exe" /passive /quiet /norestart /nobackup'
SectionEnd
Section "Windows XP安全更新程序(KB908531)" SEC30
SetOutPath "$TEMP"
  File "D:\xp\KB908531.exe"
        ExecWait '"$TEMP\KB908531.exe" /passive /quiet /norestart /nobackup'
SectionEnd
Section "Windows XP安全更新程序(KB910437)" SEC31
SetOutPath "$TEMP"
  File "D:\xp\KB910437.exe"
        ExecWait '"$TEMP\KB910437.exe" /passive /quiet /norestart /nobackup'
SectionEnd
Section "Windows XP安全更新程序(KB911280)" SEC32
SetOutPath "$TEMP"
  File "D:\xp\KB911280.exe"
        ExecWait '"$TEMP\KB911280.exe" /passive /quiet /norestart /nobackup'
SectionEnd
Section "Windows XP安全更新程序(KB911562)" SEC33
SetOutPath "$TEMP"
  File "D:\xp\KB911562.exe"
        ExecWait '"$TEMP\KB911562.exe" /passive /quiet /norestart /nobackup'
SectionEnd
;wmp
Section "Windows Media Player安全更新(KB911564)" SEC34
SetOutPath "$TEMP"
  File "D:\xp\KB911564-WM.exe"
        ExecWait '"$TEMP\KB911564-WM.exe" /passive /quiet /norestart /nobackup'
SectionEnd
Section "Windows XP安全更新程序(KB911927)" SEC35
SetOutPath "$TEMP"
  File "D:\xp\KB911927.exe"
        ExecWait '"$TEMP\KB911927.exe" /passive /quiet /norestart /nobackup'
SectionEnd
Section "Windows XP安全更新程序(KB913580)" SEC36
SetOutPath "$TEMP"
  File "D:\xp\KB913580.exe"
        ExecWait '"$TEMP\KB913580.exe" /passive /quiet /norestart /nobackup'
SectionEnd
Section "Windows XP安全更新程序(KB914388)" SEC37
SetOutPath "$TEMP"
  File "D:\xp\KB914388.exe"
        ExecWait '"$TEMP\KB914388.exe" /passive /quiet /norestart /nobackup'
SectionEnd
Section "Windows XP安全更新程序(KB914389)" SEC38
SetOutPath "$TEMP"
  File "D:\xp\KB914389.exe"
        ExecWait '"$TEMP\KB914389.exe" /passive /quiet /norestart /nobackup'
SectionEnd
Section "Windows XP安全更新程序(KB916595)" SEC39
SetOutPath "$TEMP"
  File "D:\xp\KB916595.exe"
        ExecWait '"$TEMP\KB916595.exe" /passive /quiet /norestart /nobackup'
SectionEnd
Section "Windows XP安全更新程序(KB917344)" SEC40
SetOutPath "$TEMP"
  File "D:\xp\KB917344.exe"
        ExecWait '"$TEMP\KB917344.exe" /passive /quiet /norestart /nobackup'
SectionEnd
Section "Windows XP安全更新程序(KB917953)" SEC41
SetOutPath "$TEMP"
  File "D:\xp\KB917953.exe"
        ExecWait '"$TEMP\KB917953.exe" /passive /quiet /norestart /nobackup'
SectionEnd
Section "Windows XP安全更新程序(KB918118)" SEC42
SetOutPath "$TEMP"
  File "D:\xp\KB918118.exe"
        ExecWait '"$TEMP\KB918118.exe" /passive /quiet /norestart /nobackup'
SectionEnd
Section "Windows XP安全更新程序(KB918439)" SEC43
SetOutPath "$TEMP"
  File "D:\xp\KB918439.exe"
        ExecWait '"$TEMP\KB918439.exe" /passive /quiet /norestart /nobackup'
SectionEnd
Section "Windows XP安全更新程序(KB919007)" SEC44
SetOutPath "$TEMP"
  File "D:\xp\KB919007.exe"
        ExecWait '"$TEMP\KB919007.exe" /passive /quiet /norestart /nobackup'
SectionEnd
Section "Windows XP安全更新程序(KB920213)" SEC45
SetOutPath "$TEMP"
  File "D:\xp\KB920213.exe"
        ExecWait '"$TEMP\KB920213.exe" /passive /quiet /norestart /nobackup'
SectionEnd
Section "Windows XP安全更新程序(KB920670)" SEC46
SetOutPath "$TEMP"
  File "D:\xp\KB920670.exe"
        ExecWait '"$TEMP\KB920670.exe" /passive /quiet /norestart /nobackup'
SectionEnd
Section "Windows XP安全更新程序(KB920683)" SEC47
SetOutPath "$TEMP"
  File "D:\xp\KB920683.exe"
        ExecWait '"$TEMP\KB920683.exe" /passive /quiet /norestart /nobackup'
SectionEnd
Section "Windows XP安全更新程序(KB920685)" SEC48
SetOutPath "$TEMP"
  File "D:\xp\KB920685.exe"
        ExecWait '"$TEMP\KB920685.exe" /passive /quiet /norestart /nobackup'
SectionEnd
Section "Windows XP安全更新程序(KB920872)" SEC49
SetOutPath "$TEMP"
  File "D:\xp\KB920872.exe"
        ExecWait '"$TEMP\KB920872.exe" /passive /quiet /norestart /nobackup'
SectionEnd
Section "Windows XP安全更新程序(KB921503)" SEC50
SetOutPath "$TEMP"
  File "D:\xp\KB921503.exe"
        ExecWait '"$TEMP\KB921503.exe" /passive /quiet /norestart /nobackup'
SectionEnd
Section "Windows XP安全更新程序(KB922582)" SEC51
SetOutPath "$TEMP"
  File "D:\xp\KB922582.exe"
        ExecWait '"$TEMP\KB922582.exe" /passive /quiet /norestart /nobackup'
SectionEnd
Section "Windows XP安全更新程序(KB922819)" SEC52
SetOutPath "$TEMP"
  File "D:\xp\KB922819.exe"
        ExecWait '"$TEMP\KB922819.exe" /passive /quiet /norestart /nobackup'
SectionEnd
Section "Windows XP安全更新程序(KB923191)" SEC53
SetOutPath "$TEMP"
  File "D:\xp\KB923191.exe"
        ExecWait '"$TEMP\KB923191.exe" /passive /quiet /norestart /nobackup'
SectionEnd
Section "Windows XP安全更新程序(KB923414)" SEC54
SetOutPath "$TEMP"
  File "D:\xp\KB923414.exe"
        ExecWait '"$TEMP\KB923414.exe" /passive /quiet /norestart /nobackup'
SectionEnd
Section "Windows XP安全更新程序(KB923689)" SEC55
SetOutPath "$TEMP"
  File "D:\xp\KB923689.exe"
        ExecWait '"$TEMP\KB923689.exe" /passive /quiet /norestart /nobackup'
SectionEnd
Section "Windows XP安全更新程序(KB923980)" SEC56
SetOutPath "$TEMP"
  File "D:\xp\KB923980.exe"
        ExecWait '"$TEMP\KB923980.exe" /passive /quiet /norestart /nobackup'
SectionEnd
Section "Windows XP安全更新程序(KB924270)" SEC57
SetOutPath "$TEMP"
  File "D:\xp\KB924270.exe"
        ExecWait '"$TEMP\KB924270.exe" /passive /quiet /norestart /nobackup'
SectionEnd
Section "Windows XP安全更新程序(KB924496)" SEC58
SetOutPath "$TEMP"
  File "D:\xp\KB924496.exe"
        ExecWait '"$TEMP\KB924496.exe" /passive /quiet /norestart /nobackup'
SectionEnd
Section "Windows XP安全更新程序(KB924667)" SEC59
SetOutPath "$TEMP"
  File "D:\xp\KB924667.exe"
        ExecWait '"$TEMP\KB924667.exe" /passive /quiet /norestart /nobackup'
SectionEnd
Section "Windows Media Player6.4安全更新(KB925398)" SEC60
SetOutPath "$TEMP"
  File "D:\xp\KB925398.exe"
        ExecWait '"$TEMP\KB925398.exe" /passive /quiet /norestart /nobackup'
SectionEnd
Section "Windows XP安全更新程序(KB925902)" SEC61
SetOutPath "$TEMP"
  File "D:\xp\KB925902.exe"
        ExecWait '"$TEMP\KB925902.exe" /passive /quiet /norestart /nobackup'
SectionEnd
Section "Windows XP安全更新程序(KB926255)" SEC62
SetOutPath "$TEMP"
  File "D:\xp\KB926255.exe"
        ExecWait '"$TEMP\KB926255.exe" /passive /quiet /norestart /nobackup'
SectionEnd
Section "Windows XP安全更新程序(KB926436)" SEC63
SetOutPath "$TEMP"
  File "D:\xp\KB926436.exe"
        ExecWait '"$TEMP\KB926436.exe" /passive /quiet /norestart /nobackup'
SectionEnd
Section "Windows XP安全更新程序(KB927779)" SEC64
SetOutPath "$TEMP"
  File "D:\xp\KB927779.exe"
        ExecWait '"$TEMP\KB927779.exe" /passive /quiet /norestart /nobackup'
SectionEnd
Section "Windows XP安全更新程序(KB927802)" SEC65
SetOutPath "$TEMP"
  File "D:\xp\KB927802.exe"
        ExecWait '"$TEMP\KB927802.exe" /passive /quiet /norestart /nobackup'
SectionEnd
Section "Windows XP安全更新程序(KB927891)" SEC66
SetOutPath "$TEMP"
  File "D:\xp\KB927891.exe"
        ExecWait '"$TEMP\KB927891.exe" /passive /quiet /norestart /nobackup'
SectionEnd
Section "Windows XP安全更新程序(KB928255)" SEC67
SetOutPath "$TEMP"
  File "D:\xp\KB928255.exe"
        ExecWait '"$TEMP\KB928255.exe" /passive /quiet /norestart /nobackup'
SectionEnd
Section "Windows XP安全更新程序(KB928843)" SEC68
SetOutPath "$TEMP"
  File "D:\xp\KB928843.exe"
        ExecWait '"$TEMP\KB928843.exe" /passive /quiet /norestart /nobackup'
SectionEnd

Section "Outlook Express累积安全更新(KB929123)" SEC69
SetOutPath "$TEMP"
  File "D:\xp\KB929123.exe"
        ExecWait '"$TEMP\KB929123.exe" /passive /quiet /norestart /nobackup'
SectionEnd
Section "Windows XP安全更新程序(KB929969)" SEC70
SetOutPath "$TEMP"
  File "D:\xp\KB929969.exe"
        ExecWait '"$TEMP\KB929969.exe" /passive /quiet /norestart /nobackup'
SectionEnd
Section "Windows XP安全更新程序(KB930178)" SEC71
SetOutPath "$TEMP"
  File "D:\xp\KB930178.exe"
        ExecWait '"$TEMP\KB930178.exe" /passive /quiet /norestart /nobackup'
SectionEnd
Section "Windows XP安全更新程序(KB930916)" SEC72
SetOutPath "$TEMP"
  File "D:\xp\KB930916.exe"
        ExecWait '"$TEMP\KB930916.exe" /passive /quiet /norestart /nobackup'
SectionEnd
Section "Windows XP安全更新程序(KB931261)" SEC73
SetOutPath "$TEMP"
  File "D:\xp\KB931261.exe"
        ExecWait '"$TEMP\KB931261.exe" /passive /quiet /norestart /nobackup'
SectionEnd
Section "Windows XP安全更新程序(KB931784)" SEC74
SetOutPath "$TEMP"
  File "D:\xp\KB931784.exe"
        ExecWait '"$TEMP\KB931784.exe" /passive /quiet /norestart /nobackup'
SectionEnd
Section "Windows XP安全更新程序(KB932168)" SEC75
SetOutPath "$TEMP"
  File "D:\xp\KB932168.exe"
        ExecWait '"$TEMP\KB932168.exe" /passive /quiet /norestart /nobackup'
SectionEnd
Section "Windows XP安全更新程序(KB933729)" SEC76
SetOutPath "$TEMP"
  File "D:\xp\KB933729.exe"
        ExecWait '"$TEMP\KB933729.exe" /passive /quiet /norestart /nobackup'
SectionEnd
Section "Windows XP安全更新程序(KB935448)" SEC77
SetOutPath "$TEMP"
  File "D:\xp\KB935448.exe"
        ExecWait '"$TEMP\KB935448.exe" /passive /quiet /norestart /nobackup'
SectionEnd
Section "Windows XP安全更新程序(KB935839)" SEC78
SetOutPath "$TEMP"
  File "D:\xp\KB935839.exe"
        ExecWait '"$TEMP\KB935839.exe" /passive /quiet /norestart /nobackup'
SectionEnd
Section "Windows XP安全更新程序(KB935840)" SEC79
SetOutPath "$TEMP"
  File "D:\xp\KB935840.exe"
        ExecWait '"$TEMP\KB935840.exe" /passive /quiet /norestart /nobackup'
SectionEnd
Section "Windows XP安全更新程序(KB936021)" SEC80
SetOutPath "$TEMP"
  File "D:\xp\KB936021.exe"
        ExecWait '"$TEMP\KB936021.exe" /passive /quiet /norestart /nobackup'
SectionEnd
Section "Windows XP安全更新程序(KB936357)" SEC81
SetOutPath "$TEMP"
  File "D:\xp\KB936357.exe"
        ExecWait '"$TEMP\KB936357.exe" /passive /quiet /norestart /nobackup'
SectionEnd
Section "Windows XP安全更新程序(KB937143)" SEC82
SetOutPath "$TEMP"
  File "D:\xp\KB937143.exe"
        ExecWait '"$TEMP\KB937143.exe" /passive /quiet /norestart /nobackup'
SectionEnd
Section "Windows XP安全更新程序(KB938127)" SEC83
SetOutPath "$TEMP"
  File "D:\xp\KB938127.exe"
        ExecWait '"$TEMP\KB938127.exe" /passive /quiet /norestart /nobackup'
SectionEnd
Section "Windows XP安全更新程序(KB938828)" SEC84
SetOutPath "$TEMP"
  File "D:\xp\KB938828.exe"
        ExecWait '"$TEMP\KB938828.exe" /passive /quiet /norestart /nobackup'
SectionEnd
Section "Windows XP安全更新程序(KB938829)" SEC85
SetOutPath "$TEMP"
  File "D:\xp\KB938829.exe"
        ExecWait '"$TEMP\KB938829.exe" /passive /quiet /norestart /nobackup'
SectionEnd
Section "Internet Explorer累积性安全更新(KB939653)" SEC86
SetOutPath "$TEMP"
  File "D:\xp\KB939653.exe"
        ExecWait '"$TEMP\KB939653.exe" /passive /quiet /norestart /nobackup'
SectionEnd
Section "Outlook Express安全更新(KB941202)" SEC87
SetOutPath "$TEMP"
  File "D:\xp\KB941202.exe"
        ExecWait '"$TEMP\KB941202.exe" /passive /quiet /norestart /nobackup'
SectionEnd






;删除文件
Function .onInstSuccess

Delete "$WINDIR\KB*.log"
delete "$WINDIR\temp*.log"
rmdir /r "$WINDIR\$$hf_mig$$"
Delete "$TEMP\KB*.exe"
MessageBox MB_YESNO|MB_ICONQUESTION "系统需要重新启动才能完成WinXP的更新。要立即重启吗?" IDNO +2
  Reboot
FunctionEnd

;注册表判断组件
 Function ComponentsPre
; 如果注册表 HKEY_CURRENT_USER\Software\Test 下存在 SecA 键,且其值为 0 ,那么组件默认就不勾选。
; 以下同。 1为选中,8为描黑显示,16为只读,32为未选中,64为必须选中

ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB873339" "Description"
IfErrors +2
SectionSetFlags ${Sec01} 16
  StrCmp $0 0 0 +1
    

ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB885835" "Description"
IfErrors +2
SectionSetFlags ${Sec02} 16
  StrCmp $0 0 0 +1

ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB885836" "Description"
IfErrors +2
SectionSetFlags ${Sec03} 16
  StrCmp $0 0 0 +1

ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB886185" "Description"
IfErrors +2
SectionSetFlags ${Sec04} 16
  StrCmp $0 0 0 +1

ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB886677" "Description"
IfErrors +2
SectionSetFlags ${Sec05} 16
  StrCmp $0 0 0 +1

ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB888302" "Description"
IfErrors +2
SectionSetFlags ${Sec06} 16
  StrCmp $0 0 0 +1

ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB890046" "Description"
IfErrors +2
SectionSetFlags ${Sec07} 16
  StrCmp $0 0 0 +1

ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB890859" "Description"
IfErrors +2
SectionSetFlags ${Sec08} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB891781" "Description"
IfErrors +2
SectionSetFlags ${Sec09} 16
  StrCmp $0 0 0 +1
  
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\WGA\SP0\KB892130" "Type"
IfErrors +2
SectionSetFlags ${Sec10} 16
  StrCmp $0 0 0 +1
  
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB893756" "Description"
IfErrors +2
SectionSetFlags ${Sec11} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB893803v2" "Description"
IfErrors +2
SectionSetFlags ${Sec12} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB894391" "Description"
IfErrors +2
SectionSetFlags ${Sec13} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB896358" "Description"
IfErrors +2
SectionSetFlags ${Sec14} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB896423" "Description"
IfErrors +2
SectionSetFlags ${Sec15} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB896428" "Description"
IfErrors +2
SectionSetFlags ${Sec16} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB898461" "Description"
IfErrors +2
SectionSetFlags ${Sec17} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB899587" "Description"
IfErrors +2
SectionSetFlags ${Sec18} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB899591" "Description"
IfErrors +2
SectionSetFlags ${Sec19} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB900485" "Description"
IfErrors +2
SectionSetFlags ${Sec20} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB900725" "Description"
IfErrors +2
SectionSetFlags ${Sec21} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB901017" "Description"
IfErrors +2
SectionSetFlags ${Sec22} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB901190" "Description"
IfErrors +2
SectionSetFlags ${Sec23} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB901214" "Description"
IfErrors +2
SectionSetFlags ${Sec24} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB902400" "Description"
IfErrors +2
SectionSetFlags ${Sec25} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB904706" "Description"
IfErrors +2
SectionSetFlags ${Sec26} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB905414" "Description"
IfErrors +2
SectionSetFlags ${Sec27} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB905749" "Description"
IfErrors +2
SectionSetFlags ${Sec28} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB908519" "Description"
IfErrors +2
SectionSetFlags ${Sec29} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB908531" "Description"
IfErrors +2
SectionSetFlags ${Sec30} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB910437" "Description"
IfErrors +2
SectionSetFlags ${Sec31} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB911280" "Description"
IfErrors +2
SectionSetFlags ${Sec32} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB911562" "Description"
IfErrors +2
SectionSetFlags ${Sec33} 16
  StrCmp $0 0 0 +1
  ;Windows Media Player
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows Media Player\KB911564" "PackageName"
IfErrors +2
SectionSetFlags ${Sec34} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB911927" "Description"
IfErrors +2
SectionSetFlags ${Sec35} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB913580" "Description"
IfErrors +2
SectionSetFlags ${Sec36} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB914388" "Description"
IfErrors +2
SectionSetFlags ${Sec37} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB914389" "Description"
IfErrors +2
SectionSetFlags ${Sec38} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB916595" "Description"
IfErrors +2
SectionSetFlags ${Sec39} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB917344" "Description"
IfErrors +2
SectionSetFlags ${Sec40} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB917953" "Description"
IfErrors +2
SectionSetFlags ${Sec41} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB918118" "Description"
IfErrors +2
SectionSetFlags ${Sec42} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB918439" "Description"
IfErrors +2
SectionSetFlags ${Sec43} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB919007" "Description"
IfErrors +2
SectionSetFlags ${Sec44} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB920213" "Description"
IfErrors +2
SectionSetFlags ${Sec45} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB920670" "Description"
IfErrors +2
SectionSetFlags ${Sec46} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB920683" "Description"
IfErrors +2
SectionSetFlags ${Sec47} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB920685" "Description"
IfErrors +2
SectionSetFlags ${Sec48} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB920872" "Description"
IfErrors +2
SectionSetFlags ${Sec49} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB921503" "Description"
IfErrors +2
SectionSetFlags ${Sec50} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB922582" "Description"
IfErrors +2
SectionSetFlags ${Sec51} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB922819" "Description"
IfErrors +2
SectionSetFlags ${Sec52} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB923191" "Description"
IfErrors +2
SectionSetFlags ${Sec53} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB923414" "Description"
IfErrors +2
SectionSetFlags ${Sec54} 16
  StrCmp $0 0 0 +1
  
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\KB923689" "Description"
IfErrors +2
SectionSetFlags ${Sec55} 16
  StrCmp $0 0 0 +1
  
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB923980" "Description"
IfErrors +2
SectionSetFlags ${Sec56} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB924270" "Description"
IfErrors +2
SectionSetFlags ${Sec57} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB924496" "Description"
IfErrors +2
SectionSetFlags ${Sec58} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB924667" "Description"
IfErrors +2
SectionSetFlags ${Sec59} 16
  StrCmp $0 0 0 +1

ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows Media Player 6.4\KB925398_WMP64" "Description"
IfErrors +2
SectionSetFlags ${Sec60} 16
  StrCmp $0 0 0 +1

ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB925902" "Description"
IfErrors +2
SectionSetFlags ${Sec61} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB926255" "Description"
IfErrors +2
SectionSetFlags ${Sec62} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB926436" "Description"
IfErrors +2
SectionSetFlags ${Sec63} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB927779" "Description"
IfErrors +2
SectionSetFlags ${Sec64} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB927802" "Description"
IfErrors +2
SectionSetFlags ${Sec65} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB927891" "Description"
IfErrors +2
SectionSetFlags ${Sec66} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB928255" "Description"
IfErrors +2
SectionSetFlags ${Sec67} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB928843" "Description"
IfErrors +2
SectionSetFlags ${Sec68} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB929123" "Description"
IfErrors +2
SectionSetFlags ${Sec69} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB929969" "Description"
IfErrors +2
SectionSetFlags ${Sec70} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB930178" "Description"
IfErrors +2
SectionSetFlags ${Sec71} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB930916" "Description"
IfErrors +2
SectionSetFlags ${Sec72} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB931261" "Description"
IfErrors +2
SectionSetFlags ${Sec73} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB931784" "Description"
IfErrors +2
SectionSetFlags ${Sec74} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB932168" "Description"
IfErrors +2
SectionSetFlags ${Sec75} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB933729" "Description"
IfErrors +2
SectionSetFlags ${Sec76} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB935448" "Description"
IfErrors +2
SectionSetFlags ${Sec77} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB935839" "Description"
IfErrors +2
SectionSetFlags ${Sec78} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB935840" "Description"
IfErrors +2
SectionSetFlags ${Sec79} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB936021" "Description"
IfErrors +2
SectionSetFlags ${Sec80} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB936357" "Description"
IfErrors +2
SectionSetFlags ${Sec81} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB937143" "Description"
IfErrors +2
SectionSetFlags ${Sec82} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB938127" "Description"
IfErrors +2
SectionSetFlags ${Sec83} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB938828" "Description"
IfErrors +2
SectionSetFlags ${Sec84} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB938829" "Description"
IfErrors +2
SectionSetFlags ${Sec85} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB939653" "Description"
IfErrors +2
SectionSetFlags ${Sec86} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB941202" "Description"
IfErrors +2
SectionSetFlags ${Sec87} 16
  StrCmp $0 0 0 +1

Functionend

QEF模式补丁脚本内容:

; 该脚本使用 HM VNISEdit 脚本编辑器向导产生

; 安装程序初始定义常量
!define PRODUCT_NAME "霏凡WinXP-sp2至12.12补丁集--拉风版"
!define PRODUCT_VERSION ""
!define PRODUCT_PUBLISHER "aaplayboy"
!define PRODUCT_WEB_SITE "http://bbs.crsky.com"

;SetCompressor lzma
SetCompressor /SOLID lzma



; ------ MUI 现代界面定义 (1.67 版本以上兼容) ------
!include "MUI.nsh"
 !include "UsefulLib.nsh"

; MUI 预定义常量
!define MUI_ABORTWARNING
;!define  MUI_COMPONENTSPAGE_SMALLDESC
!define MUI_COMPONENTSPAGE_NODESC
 !define MUI_ICON "${NSISDIR}\Contrib\Graphics\Icons\CRSKY.ico"
 !define MUI_WELCOMEFINISHPAGE_BITMAP  "${NSISDIR}\Contrib\Graphics\Wizard\crsky.bmp"
  ;加标图
  ;!define MUI_HEADERIMAGE
 ; !define MUI_HEADERIMAGE_BITMAP "tm.bmp"
  ;!define MUI_UI_HEADERIMAGE "${NSISDIR}\Contrib\UIs\modern_headerbmptop.exe"

;注册表判断组件
!define MUI_PAGE_CUSTOMFUNCTION_Pre ComponentsPre


; 欢迎页面
!insertmacro MUI_PAGE_WELCOME
; 许可协议页面
!insertmacro MUI_PAGE_LICENSE "D:\xp\xp.txt"
; 组件选择页面
!insertmacro MUI_PAGE_COMPONENTS
ComponentText "" "说明:列表中阴影未选中的""     则表示该补丁已安装"
; 安装过程页面
!insertmacro MUI_PAGE_INSTFILES
; 安装完成页面
!insertmacro MUI_PAGE_FINISH

; 安装界面包含的语言设置
!insertmacro MUI_LANGUAGE "SimpChinese"
  VIProductVersion "0.7.1.2"
  VIAddVersionKey /LANG=2052 "ProductName" "霏凡WinXP-sp2至12.12补丁集拉风版"
  VIAddVersionKey /LANG=2052 "CompanyName" "aaplayboy制作"
  VIAddVersionKey /LANG=2052 "LegalCopyright" "aaplayboy"
  VIAddVersionKey /LANG=2052 "FileDescription" "Winxp-sp2 Update"
  VIAddVersionKey /LANG=2052 "FileVersion" "2007.12"
; 安装预释放文件
!insertmacro MUI_RESERVEFILE_INSTALLOPTIONS
; ------ MUI 现代界面定义结束 ------

Name "${PRODUCT_NAME} ${PRODUCT_VERSION}"
OutFile "Setup.exe"
InstallDir "$TEMP"
ShowInstDetails show
BrandingText "aaplayboy制作"

Section "Windows XP安全更新程序(KB873339)" SEC01
    SetOutPath "$TEMP\xp2\KB873339"
      File /r "D:\xp\KB873339\*.*"
        ExecWait '"$TEMP\xp2\KB873339\update\update.exe" /q /n /z /b:SP2QFE'
    SectionEnd

Section "Windows XP安全更新程序(KB885835)" SEC02
SetOutPath "$TEMP\xp2\KB885835"
      File /r "D:\xp\KB885835\*.*"
        ExecWait '"$TEMP\xp2\KB885835\update\update.exe" /q /n /z /b:SP2QFE'
SectionEnd

Section "Windows XP安全更新程序(KB885836)" SEC03
SetOutPath "$TEMP\xp2\KB885836"
      File /r "D:\xp\KB885836\*.*"
        ExecWait '"$TEMP\xp2\KB885836\update\update.exe" /q /n /z /b:SP2QFE'
SectionEnd

Section "Windows XP安全更新程序(KB886185)" SEC04
SetOutPath "$TEMP\xp2\KB886185"
      File /r "D:\xp\KB886185\*.*"
        ExecWait '"$TEMP\xp2\KB886185\update\update.exe" /q /n /z /b:SP2QFE'
SectionEnd

Section "Windows XP安全更新程序(KB886677)" SEC05
SetOutPath "$TEMP\xp2\KB886677"
      File /r "D:\xp\KB886677\*.*"
        ExecWait '"$TEMP\xp2\KB886677\update\update.exe" /q /n /z /b:SP2QFE'
SectionEnd

Section "Windows XP安全更新程序(KB888302)" SEC06
SetOutPath "$TEMP\xp2\KB888302"
      File /r "D:\xp\KB888302\*.*"
        ExecWait '"$TEMP\xp2\KB888302\update\update.exe" /q /n /z /b:SP2QFE'
SectionEnd

Section "Windows XP安全更新程序(KB890046)" SEC07
SetOutPath "$TEMP\xp2\KB890046"
      File /r "D:\xp\KB890046\*.*"
        ExecWait '"$TEMP\xp2\KB890046\update\update.exe" /q /n /z /b:SP2QFE'
SectionEnd
Section "Windows XP安全更新程序(KB890859)" SEC08
SetOutPath "$TEMP\xp2\KB890859"
      File /r "D:\xp\KB890859\*.*"
        ExecWait '"$TEMP\xp2\KB890859\update\update.exe" /q /n /z /b:SP2QFE'
SectionEnd
Section "Windows XP安全更新程序(KB891781)" SEC09
SetOutPath "$TEMP\xp2\KB891781"
      File /r "D:\xp\KB891781\*.*"
        ExecWait '"$TEMP\xp2\KB891781\update\update.exe" /q /n /z /b:SP2QFE'
SectionEnd
;Windows 正版增值验证工具
;Section "Windows 正版增值验证工具(KB892130)" SEC10
;SetOutPath "$TEMP\xp2\KB892130"
      ;File /r "D:\xp\KB892130\*.*"
        ;ExecWait '"$TEMP\xp2\KB892130\update\update.exe" /passive /quiet /norestart /nobackup'
;SectionEnd

Section "Windows XP安全更新程序(KB893756)" SEC11
SetOutPath "$TEMP\xp2\KB893756"
      File /r "D:\xp\KB893756\*.*"
        ExecWait '"$TEMP\xp2\KB893756\update\update.exe" /q /n /z /b:SP2QFE'
SectionEnd
;installer 3.1
Section "Microsoft Windows安装程序3.1(KB893803)" SEC12
SetOutPath "$TEMP\xp2\KB893803"
      File /r "D:\xp\KB893803\*.*"
        ExecWait '"$TEMP\xp2\KB893803\update\update.exe" /passive /quiet /norestart /nobackup'
SectionEnd
Section "Windows XP安全更新程序(KB894391)" SEC13
SetOutPath "$TEMP\xp2\KB894391"
      File /r "D:\xp\KB894391\*.*"
        ExecWait '"$TEMP\xp2\KB894391\update\update.exe" /q /n /z /b:SP2QFE'
SectionEnd
Section "Windows XP安全更新程序(KB896358)" SEC14
SetOutPath "$TEMP\xp2\KB896358"
      File /r "D:\xp\KB896358\*.*"
        ExecWait '"$TEMP\xp2\KB896358\update\update.exe" /q /n /z /b:SP2QFE'
SectionEnd
Section "Windows XP安全更新程序(KB896423)" SEC15
SetOutPath "$TEMP\xp2\KB896423"
      File /r "D:\xp\KB896423\*.*"
        ExecWait '"$TEMP\xp2\KB896423\update\update.exe" /q /n /z /b:SP2QFE'
SectionEnd
Section "Windows XP安全更新程序(KB896428)" SEC16
SetOutPath "$TEMP\xp2\KB896428"
      File /r "D:\xp\KB896428\*.*"
        ExecWait '"$TEMP\xp2\KB896428\update\update.exe" /q /n /z /b:SP2QFE'
SectionEnd
Section "Windows XP安全更新程序(KB898461)" SEC17
SetOutPath "$TEMP\xp2\KB898461"
      File /r "D:\xp\KB898461\*.*"
        ExecWait '"$TEMP\xp2\KB898461\update\update.exe" /q /n /z /b:SP2QFE'
SectionEnd
Section "Windows XP安全更新程序(KB899587)" SEC18
SetOutPath "$TEMP\xp2\KB899587"
      File /r "D:\xp\KB899587\*.*"
        ExecWait '"$TEMP\xp2\KB899587\update\update.exe" /q /n /z /b:SP2QFE'
SectionEnd
Section "Windows XP安全更新程序(KB899591)" SEC19
SetOutPath "$TEMP\xp2\KB899591"
      File /r "D:\xp\KB899591\*.*"
        ExecWait '"$TEMP\xp2\KB899591\update\update.exe" /q /n /z /b:SP2QFE'
SectionEnd
Section "Windows XP安全更新程序(KB900485)" SEC20
SetOutPath "$TEMP\xp2\KB900485"
      File /r "D:\xp\KB900485\*.*"
        ExecWait '"$TEMP\xp2\KB900485\update\update.exe" /q /n /z /b:SP2QFE'
SectionEnd

Section "Windows XP安全更新程序(KB901017)" SEC22
SetOutPath "$TEMP\xp2\KB901017"
      File /r "D:\xp\KB901017\*.*"
        ExecWait '"$TEMP\xp2\KB901017\update\update.exe" /q /n /z /b:SP2QFE'
SectionEnd
Section "Windows XP安全更新程序(KB901190)" SEC23
SetOutPath "$TEMP\xp2\KB901190"
      File /r "D:\xp\KB901190\*.*"
        ExecWait '"$TEMP\xp2\KB901190\update\update.exe" /q /n /z /b:SP2QFE'
SectionEnd
Section "Windows XP安全更新程序(KB901214)" SEC24
SetOutPath "$TEMP\xp2\KB901214"
      File /r "D:\xp\KB901214\*.*"
        ExecWait '"$TEMP\xp2\KB901214\update\update.exe" /q /n /z /b:SP2QFE'
SectionEnd
Section "Windows XP安全更新程序(KB902400)" SEC25
SetOutPath "$TEMP\xp2\KB902400"
      File /r "D:\xp\KB902400\*.*"
        ExecWait '"$TEMP\xp2\KB902400\update\update.exe" /q /n /z /b:SP2QFE'
SectionEnd
;Section "Windows XP安全更新程序(KB904706)" SEC26
;SetOutPath "$TEMP\xp2\KB904706"
      ;File /r "D:\xp\KB904706\*.*"
        ;ExecWait '"$TEMP\xp2\KB904706\update\update.exe" /q /n /z /b:SP2QFE'
;SectionEnd
Section "Windows XP安全更新程序(KB905414)" SEC27
SetOutPath "$TEMP\xp2\KB905414"
      File /r "D:\xp\KB905414\*.*"
        ExecWait '"$TEMP\xp2\KB905414\update\update.exe" /q /n /z /b:SP2QFE'
SectionEnd
Section "Windows XP安全更新程序(KB905749)" SEC28
SetOutPath "$TEMP\xp2\KB905749"
      File /r "D:\xp\KB905749\*.*"
        ExecWait '"$TEMP\xp2\KB905749\update\update.exe" /q /n /z /b:SP2QFE'
SectionEnd
Section "Windows XP安全更新程序(KB908519)" SEC29
SetOutPath "$TEMP\xp2\KB908519"
      File /r "D:\xp\KB908519\*.*"
        ExecWait '"$TEMP\xp2\KB908519\update\update.exe" /q /n /z /b:SP2QFE'
SectionEnd

Section "Windows XP安全更新程序(KB910437)" SEC31
SetOutPath "$TEMP\xp2\KB910437"
      File /r "D:\xp\KB910437\*.*"
        ExecWait '"$TEMP\xp2\KB910437\update\update.exe" /q /n /z /b:SP2QFE'
SectionEnd
Section "Windows XP安全更新程序(KB911280)" SEC32
SetOutPath "$TEMP\xp2\KB911280"
      File /r "D:\xp\KB911280\*.*"
        ExecWait '"$TEMP\xp2\KB911280\update\update.exe" /q /n /z /b:SP2QFE'
SectionEnd
Section "Windows XP安全更新程序(KB911562)" SEC33
SetOutPath "$TEMP\xp2\KB911562"
      File /r "D:\xp\KB911562\*.*"
        ExecWait '"$TEMP\xp2\KB911562\update\update.exe" /q /n /z /b:SP2QFE'
SectionEnd
;wmp
Section "Windows Media Player安全更新(KB911564)" SEC34
SetOutPath "$TEMP\xp2\KB911564"
      File /r "D:\xp\KB911564\*.*"
        ExecWait '"$TEMP\xp2\KB911564\update\update.exe" /passive /quiet /norestart /nobackup'
SectionEnd
Section "Windows XP安全更新程序(KB911927)" SEC35
SetOutPath "$TEMP\xp2\KB911927"
      File /r "D:\xp\KB911927\*.*"
        ExecWait '"$TEMP\xp2\KB911927\update\update.exe" /q /n /z /b:SP2QFE'
SectionEnd
Section "Windows XP安全更新程序(KB913580)" SEC36
SetOutPath "$TEMP\xp2\KB913580"
      File /r "D:\xp\KB913580\*.*"
        ExecWait '"$TEMP\xp2\KB913580\update\update.exe" /q /n /z /b:SP2QFE'
SectionEnd
Section "Windows XP安全更新程序(KB914388)" SEC37
SetOutPath "$TEMP\xp2\KB914388"
      File /r "D:\xp\KB914388\*.*"
        ExecWait '"$TEMP\xp2\KB914388\update\update.exe" /q /n /z /b:SP2QFE'
SectionEnd
Section "Windows XP安全更新程序(KB914389)" SEC38
SetOutPath "$TEMP\xp2\KB914389"
      File /r "D:\xp\KB914389\*.*"
        ExecWait '"$TEMP\xp2\KB914389\update\update.exe" /q /n /z /b:SP2QFE'
SectionEnd
Section "Windows XP安全更新程序(KB916595)" SEC39
SetOutPath "$TEMP\xp2\KB916595"
      File /r "D:\xp\KB916595\*.*"
        ExecWait '"$TEMP\xp2\KB916595\update\update.exe" /q /n /z /b:SP2QFE'
SectionEnd
Section "Windows XP安全更新程序(KB917344)" SEC40
SetOutPath "$TEMP\xp2\KB917344"
      File /r "D:\xp\KB917344\*.*"
       ExecWait '"$TEMP\xp2\KB917344\update\update.exe" /q /n /z /b:SP2QFE'
SectionEnd
Section "Windows XP安全更新程序(KB917953)" SEC41
SetOutPath "$TEMP\xp2\KB917953"
      File /r "D:\xp\KB917953\*.*"
        ExecWait '"$TEMP\xp2\KB917953\update\update.exe" /q /n /z /b:SP2QFE'
SectionEnd
Section "Windows XP安全更新程序(KB918118)" SEC42
SetOutPath "$TEMP\xp2\KB918118"
      File /r "D:\xp\KB918118\*.*"
        ExecWait '"$TEMP\xp2\KB918118\update\update.exe" /q /n /z /b:SP2QFE'
SectionEnd
Section "Windows XP安全更新程序(KB918439)" SEC43
SetOutPath "$TEMP\xp2\KB918439"
      File /r "D:\xp\KB918439\*.*"
        ExecWait '"$TEMP\xp2\KB918439\update\update.exe" /q /n /z /b:SP2QFE'
SectionEnd
Section "Windows XP安全更新程序(KB919007)" SEC44
SetOutPath "$TEMP\xp2\KB919007"
      File /r "D:\xp\KB919007\*.*"
        ExecWait '"$TEMP\xp2\KB919007\update\update.exe" /q /n /z /b:SP2QFE'
SectionEnd


Section "Windows XP安全更新程序(KB920670)" SEC46
SetOutPath "$TEMP\xp2\KB920670"
      File /r "D:\xp\KB920670\*.*"
        ExecWait '"$TEMP\xp2\KB920670\update\update.exe" /q /n /z /b:SP2QFE'
SectionEnd
Section "Windows XP安全更新程序(KB920683)" SEC47
SetOutPath "$TEMP\xp2\KB920683"
      File /r "D:\xp\KB920683\*.*"
        ExecWait '"$TEMP\xp2\KB920683\update\update.exe" /q /n /z /b:SP2QFE'
SectionEnd
Section "Windows XP安全更新程序(KB920685)" SEC48
SetOutPath "$TEMP\xp2\KB920685"
      File /r "D:\xp\KB920685\*.*"
        ExecWait '"$TEMP\xp2\KB920685\update\update.exe" /q /n /z /b:SP2QFE'
SectionEnd
Section "Windows XP安全更新程序(KB920872)" SEC49
SetOutPath "$TEMP\xp2\KB920872"
      File /r "D:\xp\KB920872\*.*"
        ExecWait '"$TEMP\xp2\KB920872\update\update.exe" /q /n /z /b:SP2QFE'
SectionEnd
Section "Windows XP安全更新程序(KB921503)" SEC50
SetOutPath "$TEMP\xp2\KB921503"
      File /r "D:\xp\KB921503\*.*"
        ExecWait '"$TEMP\xp2\KB921503\update\update.exe" /q /n /z /b:SP2QFE'
SectionEnd
Section "Windows XP安全更新程序(KB922582)" SEC51
SetOutPath "$TEMP\xp2\KB922582"
      File /r "D:\xp\KB922582\*.*"
        ExecWait '"$TEMP\xp2\KB922582\update\update.exe" /q /n /z /b:SP2QFE'
SectionEnd
Section "Windows XP安全更新程序(KB922819)" SEC52
SetOutPath "$TEMP\xp2\KB922819"
      File /r "D:\xp\KB922819\*.*"
        ExecWait '"$TEMP\xp2\KB922819\update\update.exe" /q /n /z /b:SP2QFE'
SectionEnd
Section "Windows XP安全更新程序(KB923191)" SEC53
SetOutPath "$TEMP\xp2\KB923191"
      File /r "D:\xp\KB923191\*.*"
        ExecWait '"$TEMP\xp2\KB923191\update\update.exe" /q /n /z /b:SP2QFE'
SectionEnd
Section "Windows XP安全更新程序(KB923414)" SEC54
SetOutPath "$TEMP\xp2\KB923414"
      File /r "D:\xp\KB923414\*.*"
        ExecWait '"$TEMP\xp2\KB923414\update\update.exe" /q /n /z /b:SP2QFE'
SectionEnd
;Section "Windows XP安全更新程序(KB923689)" SEC55
;SetOutPath "$TEMP\xp2\KB923689"
      ;File /r "D:\xp\KB923689\*.*"
        ;ExecWait '"$TEMP\xp2\KB923689\update\update.exe" /q /n /z /b:SP2QFE'
;SectionEnd
Section "Windows XP安全更新程序(KB923980)" SEC56
SetOutPath "$TEMP\xp2\KB923980"
      File /r "D:\xp\KB923980\*.*"
        ExecWait '"$TEMP\xp2\KB923980\update\update.exe" /q /n /z /b:SP2QFE'
SectionEnd
Section "Windows XP安全更新程序(KB924270)" SEC57
SetOutPath "$TEMP\xp2\KB924270"
      File /r "D:\xp\KB924270\*.*"
        ExecWait '"$TEMP\xp2\KB924270\update\update.exe" /q /n /z /b:SP2QFE'
SectionEnd
Section "Windows XP安全更新程序(KB924496)" SEC58
SetOutPath "$TEMP\xp2\KB924496"
      File /r "D:\xp\KB924496\*.*"
        ExecWait '"$TEMP\xp2\KB924496\update\update.exe" /q /n /z /b:SP2QFE'
SectionEnd
Section "Windows XP安全更新程序(KB924667)" SEC59
SetOutPath "$TEMP\xp2\KB924667"
      File /r "D:\xp\KB924667\*.*"
        ExecWait '"$TEMP\xp2\KB924667\update\update.exe" /q /n /z /b:SP2QFE'
SectionEnd
Section "Windows Media Player6.4安全更新(KB925398)" SEC60
SetOutPath "$TEMP\xp2\KB925398"
      File /r "D:\xp\KB925398\*.*"
        ExecWait '"$TEMP\xp2\KB925398\update\update.exe" /passive /quiet /norestart /nobackup'
SectionEnd
Section "Windows XP安全更新程序(KB925902)" SEC61
SetOutPath "$TEMP\xp2\KB925902"
      File /r "D:\xp\KB925902\*.*"
        ExecWait '"$TEMP\xp2\KB925902\update\update.exe" /q /n /z /b:SP2QFE'
SectionEnd
Section "Windows XP安全更新程序(KB926255)" SEC62
SetOutPath "$TEMP\xp2\KB926255"
      File /r "D:\xp\KB926255\*.*"
        ExecWait '"$TEMP\xp2\KB926255\update\update.exe" /q /n /z /b:SP2QFE'
SectionEnd
Section "Windows XP安全更新程序(KB926436)" SEC63
SetOutPath "$TEMP\xp2\KB926436"
      File /r "D:\xp\KB926436\*.*"
        ExecWait '"$TEMP\xp2\KB926436\update\update.exe" /q /n /z /b:SP2QFE'
SectionEnd
Section "Windows XP安全更新程序(KB927779)" SEC64
SetOutPath "$TEMP\xp2\KB927779"
      File /r "D:\xp\KB927779\*.*"
        ExecWait '"$TEMP\xp2\KB927779\update\update.exe" /q /n /z /b:SP2QFE'
SectionEnd
Section "Windows XP安全更新程序(KB927802)" SEC65
SetOutPath "$TEMP\xp2\KB927802"
      File /r "D:\xp\KB927802\*.*"
        ExecWait '"$TEMP\xp2\KB927802\update\update.exe" /q /n /z /b:SP2QFE'
SectionEnd
Section "Windows XP安全更新程序(KB927891)" SEC66
SetOutPath "$TEMP\xp2\KB927891"
      File /r "D:\xp\KB927891\*.*"
        ExecWait '"$TEMP\xp2\KB927891\update\update.exe" /q /n /z /b:SP2QFE'
SectionEnd

Section "Windows XP安全更新程序(KB928843)" SEC68
SetOutPath "$TEMP\xp2\KB928843"
      File /r "D:\xp\KB928843\*.*"
        ExecWait '"$TEMP\xp2\KB928843\update\update.exe" /q /n /z /b:SP2QFE'
SectionEnd

Section "Outlook Express累积安全更新(KB929123)" SEC69
SetOutPath "$TEMP\xp2\KB929123"
      File /r "D:\xp\KB929123\*.*"
        ExecWait '"$TEMP\xp2\KB929123\update\update.exe" /q /n /z /b:SP2QFE'
SectionEnd
;Section "Windows XP安全更新程序(KB929969)" SEC70
;SetOutPath "$TEMP\xp2\KB929969"
      ;File /r "D:\xp\KB929969\*.*"
        ;ExecWait '"$TEMP\xp2\KB929969\update\update.exe" /q /n /z /b:SP2QFE'
;SectionEnd
Section "Windows XP安全更新程序(KB930178)" SEC71
SetOutPath "$TEMP\xp2\KB930178"
      File /r "D:\xp\KB930178\*.*"
        ExecWait '"$TEMP\xp2\KB930178\update\update.exe" /q /n /z /b:SP2QFE'
SectionEnd
Section "Windows XP安全更新程序(KB930916)" SEC72
SetOutPath "$TEMP\xp2\KB930916"
      File /r "D:\xp\KB930916\*.*"
        ExecWait '"$TEMP\xp2\KB930916\update\update.exe" /q /n /z /b:SP2QFE'
SectionEnd
Section "Windows XP安全更新程序(KB931261)" SEC73
SetOutPath "$TEMP\xp2\KB931261"
      File /r "D:\xp\KB931261\*.*"
        ExecWait '"$TEMP\xp2\KB931261\update\update.exe" /q /n /z /b:SP2QFE'
SectionEnd
Section "Windows XP安全更新程序(KB931784)" SEC74
SetOutPath "$TEMP\xp2\KB931784"
      File /r "D:\xp\KB931784\*.*"
        ExecWait '"$TEMP\xp2\KB931784\update\update.exe" /q /n /z /b:SP2QFE'
SectionEnd


;Section "Windows XP安全更新程序(KB935448)" SEC77
;SetOutPath "$TEMP\xp2\KB935448"
     ; File /r "D:\xp\KB935448\*.*"
        ;ExecWait '"$TEMP\xp2\KB935448\update\update.exe" /q /n /z /b:SP2QFE'
;SectionEnd
Section "Windows XP安全更新程序(KB935839)" SEC78
SetOutPath "$TEMP\xp2\KB935839"
      File /r "D:\xp\KB935839\*.*"
        ExecWait '"$TEMP\xp2\KB935839\update\update.exe" /q /n /z /b:SP2QFE'
SectionEnd
Section "Windows XP安全更新程序(KB935840)" SEC79
SetOutPath "$TEMP\xp2\KB935840"
      File /r "D:\xp\KB935840\*.*"
        ExecWait '"$TEMP\xp2\KB935840\update\update.exe" /q /n /z /b:SP2QFE'
SectionEnd
Section "Windows XP安全更新程序(KB936021)" SEC80
SetOutPath "$TEMP\xp2\KB936021"
      File /r "D:\xp\KB936021\*.*"
        ExecWait '"$TEMP\xp2\KB936021\update\update.exe" /q /n /z /b:SP2QFE'
SectionEnd
;Section "Windows XP安全更新程序(KB936357)" SEC81
;SetOutPath "$TEMP\xp2\KB936357"
      ;File /r "D:\xp\KB936357\*.*"
        ;ExecWait '"$TEMP\xp2\KB936357\update\update.exe" /q /n /z /b:SP2QFE'
;SectionEnd
;Section "Windows XP安全更新程序(KB937143)" SEC82
;SetOutPath "$TEMP\xp2\KB937143"
      ;File /r "D:\xp\KB937143\*.*"
        ;ExecWait '"$TEMP\xp2\KB937143\update\update.exe" /q /n /z /b:SP2QFE'
;SectionEnd
Section "Windows XP安全更新程序(KB938127)" SEC83
SetOutPath "$TEMP\xp2\KB938127"
      File /r "D:\xp\KB938127\*.*"
        ExecWait '"$TEMP\xp2\KB938127\update\update.exe" /q /n /z /b:SP2QFE'
SectionEnd
Section "Windows XP安全更新程序(KB938828)" SEC84
SetOutPath "$TEMP\xp2\KB938828"
      File /r "D:\xp\KB938828\*.*"
        ExecWait '"$TEMP\xp2\KB938828\update\update.exe" /q /n /z /b:SP2QFE'
SectionEnd
Section "Windows XP安全更新程序(KB938829)" SEC85
SetOutPath "$TEMP\xp2\KB938829"
      File /r "D:\xp\KB938829\*.*"
        ExecWait '"$TEMP\xp2\KB938829\update\update.exe" /q /n /z /b:SP2QFE'
SectionEnd
;Section "Internet Explorer累积性安全更新(KB939653)" SEC86
;SetOutPath "$TEMP\xp2\KB939653"
      ;File /r "D:\xp\KB939653\*.*"
        ;ExecWait '"$TEMP\xp2\KB939653\update\update.exe" /q /n /z /b:SP2QFE'
;SectionEnd
Section "Outlook Express安全更新(KB941202)" SEC87
SetOutPath "$TEMP\xp2\KB941202"
      File /r "D:\xp\KB941202\*.*"
        ExecWait '"$TEMP\xp2\KB941202\update\update.exe" /q /n /z /b:SP2QFE'
SectionEnd

Section "Windows XP安全更新程序(KB943460)" SEC88
SetOutPath "$TEMP\xp2\KB943460"
      File /r "D:\xp\KB943460\*.*"
        ExecWait '"$TEMP\xp2\KB943460\update\update.exe" /q /n /z /b:SP2QFE'
SectionEnd
;12.12
Section "Windows XP安全更新程序(KB937894)" SEC89
SetOutPath "$TEMP\xp2\kb937894"
      File /r "D:\xp\kb937894\*.*"
        ExecWait '"$TEMP\xp2\kb937894\update\update.exe" /q /n /z /b:SP2QFE'
SectionEnd
Section "Windows XP安全更新程序(KB941568)" SEC90
SetOutPath "$TEMP\xp2\kb941568"
      File /r "D:\xp\kb941568\*.*"
        ExecWait '"$TEMP\xp2\kb941568\update\update.exe" /q /n /z /b:SP2QFE'
SectionEnd
Section "Internet Explorer累积性安全更新(KB942615)" SEC91
SetOutPath "$TEMP\xp2\kb942615"
      File /r "D:\xp\kb942615\*.*"
        ExecWait '"$TEMP\xp2\kb942615\update\update.exe" /q /n /z /b:SP2QFE'
SectionEnd
Section "Windows XP安全更新程序(KB944653)" SEC92
SetOutPath "$TEMP\xp2\kb944653"
      File /r "D:\xp\kb944653\*.*"
        ExecWait '"$TEMP\xp2\kb944653\update\update.exe" /q /n /z /b:SP2QFE'
SectionEnd
Section "Windows XP安全更新程序(KB942840)" SEC93
SetOutPath "$TEMP\xp2\kb942840"
      File /r "D:\xp\kb942840\*.*"
        ExecWait '"$TEMP\xp2\kb942840\update\update.exe" /q /n /z /b:SP2QFE'
SectionEnd






;安装顺序
Section "Windows XP安全更新程序(KB920213)" SEC45
SetOutPath "$TEMP\xp2\KB920213"
      File /r "D:\xp\KB920213\*.*"
        ExecWait '"$TEMP\xp2\KB920213\update\update.exe" /q /n /z /b:SP2QFE'
SectionEnd

Section "Windows XP安全更新程序(KB928255)" SEC67
SetOutPath "$TEMP\xp2\KB928255"
      File /r "D:\xp\KB928255\*.*"
        ExecWait '"$TEMP\xp2\KB928255\update\update.exe" /q /n /z /b:SP2QFE'
SectionEnd

Section "Windows XP安全更新程序(KB932168)" SEC75
SetOutPath "$TEMP\xp2\KB932168"
      File /r "D:\xp\KB932168\*.*"
        ExecWait '"$TEMP\xp2\KB932168\update\update.exe" /q /n /z /b:SP2QFE'
SectionEnd

Section "Windows XP安全更新程序(KB933729)" SEC76
SetOutPath "$TEMP\xp2\KB933729"
      File /r "D:\xp\KB933729\*.*"
        ExecWait '"$TEMP\xp2\KB933729\update\update.exe" /q /n /z /b:SP2QFE'
SectionEnd

Section "Windows XP安全更新程序(KB900725)" SEC21
SetOutPath "$TEMP\xp2\KB900725"
      File /r "D:\xp\KB900725\*.*"
        ExecWait '"$TEMP\xp2\KB900725\update\update.exe" /q /n /z /b:SP2QFE'
SectionEnd

Section "Windows XP安全更新程序(KB908531)" SEC30
SetOutPath "$TEMP\xp2\KB908531"
      File /r "D:\xp\KB908531\*.*"
        ExecWait '"$TEMP\xp2\KB908531\update\update.exe" /q /n /z /b:SP2QFE'
SectionEnd



;删除文件
Function .onInstSuccess

Delete "$WINDIR\KB*.log"
delete "$WINDIR\temp*.log"
rmdir /r "$WINDIR\$$hf_mig$$"
rmdir /r "$temp\xp2"
FunctionEnd

;注册表判断组件
 Function ComponentsPre
; 如果注册表 HKEY_CURRENT_USER\Software\Test 下存在 SecA 键,且其值为 0 ,那么组件默认就不勾选。
; 以下同。 1为选中,8为描黑显示,16为只读,32为未选中,64为必须选中

ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB873339" "Description"
IfErrors +2
SectionSetFlags ${Sec01} 16
  StrCmp $0 0 0 +1
    

ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB885835" "Description"
IfErrors +2
SectionSetFlags ${Sec02} 16
  StrCmp $0 0 0 +1

ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB885836" "Description"
IfErrors +2
SectionSetFlags ${Sec03} 16
  StrCmp $0 0 0 +1

ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB886185" "Description"
IfErrors +2
SectionSetFlags ${Sec04} 16
  StrCmp $0 0 0 +1

ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB886677" "Description"
IfErrors +2
SectionSetFlags ${Sec05} 16
  StrCmp $0 0 0 +1

ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB888302" "Description"
IfErrors +2
SectionSetFlags ${Sec06} 16
  StrCmp $0 0 0 +1

ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB890046" "Description"
IfErrors +2
SectionSetFlags ${Sec07} 16
  StrCmp $0 0 0 +1

ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB890859" "Description"
IfErrors +2
SectionSetFlags ${Sec08} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB891781" "Description"
IfErrors +2
SectionSetFlags ${Sec09} 16
  StrCmp $0 0 0 +1
  
;ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\WGA\SP0\KB892130" "Type"
;IfErrors +2
;SectionSetFlags ${Sec10} 16
  ;StrCmp $0 0 0 +1
  
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB893756" "Description"
IfErrors +2
SectionSetFlags ${Sec11} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB893803v2" "Description"
IfErrors +2
SectionSetFlags ${Sec12} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB894391" "Description"
IfErrors +2
SectionSetFlags ${Sec13} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB896358" "Description"
IfErrors +2
SectionSetFlags ${Sec14} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB896423" "Description"
IfErrors +2
SectionSetFlags ${Sec15} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB896428" "Description"
IfErrors +2
SectionSetFlags ${Sec16} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB898461" "Description"
IfErrors +2
SectionSetFlags ${Sec17} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB899587" "Description"
IfErrors +2
SectionSetFlags ${Sec18} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB899591" "Description"
IfErrors +2
SectionSetFlags ${Sec19} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB900485" "Description"
IfErrors +2
SectionSetFlags ${Sec20} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB900725" "Description"
IfErrors +2
SectionSetFlags ${Sec21} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB901017" "Description"
IfErrors +2
SectionSetFlags ${Sec22} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB901190" "Description"
IfErrors +2
SectionSetFlags ${Sec23} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB901214" "Description"
IfErrors +2
SectionSetFlags ${Sec24} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB902400" "Description"
IfErrors +2
SectionSetFlags ${Sec25} 16
  StrCmp $0 0 0 +1
;ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB904706" "Description"
;IfErrors +2
;SectionSetFlags ${Sec26} 16
  ;StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB905414" "Description"
IfErrors +2
SectionSetFlags ${Sec27} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB905749" "Description"
IfErrors +2
SectionSetFlags ${Sec28} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB908519" "Description"
IfErrors +2
SectionSetFlags ${Sec29} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB908531" "Description"
IfErrors +2
SectionSetFlags ${Sec30} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB910437" "Description"
IfErrors +2
SectionSetFlags ${Sec31} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB911280" "Description"
IfErrors +2
SectionSetFlags ${Sec32} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB911562" "Description"
IfErrors +2
SectionSetFlags ${Sec33} 16
  StrCmp $0 0 0 +1
  ;Windows Media Player
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows Media Player\KB911564" "PackageName"
IfErrors +2
SectionSetFlags ${Sec34} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB911927" "Description"
IfErrors +2
SectionSetFlags ${Sec35} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB913580" "Description"
IfErrors +2
SectionSetFlags ${Sec36} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB914388" "Description"
IfErrors +2
SectionSetFlags ${Sec37} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB914389" "Description"
IfErrors +2
SectionSetFlags ${Sec38} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB916595" "Description"
IfErrors +2
SectionSetFlags ${Sec39} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB917344" "Description"
IfErrors +2
SectionSetFlags ${Sec40} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB917953" "Description"
IfErrors +2
SectionSetFlags ${Sec41} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB918118" "Description"
IfErrors +2
SectionSetFlags ${Sec42} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB918439" "Description"
IfErrors +2
SectionSetFlags ${Sec43} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB919007" "Description"
IfErrors +2
SectionSetFlags ${Sec44} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB920213" "Description"
IfErrors +2
SectionSetFlags ${Sec45} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB920670" "Description"
IfErrors +2
SectionSetFlags ${Sec46} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB920683" "Description"
IfErrors +2
SectionSetFlags ${Sec47} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB920685" "Description"
IfErrors +2
SectionSetFlags ${Sec48} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB920872" "Description"
IfErrors +2
SectionSetFlags ${Sec49} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB921503" "Description"
IfErrors +2
SectionSetFlags ${Sec50} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB922582" "Description"
IfErrors +2
SectionSetFlags ${Sec51} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB922819" "Description"
IfErrors +2
SectionSetFlags ${Sec52} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB923191" "Description"
IfErrors +2
SectionSetFlags ${Sec53} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB923414" "Description"
IfErrors +2
SectionSetFlags ${Sec54} 16
  StrCmp $0 0 0 +1
  
;ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\KB923689" "Description"
;IfErrors +2
;SectionSetFlags ${Sec55} 16
  ;StrCmp $0 0 0 +1
  
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB923980" "Description"
IfErrors +2
SectionSetFlags ${Sec56} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB924270" "Description"
IfErrors +2
SectionSetFlags ${Sec57} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB924496" "Description"
IfErrors +2
SectionSetFlags ${Sec58} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB924667" "Description"
IfErrors +2
SectionSetFlags ${Sec59} 16
  StrCmp $0 0 0 +1

ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows Media Player 6.4\KB925398_WMP64" "Description"
IfErrors +2
SectionSetFlags ${Sec60} 16
  StrCmp $0 0 0 +1

ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB925902" "Description"
IfErrors +2
SectionSetFlags ${Sec61} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB926255" "Description"
IfErrors +2
SectionSetFlags ${Sec62} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB926436" "Description"
IfErrors +2
SectionSetFlags ${Sec63} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB927779" "Description"
IfErrors +2
SectionSetFlags ${Sec64} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB927802" "Description"
IfErrors +2
SectionSetFlags ${Sec65} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB927891" "Description"
IfErrors +2
SectionSetFlags ${Sec66} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB928255" "Description"
IfErrors +2
SectionSetFlags ${Sec67} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB928843" "Description"
IfErrors +2
SectionSetFlags ${Sec68} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB929123" "Description"
IfErrors +2
SectionSetFlags ${Sec69} 16
  StrCmp $0 0 0 +1
;ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB929969" "Description"
;IfErrors +2
;SectionSetFlags ${Sec70} 16
  ;StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB930178" "Description"
IfErrors +2
SectionSetFlags ${Sec71} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB930916" "Description"
IfErrors +2
SectionSetFlags ${Sec72} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB931261" "Description"
IfErrors +2
SectionSetFlags ${Sec73} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB931784" "Description"
IfErrors +2
SectionSetFlags ${Sec74} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB932168" "Description"
IfErrors +2
SectionSetFlags ${Sec75} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB933729" "Description"
IfErrors +2
SectionSetFlags ${Sec76} 16
  StrCmp $0 0 0 +1
;ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB935448" "Description"
;IfErrors +2
;SectionSetFlags ${Sec77} 16
  ;StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB935839" "Description"
IfErrors +2
SectionSetFlags ${Sec78} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB935840" "Description"
IfErrors +2
SectionSetFlags ${Sec79} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB936021" "Description"
IfErrors +2
SectionSetFlags ${Sec80} 16
  StrCmp $0 0 0 +1
;ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB936357" "Description"
;IfErrors +2
;SectionSetFlags ${Sec81} 16
  ;StrCmp $0 0 0 +1
;ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB937143" "Description"
;IfErrors +2
;SectionSetFlags ${Sec82} 16
  ;StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB938127" "Description"
IfErrors +2
SectionSetFlags ${Sec83} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB938828" "Description"
IfErrors +2
SectionSetFlags ${Sec84} 16
  StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB938829" "Description"
IfErrors +2
SectionSetFlags ${Sec85} 16
  StrCmp $0 0 0 +1
;ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB939653" "Description"
;IfErrors +2
;SectionSetFlags ${Sec86} 16
  ;StrCmp $0 0 0 +1
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB941202" "Description"
IfErrors +2
SectionSetFlags ${Sec87} 16
  StrCmp $0 0 0 +1

ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB943460" "Description"
IfErrors +2
SectionSetFlags ${Sec88} 16
  StrCmp $0 0 0 +1
  ;12.12
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\kb937894" "Description"
IfErrors +2
SectionSetFlags ${Sec89} 16
  StrCmp $0 0 0 +1
  
  ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\kb941568" "Description"
IfErrors +2
SectionSetFlags ${Sec90} 16
  StrCmp $0 0 0 +1
  ;ie
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\kb942615" "Description"
IfErrors +2
SectionSetFlags ${Sec91} 16
  StrCmp $0 0 0 +1
  
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\kb944653" "Description"
IfErrors +2
SectionSetFlags ${Sec92} 16
  StrCmp $0 0 0 +1
  ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Updates\Windows XP\SP3\kb942840" "Description"
IfErrors +2
SectionSetFlags ${Sec93} 16
  StrCmp $0 0 0 +1





Functionend


#-- 根据 NSIS 脚本编辑规则,所有 Function 区段必须放置在 Section 区段之后编写,以避免安装程序出现未可预知的问题。--#

; 区段组件描述
 
!define IDC_ABOUT    1300
!define IDC_LINK    1301
!define IDM_ABOUT    1

Function .onPageCallback
    ${If} $MSG = ${WM_INITDIALOG}
        Push $0
        Push $1
        Push $2
        Push $3
        ${GetDlgItemRect} $0 $1 $2 $3 $HWNDPARENT ${IDC_CANCEL}
        IntOp $0 $2 - $0
        IntOp $2 $3 - $1
        ${CreateButton} "关于(&A)" 20 $1 $0 $2 $HWNDPARENT ${IDC_ABOUT}
        IntOp $3 $0 + 30
        IntOp $1 $1 + 3
        IntOp $2 $2 - 2
        ${CreateLink} $3 $1 90 $2 $HWNDPARENT ${IDC_LINK}
        ${GetSystemMenu} $0 $HWNDPARENT
        ${AppendMenu} $0 ${MF_SEPARATOR} 0 0
        ${AppendMenu} $0 ${MF_STRING} ${IDM_ABOUT} "关于安装程序(&A)"
        Pop $3
        Pop $2
        Pop $1
        Pop $0
    ${ElseIf} $MSG = ${WM_COMMAND}
        ${If} $WPARAM = ${IDC_ABOUT}
            ${MessageBox2} `==================$\n\
                            ===Windows Xp sp2 补丁安装包===$\n\
                            感谢你使用这个补丁离线安装包,希望能$\n\
                            给您带来方便.同时欢迎您常来我博客$\n\
                            www.imseb.cn逛逛,aaplayboy在此 $\n\
                            谢谢各位的支持,我相信会做得更好! \
                        $\n$\n                aaplayboy 2007年12月` `关于 $(^NameDA)` ${MB_OK}|${MB_ICONINFORMATION}
        ${ElseIf} $WPARAM = ${IDC_LINK}
            ExecShell open `http://www.imseb.cn/`
        ${EndIf}
    ${ElseIf} $MSG = ${WM_DRAWITEM}
        ${DrawLink} `检查更新` ${IDC_LINK} $LPARAM
    ${ElseIf} $MSG = ${WM_SYSCOMMAND}
        ${If} $WPARAM = ${IDM_ABOUT}
            ${MessageBox2} `aaplayboy|www.imseb.cn$\n aaplayboy制作$\n$\n我的博客:$\nhttp://www.imseb.cn/` `关于安装程序` ${MB_OK}|${MB_ICONINFORMATION}
        ${EndIf}
    ${EndIf}
FunctionEnd