脚本:QQ2005工作狂人之家增强版

优质
小牛编辑
130浏览
2023-12-01
引用QQ2005.nsi的内容:

Script generated by the HM NIS Edit Script Wizard.

; HM NIS Edit Wizard helper defines
!define PRODUCT_NAME "QQ2005"
!define PRODUCT_VERSION "正式"
!define PRODUCT_PUBLISHER "工作狂人之家"
!define PRODUCT_WEB_SITE "http://Www.Gochina.Cn"
! _!define PRODUCT_DIR_REGKEY "Software\Microsoft\Windows\CurrentVersion\App Paths\QQ.exe"
!define PRODUCT_UNINST_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}"
!define PRODUCT_UNINST_ROOT_KEY "HKLM"
!define PRODUCT_STARTMENU_REGVAL "NSIS:StartMenuDir"

SetCompressor /FINAL /SOLID lzma
InstType "完全安装"
InstType "推荐安装"
InstType "精简安装"
;请勿修改下方的版权说明,也算对组件包提供者的一种尊重
BrandingText "此安装程序组件由工作狂人之家Http://Www.Gochina.Cn于提供"

; MUI 1.67 compatible ------
!include "MUI.nsh"
!include "LogicLib.nsh"
!define MUI_HEADERIMAGE
xpstyle on
; MUI Settings
!define MUI_ABORTWARNING
!define MUI_ICON "${NSISDIR}\Contrib\Graphics\Icons\modern-install.ico"
!define MUI_UNICON "${NSISDIR}\Contrib\Graphics\Icons\modern-uninstall.ico"


HFunction .onInit
InitPluginsDir
; the plugins dir is automatically deleted when the installer exits
File "/oname=$PLUGINSDIR\Splash_YourSplash.bmp" "..\logo.bmp"
advsplash::show 2000 1000 1000 -1 "$PLUGINSDIR\Splash_YourSplash"
Pop $0 ; $0 has '1' if the user closed the splash screen early,
; '0' if everything closed normal, and '-1' if some error occured.

FunctionEnd
; Welcome page
!define MUI_WELCOMEPAGE_TEXT "友情提示:\r\n\r\n1.此安装程序会自动结束QQ和TM进程,因此建议不要更改安装程序名称;\r\n2.此安装程序内含中文上网及百度搜霸,若不需要可选择不安装\r\n\r\n工作狂人之家\r\nHttp://www.gochina.cn"
!insertmacro MUI_PAGE_WELCOME
; License page
!define MUI_LICENSEPAGE_RADIOBUTTONS
!insertmacro MUI_PAGE_LICENSE "..\license.rtf"
; Components page

!insertmacro MUI_PAGE_COMPONENTS
; Directory page
!insertmacro MUI_PAGE_DIRECTORY
; Start menu page
var ICONS_GROUP
;!define MUI_STARTMENUPAGE_NODISABLE
!define MUI_STARTMENUPAGE_DEFAULTFOLDER "腾讯软件"
!define MUI_STARTMENUPAGE_REGISTRY_ROOT "${PRODUCT_UNINST_ROOT_KEY}"
!define MUI_STARTMENUPAGE_REGISTRY_KEY "${PRODUCT_UNINST_KEY}"
!define MUI_STARTMENUPAGE_REGISTRY_VALUENAME "${PRODUCT_STARTMENU_REGVAL}"
!insertmacro MUI_PAGE_STARTMENU Application $ICONS_GROUP
; Instfiles page
!insertmacro MUI_PAGE_INSTFILES
!define MUI_FINISHPAGE_SHOWREADME "http://Www.Gochina.Cn"
!define MUI_FINISHPAGE_LINK "QQ狂人DIY版官方站"
!define MUI_FINISHPAGE_LINK_LOCATION "http://Www.Gochina.Cn"
!insertmacro MUI_PAGE_FINISH
; Uninstaller pages
!insertmacro MUI_UNPAGE_INSTFILES

; Language files
!insertmacro MUI_LANGUAGE "SimpChinese")
; Reserve files
!insertmacro MUI_RESERVEFILE_INSTALLOPTIONS

; MUI end ------

Name "${PRODUCT_NAME} ${PRODUCT_VERSION}")
OutFile "..\QQ2005.exe"
InstallDir "$PROGRAMFILES\Tencent".
InstallDirRegKey HKLM "${PRODUCT_DIR_REGKEY}" ""
ShowInstDetails show
ShowUnInstDetails show

SectionGroup "腾讯QQ" SecInterfaces
Section "基本构件" SEC01
SectionIn 1 2 3 RO
SetOutPath "$SYSDIR"
SetOverwrite off;
File "..\功能组件\RealMediaSplitter.ax"
File "..\功能组件\msvcp60.dll"
Eregdll "$SYSDIR\RealMediaSplitter.ax"
SetOutPath "$INSTDIR"
File "..\功能组件\Mfc42.dll"
SetOverwrite on
File /R "..\腾讯QQ\*.*"
regdll "$instdir\CPHelper.dll"
regdll "$instdir\VQQPlayer.ocx"
regdll "$instdir\V2MailActiveX.ocx"

; Shortcuts
!insertmacro mui_STARTMENU_WRITE_BEGIN Application
CreateDirectory "$SMPROGRAMS\$ICONS_GROUP"
CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\腾讯QQ.lnk" "$INSTDIR\QQ.exe"
!insertmacro mui_STARTMENU_WRITE_END
CreateShortCut "$DESKTOP\腾讯QQ.lnk" "$INSTDIR\QQ.exe"
CreateShortCut "$DESKTOP\狂人之家.lnk" "http://Www.Gochina.Cn"
SectionEnd
Section "文件传输" SECFT
SectionIn 1 2
SetOutPath "$INSTDIR"
File "..\可选组件\文件传输\QQFileTransfer.dll"
; Shortcuts
SectionEnd

Section "手机短信" SECPhone
SectionIn 1 2
SetOutPath "$INSTDIR"
File "..\可选组件\手机短信\QQMMSender.dll"
; Shortcuts
SectionEnd
Section "精简皮肤" SEC21
SectionIn 1 2
SetOutPath "$INSTDIR"
File /R "..\可选组件\精简皮肤\*.*"
; Shortcuts

SectionEnd
Section "原版皮肤" SEC20
SectionIn 1
SetOutPath "$INSTDIR"
File /R "..\可选组件\原版皮肤\*.*"
; Shortcuts

SectionEnd

Section "聊天室" SEC11
SectionIn 1
SetOutPath "$INSTDIR"
SetOverwrite off
File /R "..\可选组件\聊天室\*.*"
; Shortcuts

SectionEnd

