最新消息:

QQ2009自定义界面

nsis 永恒心锁 1494浏览 0评论
SetCompressor /SOLID lzma
SetCompress force
OutFile "RunPluginTool.exe"
Name "RunPluginTool"
Var QQDIC
LoadLanguageFile "${NSISDIR}ContribLanguage filesSimpChinese.nlf"
;程序版本信息
 VIProductVersion "0.0.0.1"
 VIAddVersionKey /LANG=${LANG_SIMPCHINESE} "ProductName" "QQ安装辅助工具"
 VIAddVersionKey /LANG=${LANG_SIMPCHINESE} "Comments" "QQ安装辅助工具"
 VIAddVersionKey /LANG=${LANG_SIMPCHINESE} "CompanyName" "Ansifa"
 VIAddVersionKey /LANG=${LANG_SIMPCHINESE} "LegalTrademarks" "Ansifa"
 VIAddVersionKey /LANG=${LANG_SIMPCHINESE} "LegalCopyright" "Copyright (C) 2009 Ansifa"
 VIAddVersionKey /LANG=${LANG_SIMPCHINESE} "FileDescription" "QQ安装辅助工具"
 VIAddVersionKey /LANG=${LANG_SIMPCHINESE} "FileVersion" "0.0.0.1"
!include "FileFunc.nsh"
Function .onInit
SetSilent silent
Sleep 1000
ReadRegStr $QQDIC HKLM "SOFTWARETENCENTQQ2009" "Install"
MessageBox MB_OK '1.$QQDIC'
StrCmp $QQDIC "" endp
StrCpy $QQDIC "$QQDICBin"
${GetFileVersion} "$QQDICQQ.EXE" $1
MessageBox MB_OK '版本:$1'
StrCmp $1 "0.0.0.1" +1 endp
ClearErrors
Rename "$QQDICQQ.EXE" "$QQDIC~qq.tmp"
MessageBox MB_OK '3."$QQDICQQ.EXE"'
Delete /REBOOTOK "$QQDIC~qq.tmp"
Rename "$QQDICTxQQ.EXE" "$QQDICQQ.EXE"
endp:
SetOutPath $QQDIC
CreateShortCut "$SMPROGRAMS腾讯软件QQ2009QQ插件管理器.lnk" "$QQDICPluginTool.exe"
ExecWait "$QQDICPluginTool.exe"
${GetFileVersion} "$QQDICQQ.EXE" $1
StrCmp $1 "0.0.0.1" +2
Exec "$QQDICQQ.exe"
FunctionEnd
Section
SectionEnd
永恒心锁,版权所有丨如未注明,均为转载丨本网站采用BY-NC-SA协议进行授权

转载请注明:永恒心锁-分享互联网 » QQ2009自定义界面

您必须 登录 才能发表评论!