在写之前,发句牢骚,2005之前我的livespace,“清闲茶室“,居然不能用了,ms太不尊重人权了,我不就是最近1年多没有去上么?而且,现在hotmail都能用,凭什么把我的空间给删除了?鄙视MS!
首先延期coordinator端,当然可以将文件内容参数化,不过长久使用不方便,不如直接写死。如下脚本
@echo off
rem =====================================================
rem ===== exceed ib coordinator ======
rem =====================================================
rem Jason 2011-12-13
@echo stop ib agent service
net stop "IncrediBuild_Coordinator"
@echo remove reg ib coordinator
reg delete HKEY_CLASSES_ROOT\Interface\{B7348B5D-B65D-4BF5-AF63-A3135249ACA7} /f
@echo remove ib program
call "D:\Program Files\Xoreax\IncrediBuild\Uninstall.exe"
@echo reinstall ib program
call "E:\IncrediBuild 3.20\IncrediBuild 3.20.exe"
其次,延期agent端,该端延期很方便了。脚本如下:
@echo off
rem =====================================================
rem ===== exceed ib client ======
rem =====================================================
rem Jason 2011-12-13
@echo stop ib agent service
net stop "IncrediBuild_Agent"
@echo remove reg ibagent
reg delete HKEY_CLASSES_ROOT\Interface\{B7348B5D-B65D-4BF5-AF63-A3135249ACA7}\ProxyStubClsid32 /f
@echo start ib agent service
net start "IncrediBuild_Agent"