Section "QQ音乐" SEC08
SectionIn 1
SetOutPath "$INSTDIR"
File /r "..\可选组件\QQ音乐\*.*"
;写注册表
WriteRegStr HKEY_CLASSES_ROOT "AppID\{CB9BCD4B-03B5-4487-AC8F-6164DD6433AB}" "" "QQMusicSvr"
WriteRegStr HKEY_CLASSES_ROOT "AppID\QQMusicSvr.EXE" "AppID" "{CB9BCD4B-03B5-4487-AC8F-6164DD6433AB}"
WriteRegStr HKEY_CLASSES_ROOT "CLSID\{6927992D-6A89-4549-8A32-95901BF5D920}" "" "QQMusicCreator Class"
WriteRegStr HKEY_CLASSES_ROOT "CLSID\{6927992D-6A89-4549-8A32-95901BF5D920}" "AppID" "{CB9BCD4B-03B5-4487-AC8F-6164DD6433AB}"
WriteRegStr HKEY_CLASSES_ROOT "CLSID\{6927992D-6A89-4549-8A32-95901BF5D920}\LocalServer32" "" "$instdir\QQMusic.exe"
WriteRegStr HKEY_CLASSES_ROOT "CLSID\{6927992D-6A89-4549-8A32-95901BF5D920}\ProgID" "" "QQMusicSvr.QQMusicCreator.1"
WriteRegStr HKEY_CLASSES_ROOT "CLSID\{6927992D-6A89-4549-8A32-95901BF5D920}\Programmable" "" ""
WriteRegStr HKEY_CLASSES_ROOT "CLSID\{6927992D-6A89-4549-8A32-95901BF5D920}\TypeLib" "" "{C4549B07-549D-46C4-AAF6-49CC54B99F69}"
WriteRegStr HKEY_CLASSES_ROOT "CLSID\{6927992D-6A89-4549-8A32-95901BF5D920}\VersionIndependentProgID" "" "QQMusicSvr.QQMusicCreator"
WriteRegStr HKEY_CLASSES_ROOT "Interface\{10126174-A34C-4DA4-9B5A-B71DE87EDD34}" "" "IQQMusicCreator"
WriteRegStr HKEY_CLASSES_ROOT "Interface\{10126174-A34C-4DA4-9B5A-B71DE87EDD34}\ProxyStubClsid" "" "{00020424-0000-0000-C000-000000000046}"
WriteRegStr HKEY_CLASSES_ROOT "Interface\{10126174-A34C-4DA4-9B5A-B71DE87EDD34}\ProxyStubClsid32" "" "{00020424-0000-0000-C000-000000000046}"
WriteRegStr HKEY_CLASSES_ROOT "Interface\{10126174-A34C-4DA4-9B5A-B71DE87EDD34}\TypeLib" "" "{C4549B07-549D-46C4-AAF6-49CC54B99F69}"
WriteRegStr HKEY_CLASSES_ROOT "Interface\{10126174-A34C-4DA4-9B5A-B71DE87EDD34}\TypeLib" "Version" "1.0"
WriteRegStr HKEY_CLASSES_ROOT "Interface\{B07CCA0D-7B19-4921-868C-46B6C837825D}" "" "IQQMusicControl"
WriteRegStr HKEY_CLASSES_ROOT "Interface\{B07CCA0D-7B19-4921-868C-46B6C837825D}\ProxyStubClsid" "" "{00020424-0000-0000-C000-000000000046}"
WriteRegStr HKEY_CLASSES_ROOT "Interface\{B07CCA0D-7B19-4921-868C-46B6C837825D}\ProxyStubClsid32" "" "{00020424-0000-0000-C000-000000000046}"
WriteRegStr HKEY_CLASSES_ROOT "Interface\{B07CCA0D-7B19-4921-868C-46B6C837825D}\TypeLib" "" "{C4549B07-549D-46C4-AAF6-49CC54B99F69}"
WriteRegStr HKEY_CLASSES_ROOT "Interface\{B07CCA0D-7B19-4921-868C-46B6C837825D}\TypeLib" "Version" "1.0"
WriteRegStr HKEY_CLASSES_ROOT "Interface\{BA105B6F-B84D-4992-B9FE-4C2D144A3641}" "" "IQQMusicOptionMng"
WriteRegStr HKEY_CLASSES_ROOT "Interface\{BA105B6F-B84D-4992-B9FE-4C2D144A3641}\ProxyStubClsid" "" "{00020424-0000-0000-C000-000000000046}"
WriteRegStr HKEY_CLASSES_ROOT "Interface\{BA105B6F-B84D-4992-B9FE-4C2D144A3641}\ProxyStubClsid32" "" "{00020424-0000-0000-C000-000000000046}"
WriteRegStr HKEY_CLASSES_ROOT "Interface\{BA105B6F-B84D-4992-B9FE-4C2D144A3641}\TypeLib" "" "{C4549B07-549D-46C4-AAF6-49CC54B99F69}"
WriteRegStr HKEY_CLASSES_ROOT "Interface\{BA105B6F-B84D-4992-B9FE-4C2D144A3641}\TypeLib" "Version" "1.0"
gWriteRegStr HKEY_CLASSES_ROOT "Interface\{C44022F3-7CB2-401A-A6B9-C380F22D4754}" "" "IQQMusicLyricMng"
WriteRegStr HKEY_CLASSES_ROOT "Interface\{C44022F3-7CB2-401A-A6B9-C380F22D4754}\ProxyStubClsid" "" "{00020424-0000-0000-C000-000000000046}"
WriteRegStr HKEY_CLASSES_ROOT "Interface\{C44022F3-7CB2-401A-A6B9-C380F22D4754}\ProxyStubClsid32" "" "{00020424-0000-0000-C000-000000000046}"
WriteRegStr HKEY_CLASSES_ROOT "Interface\{C44022F3-7CB2-401A-A6B9-C380F22D4754}\TypeLib" "" "{C4549B07-549D-46C4-AAF6-49CC54B99F69}"
WriteRegStr HKEY_CLASSES_ROOT "Interface\{C44022F3-7CB2-401A-A6B9-C380F22D4754}\TypeLib" "Version" "1.0"
WriteRegStr HKEY_CLASSES_ROOT "Interface\{D521927A-0430-4BE0-ABE7-817A77E833FC}" "" "IQQMusicPlayer"
WriteRegStr HKEY_CLASSES_ROOT "Interface\{D521927A-0430-4BE0-ABE7-817A77E833FC}\ProxyStubClsid" "" "{00020424-0000-0000-C000-000000000046}"
WriteRegStr HKEY_CLASSES_ROOT "Interface\{D521927A-0430-4BE0-ABE7-817A77E833FC}\ProxyStubClsid32" "" "{00020424-0000-0000-C000-000000000046}"
WriteRegStr HKEY_CLASSES_ROOT "Interface\{D521927A-0430-4BE0-ABE7-817A77E833FC}\TypeLib" "" "{C4549B07-549D-46C4-AAF6-49CC54B99F69}"

