2009-11-12

(zz)How to Safely Delete Orphaned Patches

http://blogs.msdn.com/heaths/archive/2007/01/31/how-to-safely-delete-orphaned-patches.aspx
Heath Stewart

If Visual Studio 2005 Service Pack 1 fails to install, you might find additional .msp files under %WINDIR%\Installer for each failed attempt. You should not simply delete these patches, however, because if one of the patches was applied successfully to one target product, deleting that patch will cause future maintenance installs – including repairs, patch install, patch uninstall, and even product uninstall – to fail.

After safely identifying orphaned patches, you can delete them. There are a couple of different ways to identify orphaned patches.

If you have the Windows SDK or the older Platform SDK installed or are willing to install either, you can use msizap.exe to identify and remove orphaned data files such as patches. Run the following command. You will find msizap.exe in the bin folder of the Windows SDK or Platform SDK installation directory.

msizap.exe G!

If you don't want to install either SDK just to get this executable, you can determine which patches are registered and applicable and delete extra patches you find under %WINDIR%\Installer. I have attached a simple script to identify which patches are registered – those patches you should not remove.

To successfully install the patch if you are having problems, please read about known issues with Visual Studio 2005 Service Pack 1 and available workarounds.

Published Wednesday, January 31, 2007 9:16 PM by Heath Stewart
Attachment(s): WiMsps.zip


QQ的用户数据目录

缺省情形下,用户数据跟程序在同一目录下,通常为C:\Program Files\Tencent\QQ。
这不符合业务与控制分开的原则,也不利于C盘的ghost。
如何更换?
登录QQ,在"系统设置"→"基本设置"→"文件记录"中进行修改。修改个人文件夹保存位置后,QQ会自动为您把原来的数据迁移到您指定的新位置。

2009-11-10

转两个MSN签名

Alex_yu: 再无钱学森,全是钱学生
hm: 现实很骨感,理想很丰满

2009-11-06

[zz]MSN Messenger(Windows Live Messenger)联系人和分组名显示乱码的问题

http://hi.baidu.com/3548559/blog/item/e63ef709294ee08ad1581b9b.html
简述之:
regsvr32.exe inetcomm.dll (如失败需要下载inetcomm.dll)
删除%userprofile%\Local Settings\Application
Data\Microsoft下的Messenger和Windows Live Contacts两个目录。

这样是搞定了,但我有个疑问:
我第一次regsvr32.exe inetcomm.dll失败了。
可是当我把下载的inetcomm.dll解压到C:\windows\system32,没有提示覆盖旧文件。
但是,Windows文件保护对话框弹出来,说该文件被不明版本文件替换,要插入光盘。
那我就不明白了,如果系统中已经有这个文件,为什么注册会失败?为什么没有提示覆盖?