WriteRegStr HKEY_CLASSES_ROOT "Interface\{D521927A-0430-4BE0-ABE7-817A77E833FC}\TypeLib" "Version" "1.0"
WriteRegStr HKEY_CLASSES_ROOT "Interface\{D62D79C8-3FB9-4D52-BC25-08FB69C0F9BD}" "" "_IQQMusicDataMngEvents"
WriteRegStr HKEY_CLASSES_ROOT "Interface\{D62D79C8-3FB9-4D52-BC25-08FB69C0F9BD}\ProxyStubClsid" "" "{00020420-0000-0000-C000-000000000046}"
WriteRegStr HKEY_CLASSES_ROOT "Interface\{D62D79C8-3FB9-4D52-BC25-08FB69C0F9BD}\ProxyStubClsid32" "" "{00020420-0000-0000-C000-000000000046}"
WriteRegStr HKEY_CLASSES_ROOT "Interface\{D62D79C8-3FB9-4D52-BC25-08FB69C0F9BD}\TypeLib" "" "{C4549B07-549D-46C4-AAF6-49CC54B99F69}"
WriteRegStr HKEY_CLASSES_ROOT "Interface\{D62D79C8-3FB9-4D52-BC25-08FB69C0F9BD}\TypeLib" "Version" "1.0"
WriteRegStr HKEY_CLASSES_ROOT "Interface\{D6C683F8-2E52-4E1E-B421-4D9882F8766E}" "" "IQQMusicDataMng"
WriteRegStr HKEY_CLASSES_ROOT "Interface\{D6C683F8-2E52-4E1E-B421-4D9882F8766E}\ProxyStubClsid" "" "{00020424-0000-0000-C000-000000000046}"
WriteRegStr HKEY_CLASSES_ROOT "Interface\{D6C683F8-2E52-4E1E-B421-4D9882F8766E}\ProxyStubClsid32" "" "{00020424-0000-0000-C000-000000000046}"
WriteRegStr HKEY_CLASSES_ROOT "Interface\{D6C683F8-2E52-4E1E-B421-4D9882F8766E}\TypeLib" "" "{C4549B07-549D-46C4-AAF6-49CC54B99F69}"
WriteRegStr HKEY_CLASSES_ROOT "Interface\{D6C683F8-2E52-4E1E-B421-4D9882F8766E}\TypeLib" "Version" "1.0"
WriteRegStr HKEY_CLASSES_ROOT "Interface\{DE5BCB71-1D17-49AF-9864-54A0706BF406}" "" "_IQQMusicLyricMngEvents"
LWriteRegStr HKEY_CLASSES_ROOT "Interface\{DE5BCB71-1D17-49AF-9864-54A0706BF406}\ProxyStubClsid" "" "{00020420-0000-0000-C000-000000000046}"
WriteRegStr HKEY_CLASSES_ROOT "Interface\{DE5BCB71-1D17-49AF-9864-54A0706BF406}\ProxyStubClsid32" "" "{00020420-0000-0000-C000-000000000046}"
WriteRegStr HKEY_CLASSES_ROOT "Interface\{DE5BCB71-1D17-49AF-9864-54A0706BF406}\TypeLib" "" "{C4549B07-549D-46C4-AAF6-49CC54B99F69}"
WriteRegStr HKEY_CLASSES_ROOT "Interface\{DE5BCB71-1D17-49AF-9864-54A0706BF406}\TypeLib" "Version" "1.0"
WriteRegStr HKEY_CLASSES_ROOT "Interface\{E0044E80-24E6-401E-A45A-EFD702538ACA}" "" "_IQQMusicControlEvents"
WriteRegStr HKEY_CLASSES_ROOT "Interface\{E0044E80-24E6-401E-A45A-EFD702538ACA}\ProxyStubClsid" "" "{00020420-0000-0000-C000-000000000046}"
WriteRegStr HKEY_CLASSES_ROOT "Interface\{E0044E80-24E6-401E-A45A-EFD702538ACA}\ProxyStubClsid32" "" "{00020420-0000-0000-C000-000000000046}"
WriteRegStr HKEY_CLASSES_ROOT "Interface\{E0044E80-24E6-401E-A45A-EFD702538ACA}\TypeLib" "" "{C4549B07-549D-46C4-AAF6-49CC54B99F69}"
WriteRegStr HKEY_CLASSES_ROOT "Interface\{E0044E80-24E6-401E-A45A-EFD702538ACA}\TypeLib" "Version" "1.0"

WriteRegStr HKEY_CLASSES_ROOT "Interface\{E9AAA78B-8AB9-4660-8617-D16717E348A9}" "" "_IQQMusicOptionMngEvents"
WriteRegStr HKEY_CLASSES_ROOT "Interface\{E9AAA78B-8AB9-4660-8617-D16717E348A9}\ProxyStubClsid" "" "{00020420-0000-0000-C000-000000000046}"
WriteRegStr HKEY_CLASSES_ROOT "Interface\{E9AAA78B-8AB9-4660-8617-D16717E348A9}\ProxyStubClsid32" "" "{00020420-0000-0000-C000-000000000046}"
WriteRegStr HKEY_CLASSES_ROOT "Interface\{E9AAA78B-8AB9-4660-8617-D16717E348A9}\TypeLib" "" "{C4549B07-549D-46C4-AAF6-49CC54B99F69}"
WriteRegStr HKEY_CLASSES_ROOT "Interface\{E9AAA78B-8AB9-4660-8617-D16717E348A9}\TypeLib" "Version" "1.0"
WriteRegStr HKEY_CLASSES_ROOT "Interface\{F9D51BBE-F69E-4D7E-8A36-9D65B534F508}" "" "_IQQMusicPlayerEvents"
WriteRegStr HKEY_CLASSES_ROOT "Interface\{F9D51BBE-F69E-4D7E-8A36-9D65B534F508}\ProxyStubClsid" "" "{00020420-0000-0000-C000-000000000046}"
WriteRegStr HKEY_CLASSES_ROOT "Interface\{F9D51BBE-F69E-4D7E-8A36-9D65B534F508}\ProxyStubClsid32" "" "{00020420-0000-0000-C000-000000000046}"
WriteRegStr HKEY_CLASSES_ROOT "Interface\{F9D51BBE-F69E-4D7E-8A36-9D65B534F508}\TypeLib" "" "{C4549B07-549D-46C4-AAF6-49CC54B99F69}"
WriteRegStr HKEY_CLASSES_ROOT "Interface\{F9D51BBE-F69E-4D7E-8A36-9D65B534F508}\TypeLib" "Version" "1.0"
WriteRegStr HKEY_CLASSES_ROOT "QQMusicSvr.QQMusicCreator" "" "QQMusicCreator Class"
WriteRegStr HKEY_CLASSES_ROOT "QQMusicSvr.QQMusicCreator\CLSID" "" "{6927992D-6A89-4549-8A32-95901BF5D920}"
WriteRegStr HKEY_CLASSES_ROOT "QQMusicSvr.QQMusicCreator\CurVer" "" "QQMusicSvr.QQMusicCreator.1"
WriteRegStr HKEY_CLASSES_ROOT "QQMusicSvr.QQMusicCreator.1" "" "QQMusicCreator Class"
WriteRegStr HKEY_CLASSES_ROOT "QQMusicSvr.QQMusicCreator.1\CLSID" "" "{6927992D-6A89-4549-8A32-95901BF5D920}"
WriteRegStr HKEY_CLASSES_ROOT "TypeLib\{C4549B07-549D-46C4-AAF6-49CC54B99F69}" "" ""
WriteRegStr HKEY_CLASSES_ROOT "TypeLib\{C4549B07-549D-46C4-AAF6-49CC54B99F69}\1.0" "" "QQMusicSvr 1.0 Type Library"
writeRegStr HKEY_CLASSES_ROOT "TypeLib\{C4549B07-549D-46C4-AAF6-49CC54B99F69}\1.0\0" "" ""
WriteRegStr HKEY_CLASSES_ROOT "TypeLib\{C4549B07-549D-46C4-AAF6-49CC54B99F69}\1.0\0\win32" "" "$instdir\QQMusic.exe"
WriteRegStr HKEY_CLASSES_ROOT "TypeLib\{C4549B07-549D-46C4-AAF6-49CC54B99F69}\1.0\FLAGS" "" "0"
WriteRegStr HKEY_CLASSES_ROOT "TypeLib\{C4549B07-549D-46C4-AAF6-49CC54B99F69}\1.0\HELPDIR" "" "$instdir\"
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Classes\AppID\{CB9BCD4B-03B5-4487-AC8F-6164DD6433AB}" "" "QQMusicSvr"
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Classes\AppID\QQMusicSvr.EXE" "AppID" "{CB9BCD4B-03B5-4487-AC8F-6164DD6433AB}"
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Classes\CLSID\{6927992D-6A89-4549-8A32-95901BF5D920}" "" "QQMusicCreator Class"
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Classes\CLSID\{6927992D-6A89-4549-8A32-95901BF5D920}" "AppID" "{CB9BCD4B-03B5-4487-AC8F-6164DD6433AB}"
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Classes\CLSID\{6927992D-6A89-4549-8A32-95901BF5D920}\LocalServer32" "" "$instdir\QQMusic.exe"
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Classes\CLSID\{6927992D-6A89-4549-8A32-95901BF5D920}\ProgID" "" "QQMusicSvr.QQMusicCreator.1"
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Classes\CLSID\{6927992D-6A89-4549-8A32-95901BF5D920}\Programmable" "" ""
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Classes\CLSID\{6927992D-6A89-4549-8A32-95901BF5D920}\TypeLib" "" "{C4549B07-549D-46C4-AAF6-49CC54B99F69}"
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Classes\CLSID\{6927992D-6A89-4549-8A32-95901BF5D920}\VersionIndependentProgID" "" "QQMusicSvr.QQMusicCreator"
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Classes\Interface\{10126174-A34C-4DA4-9B5A-B71DE87EDD34}" "" "IQQMusicCreator"
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Classes\Interface\{10126174-A34C-4DA4-9B5A-B71DE87EDD34}\ProxyStubClsid" "" "{00020424-0000-0000-C000-000000000046}"
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Classes\Interface\{10126174-A34C-4DA4-9B5A-B71DE87EDD34}\ProxyStubClsid32" "" "{00020424-0000-0000-C000-000000000046}"
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Classes\Interface\{10126174-A34C-4DA4-9B5A-B71DE87EDD34}\TypeLib" "" "{C4549B07-549D-46C4-AAF6-49CC54B99F69}"
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Classes\Interface\{10126174-A34C-4DA4-9B5A-B71DE87EDD34}\TypeLib" "Version" "$\"1.0"
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Classes\Interface\{B07CCA0D-7B19-4921-868C-46B6C837825D}" "" "IQQMusicControl"" i& K+ n; i$ }4 ~: B3 y
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Classes\Interface\{B07CCA0D-7B19-4921-868C-46B6C837825D}\ProxyStubClsid" "" "{00020424-0000-0000-C000-000000000046}"
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Classes\Interface\{B07CCA0D-7B19-4921-868C-46B6C837825D}\ProxyStubClsid32" "" "{00020424-0000-0000-C000-000000000046}"
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Classes\Interface\{B07CCA0D-7B19-4921-868C-46B6C837825D}\TypeLib" "" "{C4549B07-549D-46C4-AAF6-49CC54B99F69}"
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Classes\Interface\{B07CCA0D-7B19-4921-868C-46B6C837825D}\TypeLib" "Version" "1.0"
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Classes\Interface\{BA105B6F-B84D-4992-B9FE-4C2D144A3641}" "" "IQQMusicOptionMng"
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Classes\Interface\{BA105B6F-B84D-4992-B9FE-4C2D144A3641}\ProxyStubClsid" "" "{00020424-0000-0000-C000-000000000046}"
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Classes\Interface\{BA105B6F-B84D-4992-B9FE-4C2D144A3641}\ProxyStubClsid32" "" "{00020424-0000-0000-C000-000000000046}""
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Classes\Interface\{BA105B6F-B84D-4992-B9FE-4C2D144A3641}\TypeLib" "" "{C4549B07-549D-46C4-AAF6-49CC54B99F69}"
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Classes\Interface\{BA105B6F-B84D-4992-B9FE-4C2D144A3641}\TypeLib" "Version" "1.0"
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Classes\Interface\{C44022F3-7CB2-401A-A6B9-C380F22D4754}" "" "IQQMusicLyricMng"
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Classes\Interface\{C44022F3-7CB2-401A-A6B9-C380F22D4754}\ProxyStubClsid" "" "{00020424-0000-0000-C000-000000000046}"
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Classes\Interface\{C44022F3-7CB2-401A-A6B9-C380F22D4754}\ProxyStubClsid32" "" "{00020424-0000-0000-C000-000000000046}"
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Classes\Interface\{C44022F3-7CB2-401A-A6B9-C380F22D4754}\TypeLib" "" "{C4549B07-549D-46C4-AAF6-49CC54B99F69}"
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Classes\Interface\{C44022F3-7CB2-401A-A6B9-C380F22D4754}\TypeLib" "Version" "1.0"
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Classes\Interface\{D521927A-0430-4BE0-ABE7-817A77E833FC}" "" "IQQMusicPlayer"
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Classes\Interface\{D521927A-0430-4BE0-ABE7-817A77E833FC}\ProxyStubClsid" "" "{00020424-0000-0000-C000-000000000046}"
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Classes\Interface\{D521927A-0430-4BE0-ABE7-817A77E833FC}\ProxyStubClsid32" "" "{00020424-0000-0000-C000-000000000046}"
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Classes\Interface\{D521927A-0430-4BE0-ABE7-817A77E833FC}\TypeLib" "" "{C4549B07-549D-46C4-AAF6-49CC54B99F69}"
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Classes\Interface\{D521927A-0430-4BE0-ABE7-817A77E833FC}\TypeLib" "Version" "1.0"
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Classes\Interface\{D62D79C8-3FB9-4D52-BC25-08FB69C0F9BD}" "" "_IQQMusicDataMngEvents"
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Classes\Interface\{D62D79C8-3FB9-4D52-BC25-08FB69C0F9BD}\ProxyStubClsid" "" "{00020420-0000-0000-C000-000000000046}"
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Classes\Interface\{D62D79C8-3FB9-4D52-BC25-08FB69C0F9BD}\ProxyStubClsid32" "" "{00020420-0000-0000-C000-000000000046}"
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Classes\Interface\{D62D79C8-3FB9-4D52-BC25-08FB69C0F9BD}\TypeLib" "" "{C4549B07-549D-46C4-AAF6-49CC54B99F69}"
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Classes\Interface\{D62D79C8-3FB9-4D52-BC25-08FB69C0F9BD}\TypeLib" "Version" "1.0"
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Classes\Interface\{D6C683F8-2E52-4E1E-B421-4D9882F8766E}" "" "IQQMusicDataMng"
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Classes\Interface\{D6C683F8-2E52-4E1E-B421-4D9882F8766E}\ProxyStubClsid" "" "{00020424-0000-0000-C000-000000000046}"
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Classes\Interface\{D6C683F8-2E52-4E1E-B421-4D9882F8766E}\ProxyStubClsid32" "" "{00020424-0000-0000-C000-000000000046}"
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Classes\Interface\{D6C683F8-2E52-4E1E-B421-4D9882F8766E}\TypeLib" "" "{C4549B07-549D-46C4-AAF6-49CC54B99F69}"
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Classes\Interface\{D6C683F8-2E52-4E1E-B421-4D9882F8766E}\TypeLib" "Version" "1.0"
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Classes\Interface\{DE5BCB71-1D17-49AF-9864-54A0706BF406}" "" "_IQQMusicLyricMngEvents"
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Classes\Interface\{DE5BCB71-1D17-49AF-9864-54A0706BF406}\ProxyStubClsid" "" "{00020420-0000-0000-C000-000000000046}"
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Classes\Interface\{DE5BCB71-1D17-49AF-9864-54A0706BF406}\ProxyStubClsid32" "" "{00020420-0000-0000-C000-000000000046}"
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Classes\Interface\{DE5BCB71-1D17-49AF-9864-54A0706BF406}\TypeLib" "" "{C4549B07-549D-46C4-AAF6-49CC54B99F69}"
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Classes\Interface\{DE5BCB71-1D17-49AF-9864-54A0706BF406}\TypeLib" "Version" "1.0"
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Classes\Interface\{E0044E80-24E6-401E-A45A-EFD702538ACA}" "" "_IQQMusicControlEvents"
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Classes\Interface\{E0044E80-24E6-401E-A45A-EFD702538ACA}\ProxyStubClsid" "" "{00020420-0000-0000-C000-000000000046}"
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Classes\Interface\{E0044E80-24E6-401E-A45A-EFD702538ACA}\ProxyStubClsid32" "" "{00020420-0000-0000-C000-000000000046}"
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Classes\Interface\{E0044E80-24E6-401E-A45A-EFD702538ACA}\TypeLib" "" "{C4549B07-549D-46C4-AAF6-49CC54B99F69}"
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Classes\Interface\{E0044E80-24E6-401E-A45A-EFD702538ACA}\TypeLib" "Version" "1.0"
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Classes\Interface\{E9AAA78B-8AB9-4660-8617-D16717E348A9}" "" "_IQQMusicOptionMngEvents"
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Classes\Interface\{E9AAA78B-8AB9-4660-8617-D16717E348A9}\ProxyStubClsid" "" "{00020420-0000-0000-C000-000000000046}"
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Classes\Interface\{E9AAA78B-8AB9-4660-8617-D16717E348A9}\ProxyStubClsid32" "" "{00020420-0000-0000-C000-000000000046}"
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Classes\Interface\{E9AAA78B-8AB9-4660-8617-D16717E348A9}\TypeLib" "" "{C4549B07-549D-46C4-AAF6-49CC54B99F69}"
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Classes\Interface\{E9AAA78B-8AB9-4660-8617-D16717E348A9}\TypeLib" "Version" "1.0"
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Classes\Interface\{F9D51BBE-F69E-4D7E-8A36-9D65B534F508}" "" "_IQQMusicPlayerEvents"
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Classes\Interface\{F9D51BBE-F69E-4D7E-8A36-9D65B534F508}\ProxyStubClsid" "" "{00020420-0000-0000-C000-000000000046}"
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Classes\Interface\{F9D51BBE-F69E-4D7E-8A36-9D65B534F508}\ProxyStubClsid32" "" "{00020420-0000-0000-C000-000000000046}"
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Classes\Interface\{F9D51BBE-F69E-4D7E-8A36-9D65B534F508}\TypeLib" "" "{C4549B07-549D-46C4-AAF6-49CC54B99F69}"
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Classes\Interface\{F9D51BBE-F69E-4D7E-8A36-9D65B534F508}\TypeLib" "Version" "1.0"
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Classes\QQMusicSvr.QQMusicCreator" "" "QQMusicCreator Class"
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Classes\QQMusicSvr.QQMusicCreator\CLSID" "" "{6927992D-6A89-4549-8A32-95901BF5D920}"
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Classes\QQMusicSvr.QQMusicCreator\CurVer" "" "QQMusicSvr.QQMusicCreator.1"
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Classes\QQMusicSvr.QQMusicCreator.1" "" "QQMusicCreator Class"
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Classes\QQMusicSvr.QQMusicCreator.1\CLSID" "" "{6927992D-6A89-4549-8A32-95901BF5D920}"
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Classes\TypeLib\{C4549B07-549D-46C4-AAF6-49CC54B99F69}" "" """ I2 @+ F  M: [: P3 e
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Classes\TypeLib\{C4549B07-549D-46C4-AAF6-49CC54B99F69}\1.0" "" "QQMusicSvr 1.0 Type Library"
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Classes\TypeLib\{C4549B07-549D-46C4-AAF6-49CC54B99F69}\1.0\0" "" ""
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Classes\TypeLib\{C4549B07-549D-46C4-AAF6-49CC54B99F69}\1.0\0\win32" "" "$instdir\QQMusic.exe"
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Classes\TypeLib\{C4549B07-549D-46C4-AAF6-49CC54B99F69}\1.0\FLAGS" "" "0"
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Classes\TypeLib\{C4549B07-549D-46C4-AAF6-49CC54B99F69}\1.0\HELPDIR" "" "$instdir\"
WriteRegDWORD HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\DirectDraw" "EmulationOnly"
WriteRegDWORD HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\DirectDraw" "DisableAGPSupport" 0x0
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\DirectDraw\Compatibility" "" ""
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\DirectDraw\Compatibility\Bug!" "Name" "BUG!.EXE"
WriteRegBin HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\DirectDraw\Compatibility\Bug!" "ID" 3d620932
WriteRegBin HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\DirectDraw\Compatibility\Bug!" "Flags" 01000000
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\DirectDraw\Compatibility\DemolitionDerby2" "Name" "DD2.EXE"
WriteRegBin HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\DirectDraw\Compatibility\DemolitionDerby2" "ID" 448388326
WriteRegBin HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\DirectDraw\Compatibility\DemolitionDerby2" "Flags" 010000006
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\DirectDraw\Compatibility\MortalKombat3" "Name" "MK3W.EXE"
WriteRegBin HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\DirectDraw\Compatibility\MortalKombat3" "ID"
WriteRegBin HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\DirectDraw\Compatibility\MortalKombat3" "Flags" 010000005
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\DirectDraw\Compatibility\MsGolf98" "Name" "game.exe"
WriteRegBin HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\DirectDraw\Compatibility\MsGolf98" "ID" 0dea1a35
WriteRegBin HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\DirectDraw\Compatibility\MsGolf98" "Flags" 20000000
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\DirectDraw\Compatibility\NHLPowerPlay" "Name" "PP96.EXE"
WriteRegBin HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\DirectDraw\Compatibility\NHLPowerPlay" "ID"
WriteRegBin HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\DirectDraw\Compatibility\NHLPowerPlay" "Flags" 01000000
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\DirectDraw\Compatibility\NortonSystemInfo" "Name" "SI32.EXE"
WriteRegBin HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\DirectDraw\Compatibility\NortonSystemInfo" "ID" 29ea6332
WriteRegBin HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\DirectDraw\Compatibility\NortonSystemInfo" "Flags" 04000000
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\DirectDraw\Compatibility\Rogue Squadron" "Name" "ROGUE SQUADRON.EXE"
WriteRegBin HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\DirectDraw\Compatibility\Rogue Squadron" "ID" d1d74c36
WriteRegBin HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\DirectDraw\Compatibility\Rogue Squadron" "Flags" 40000000
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\DirectDraw\Compatibility\Savage" "Name" "SAVAGE32.EXE"
WriteRegBin HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\DirectDraw\Compatibility\Savage" "ID" 00876531
WriteRegBin HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\DirectDraw\Compatibility\Savage" "Flags" 01000000
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\DirectDraw\Compatibility\ScorchedPlanet" "Name" "SPLANETW.EXE"
WriteRegBin HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\DirectDraw\Compatibility\ScorchedPlanet" "ID" 69044c32
WriteRegBin HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\DirectDraw\Compatibility\ScorchedPlanet" "Flags" 02000000
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\DirectDraw\Compatibility\SilentThunder" "Name" "A10SIM.EXE"2
WriteRegBin HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\DirectDraw\Compatibility\SilentThunder" "ID" 5d203556
WriteRegBin HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\DirectDraw\Compatibility\SilentThunder" "Flags" 01000000:
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\DirectDraw\Compatibility\Terracide" "Name" "TERAWIN.EXE"
WriteRegBin HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\DirectDraw\Compatibility\Terracide" "ID" 66cb9533
WriteRegBin HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\DirectDraw\Compatibility\Terracide" "Flags" 04000000
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\DirectDraw\Compatibility\ThirdDimension" "Name" "t3rd.EXE"
WriteRegBin HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\DirectDraw\Compatibility\ThirdDimension" "ID" bf817f32
WriteRegBin HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\DirectDraw\Compatibility\ThirdDimension" "Flags" 04000000
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\DirectDraw\Compatibility\ZiffDavisQualityBenchmark" "Name" "BEND3DIM.EXE"
WriteRegBin HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\DirectDraw\Compatibility\ZiffDavisQualityBenchmark" "ID" 6d5b4d33
WriteRegBin HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\DirectDraw\Compatibility\ZiffDavisQualityBenchmark" "Flags" 04000000
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\DirectDraw\Compatibility\ZiffDavisWinMarkBenchmark" "Name" "WBD3D.EXE"
WriteRegBin HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\DirectDraw\Compatibility\ZiffDavisWinMarkBenchmark" "ID" 46fc4b33
WriteRegBin HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\DirectDraw\Compatibility\ZiffDavisWinMarkBenchmark" "Flags" 040000004
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\DirectDraw\MostRecentApplication" "Name" "QQMusic.exe"
WriteRegDWORD HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\DirectDraw\MostRecentApplication" "ID" 0x430ecaa2
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\TENCENT\QQMusic" "SaveCachePath" "$\"$instdir\cache\"
;写注册表结束

SectionEnd

Section "Q-Zone" SECZone
SectionIn 1 2
SetOutPath "$INSTDIR"
File /r "..\可选组件\Q-Zone\*.*"
regdll "$instdir\QZONE\PhotoUploadCtrl.ocx"
regdll "$instdir\QZONE\PhotoUploadCtrl.ocx"
Section "网络硬盘" SEC04
setoverwrite off
SetOutPath "$INSTDIR"

File /r "..\可选组件\网络硬盘\*.*"
regdll "$instdir\qdshm.dll"

; Shortcuts

SectionEnd

Section "远程桌面" SEC05
setoverwrite on
SectionIn 1 2
SetOutPath "$INSTDIR"
SetOutPath "$INSTDIR"
; Shortcuts0

SectionEnd
Section "MSN声音" SECMSN
SectionIn 1 2
SetOutPath "$INSTDIR\sound\"
File /r "..\可选组件\MSN\sound\*.*
; Shortcuts
SectionEnd

Section "商务伴侣" SECSW
SectionIn 1
SetOutPath "$INSTDIR"
SetOverwrite on
File /R "..\可选组件\商务伴侣\*.*"
; Shortcuts

SectionEnd
Section "IE插件" SEC06
SectionIn 1
SetOutPath "$INSTDIR\"
File /r "..\可选组件\IE插件\*.*"
regdll "$instdir\QQIEHelper.dll"
; Shortcuts

SectionEnd
Section "QQ宠物" SEC07
SectionIn 1

SetOutPath "$INSTDIR\"
File /r "..\可选组件\QQ宠物\*.*"

; Shortcuts
SectionEnd

Section "错误报告" SEC09
SectionIn 1
SetOutPath "$INSTDIR"
File /r "..\可选组件\错误报告\*.*"

; Shortcuts

SectionEnd

Section "互动空间" SEC10
SectionIn 1
SetOverwrite on
File /r "..\可选组件\互动空间\*.*"

; Shortcuts

SectionEnd

RSection "魔法书" SEC12
SectionIn 1
HSetOutPath "$INSTDIR"
File "..\可选组件\魔法书\MagicBook.exe"
; Shortcuts

SectionEnd
Section "企业好友" SEC13
SectionIn 12
SetOutPath "$INSTDIR\Dat"
File "..\可选组件\企业好友\Dat\rtx_enter.jpg"
File "..\可选组件\企业好友\Dat\rtx_friend.jpg"
File "..\可选组件\企业好友\Dat\RTXIndex.htm"
SetOutPath "$INSTDIR""
File "..\可选组件\企业好友\BQQApplication.dll""

; Shortcuts

SectionEnd

Section "通讯录" SEC14
SectionIn 1
SetOutPath "$INSTDIR"
File "..\可选组件\通讯录\*.*"

; Shortcuts

SectionEnd

Section "文件共享" SEC15
SectionIn 1
SetOutPath "$INSTDIR"
File "..\可选组件\文件共享\ShareFiles.dll"

; Shortcuts


SectionEnd

Section "自动更新" SEC16
SectionIn 1
SetOutPath "$INSTDIR"
File "..\可选组件\自动更新\QQLiveUpdate.exe"
File "..\可选组件\自动更新\QQUdpGetFileLib.dll"

; Shortcuts

SectionEnd

Section "自定义面板" SEC17
SectionIn 1
SetOutPath "$INSTDIR"
File /r "..\可选组件\自定义面板\*.*"

; Shortcuts

Section "QQ广告" SEC19
SectionIn 1
SetOutPath "$INSTDIR"
File /r "..\可选组件\QQ广告\*.*"
; Shortcuts

SectionEnd

Section "TIM平台" SEC18
SectionIn 1 2
SetOutPath "$INSTDIR"
setoverwrite off
File /r "..\可选组件\TIM平台\*.*"
regdll "$instdir\TIMProxy.dll"
regdll "$instdir\Timwp.dll"
; Shortcuts
SectionEnd

Section "USB电话" SECUSB
setoverwrite on
SetOutPath "$INSTDIR"
SectionIn 1
SetOutPath "$INSTDIR"
setoverwrite on
File /r "..\可选组件\USB电话\*.*"
; Shortcuts
SectionEnd
SectionGroupend

Sectiongroup "增强功能" secplus
Section "QQ登陆器" SEC02
setoverwrite on
SetOutPath "$INSTDIR"
SectionIn 1 2
SetOverwrite on
File "..\QQ登录器\Login.exe"
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\QAL" "QQ_Path" "./QQ.exe"
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\QAL" "TM_Path" "./TMDLLS/TM.exe"
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\Internet Explorer\Search" "SearchAssistant" "http://www.baidu.com/baidu?tn=jobcrazy&word="
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\Internet Explorer\Search" "CustomizeSearch" "http://www.baidu.com/baidu?tn=jobcrazy&word="
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\Internet Explorer\Main" "Search Page" "http://www.baidu.com/baidu?tn=jobcrazy&word="
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\Internet Explorer\Main" "Start Page" "http://www.baidu.com/baidu?tn=jobcrazy&word="
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\QAL" "QQ_Game" ""
WriteRegDWORD HKEY_LOCAL_MACHINE "SOFTWARE\QAL" "Is_Delay" 0x0
WriteRegDWORD HKEY_LOCAL_MACHINE "SOFTWARE\QAL" "Is_Close" 0x0
; Shortcuts
!insertmacro mui_STARTMENU_WRITE_BEGIN Application
CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\QQ登陆.lnk" "$INSTDIR\login.exe"
!insertmacro mui_STARTMENU_WRITE_END
CreateShortCut "$DESKTOP\QQ登陆.lnk" "$INSTDIR\login.exe"

sectionend
Section "多多QQ表情" SECduo
setoverwrite on
SetOutPath "$INSTDIR"
SectionIn 1 2
File /r "..\多多表情\*.*"
execwait "$instdir\QQFace.exe"
delete "$instdir\QQFace.exe"
sectionend

Section "!珊瑚虫外挂" Sec03
SectionIN 1 2
SetOutPath "$INSTDIR"
SetOverwrite on
File /r "..\QQ外挂\*.*"
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\QAL" "QQ_Path" "./CoralQQ.exe"
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\QAL" "TM_Path" "./TMDLLS/TM.exe"
!insertmacro mui_STARTMENU_WRITE_BEGIN Application
CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\腾讯QQ.lnk" "$INSTDIR\CoralQQ.exe" "" "$INSTDIR\QQ.exe"
!insertmacro mui_STARTMENU_WRITE_END
CreateShortCut "$DESKTOP\腾讯QQ.lnk" "$INSTDIR\CoralQQ.exe" "" "$INSTDIR\QQ.exe"
SectionEnd

/*
Section "飘云显IP补丁" SecPY
SetOutPath "$INSTDIR"
SetOverwrite on
File /r "..\飘云补丁\*.*"
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\QAL" "QQ_Path" "./QQ.exe"
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\QAL" "TM_Path" "./TMDLLS/TM.exe"
!insertmacro mui_STARTMENU_WRITE_BEGIN Application
CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\腾讯QQ.lnk" "$INSTDIR\QQ.exe" "" "$INSTDIR\QQ.exe"
!insertmacro mui_STARTMENU_WRITE_END
CreateShortCut "$DESKTOP\腾讯QQ.lnk" "$INSTDIR\QQ.exe" "" "$INSTDIR\QQ.exe"
SectionEnd4
*/

Section "自动升级IP库" SecUP
SectionIn 1 2
SetOutPath "$INSTDIR"
SetOverwrite on
File /r "..\IP升级\*.*"
!insertmacro mui_STARTMENU_WRITE_BEGIN Application
CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\更新IP数据.lnk" "$INSTDIR\showip.exe"
!insertmacro mui_STARTMENU_WRITE_END
SectionEnd

Section -AdditionalIcons
SetOutPath $INSTDIR
!insertmacro mui_STARTMENU_WRITE_BEGIN Application
CreateDirectory "$SMPROGRAMS\$ICONS_GROUP":
CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\狂人之家.lnk" "http://Www.Gochina.Cn"
CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\卸载QQ.lnk" "$INSTDIR\uninst.exe"
!insertmacro mui_STARTMENU_WRITE_END
SectionEnd
Section -Post
WriteUninstaller "$INSTDIR\uninst.exe"
WriteRegStr HKLM "${PRODUCT_DIR_REGKEY}" "" "$INSTDIR\CoralQQ.exe"
WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayName" "$(^Name)"
WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "UninstallString" "$INSTDIR\uninst.exe"
WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayIcon" "$INSTDIR\QQ.exe"
WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayVersion" "${PRODUCT_VERSION}"
WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "URLInfoAbout" "http://www.gochina.cn"
WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "Publisher" "${PRODUCT_PUBLISHER}"
SectionEnd
Function .onSelChange
SectionGetFlags ${sec18} $1
SectionGetFlags ${sec18} $2
SectionGetFlags ${sec18} $3
SectionGetFlags ${sec18} $4
SectionGetFlags ${sec18} $5
SectionGetFlags ${sec18} $6
SectionGetFlags ${sec18} $7
;SectionGetFlags ${sec18} $8
StrCmp $2 1 0 +2
SectionSetFlags ${sec18} 1

SectionSetFlags ${sec18} 1
StrCmp $4 1 0 +2
SectionSetFlags ${sec18} 1
StrCmp $5 1 0 +2
SectionSetFlags ${sec18} 1
StrCmp $6 1 0 +2
SectionSetFlags ${sec18} 1
/*
StrCmp $7 1 0 +2
SectionSetFlags ${SECpy} 0
*/
StrCmp $8 1 0 +2
SectionSetFlags ${SEC03} 0


FunctionEnd

; Section descriptions
!insertmacro mui_FUNCTION_DESCRIPTION_BEGIN"
!insertmacro mui_DESCRIPTION_TEXT ${SEC01} "腾讯QQ2005官方正式SP1版本内核"
!insertmacro mui_DESCRIPTION_TEXT ${SECSW} "腾讯QQ商务伴侣"
!insertmacro mui_DESCRIPTION_TEXT ${SECMSN} "MSN风格的QQ消息声音"
!insertmacro mui_DESCRIPTION_TEXT ${SEC02} "可以一次登陆多个QQ的工具,非常感谢LimSteven提供"
!insertmacro mui_DESCRIPTION_TEXT ${SEC04} "这个不用多说了吧?"
!insertmacro mui_DESCRIPTION_TEXT ${SEC05} "远程桌面连接系统,帮别人修电脑的时候可以用一下,很方便"
!insertmacro mui_DESCRIPTION_TEXT ${SEC06} "支持IE右键添加文件或者图片到QQ表情或网络硬盘,商务伴侣也依赖它"
!insertmacro mui_DESCRIPTION_TEXT ${SEC07} "腾讯推出的宠物养成系统,此组件必须在线安装"
!insertmacro mui_DESCRIPTION_TEXT ${SEC08} "QQ自带的一个音乐播放器"
!insertmacro mui_DESCRIPTION_TEXT ${SEC09} "这个不用多说了吧?"
!insertmacro mui_DESCRIPTION_TEXT ${SEC10} "腾讯及其服务商提供的在线资讯服务"
!insertmacro mui_DESCRIPTION_TEXT ${SEC11} "这个不用介绍了吧?"
!insertmacro mui_DESCRIPTION_TEXT ${SEC12} "QQ的电子书,跟魔法表情无关"
!insertmacro mui_DESCRIPTION_TEXT ${SEC13} "QQ与企业版本的QQ连接的纽带"
!insertmacro mui_DESCRIPTION_TEXT ${SEC14} "QQ新推出的一个小巧的通讯纪录工具"
!insertmacro mui_DESCRIPTION_TEXT ${SEC15} "QQ好友之间的简单文件共享,跟网络硬盘无关"
!insertmacro mui_DESCRIPTION_TEXT ${SEC16} "自动更新你机器里面的QQ"
!insertmacro mui_DESCRIPTION_TEXT ${SEC17} "可以自己来定义QQ的面板组件"
!insertmacro mui_DESCRIPTION_TEXT ${SEC18} "QQ一些功能实现的基础,例如创建临时会话等"
!insertmacro mui_DESCRIPTION_TEXT ${SEC19} "这个不用介绍了吧?"
insertmacro mui_DESCRIPTION_TEXT ${SEC20} "原版QQ2005皮肤"
!insertmacro mui_DESCRIPTION_TEXT ${SECUSB} "腾讯USB电话,似乎是个吃钱的东西?"
!insertmacro mui_DESCRIPTION_TEXT ${SEC21} "精简版本的QQ皮肤,节省资源占用.感谢狂人论坛Aqing50"
1!insertmacro mui_DESCRIPTION_TEXT ${SECPhone} "QQ与手机之间互相发送短信的功能"
!insertmacro mui_DESCRIPTION_TEXT ${SECFT} "QQ好友之间互相发送文件的功能,若不安装则无法传送文件"
!insertmacro mui_DESCRIPTION_TEXT ${SEC03} "珊瑚虫工作室制作的去QQ广告显示好友所在地址外挂程序,显IP能力较强"
!insertmacro mui_DESCRIPTION_TEXT ${SECunp} "这个选项将通过增加QQ安装体积来降低QQ内存占用,不推荐"
!insertmacro mui_DESCRIPTION_TEXT ${SECCNNIC} "CNNIC推出的中文上网程序,不喜欢它的可以选择不安装或者安装之后卸载"
!insertmacro mui_DESCRIPTION_TEXT ${SECup} "纯真IP数据库自动升级程序,一般5天升级一次"
!insertmacro mui_DESCRIPTION_TEXT ${SECduo} "可以在线安装各种可爱QQ表情的软件,安完请到开始菜单找"
4!insertmacro mui_DESCRIPTION_TEXT ${SECPY} "飘云出品的QQ去广告显好友IP补丁,注入模式,目前显IP能力较弱,兼容Win98"
!insertmacro mui_DESCRIPTION_TEXT ${SECBaidu} "百度推出的IE搜索工具栏,不喜欢它的可以选择不安装或者安装之后卸载"
!insertmacro mui_FUNCTION_DESCRIPTION_END

Function un.onUninstSuccess
HideWindow
MessageBox MB_ICONINFORMATION|MB_OK "$(^Name) 已成功地从你的计算机移除。"
FunctionEnd
Function un.onInit
MessageBox MB_ICONQUESTION|MB_YESNO|MB_DEFBUTTON2 "你确实要完全移除 $(^Name) ,其及所有的组件?" IDYES +2
Abort
FunctionEnd

delete "$DESKTOP\狂人之家.lnk"
delete "$DESKTOP\QQ登陆.exe"

DeleteRegKey ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}";
DeleteRegKey HKLM "${PRODUCT_DIR_REGKEY}"
ESetAutoClose true
SectionEnd