win7下面安装VC6的SP5补丁

以前记录的,现发到网上, 共享给需要的人:

vista/win7下面安装VC6的SP5补丁,但是总是报错误需要MDAC 2.5 or higher ,到微软网站上下了一个MDAC2.8,但是又安装不上去。在国外一个网站上终于找到了一个大牛给出的解决方法。


用记事本打开SP5补丁程序所在目录下的sp598ent.stf 文件


找到下面的行:
13 Group 28 36 38 29 30 32 26 27 14 25 16 17 20 18 19 15 39 21 22 24 23 43
将其替换为:
13 Group 28 38 29 30 32 26 27 14 25 16 17 20 18 19 15 39 21 22 24 23 43
找到下面的行:
36 Depend "27 ? : 37"
37 IsWin95 CustomAction "sp598ent.dll,CheckForMDAC"
将36,37后面的内容都删除掉, (crunch: 是将36, 37行的内容删除掉, 不是将后面的内容删除掉)
保存,退出
再运行setupsp5.exe,嘿嘿,没有再报错误了!!

 
再次感谢那位叫guideX的大牛,他原创的方法~~


//
Though this isn't supported and you get the normal warnings about maybe not working on Windows 7, but i now have it installed and compiling.

Found a solution to this that actually works well. Essentially you have to hand edit the STF file for VS6 Service Pack 5 to skip the MDAC check.

Install VS6. Do a custom install and deselect Visual Analyzer, along with anything else you don't need. I ended up installing InterDev and VC++ with some misc. tools.

Extract Service Pack 5 files to a folder.

Modify SP598ENT.STF to remove 36 (the MDAC check) from the list in step 13

13 Group 28 36 38 29 30 32 26 27 14 25 16 17 20 18 19 15 39 21 22 24 23 43
and save the file. For completeness, you can remove step 36 (and 37) entirely, but it isn't necessary. Those lines are as follows (and it's safe to remove them or ignore them, as long as 36 is removed from step 13):

36 Depend "27 ? : 37" 37 IsWin95 CustomAction "sp598ent.dll,CheckForMDAC"
Run SP5SETUP.EXE and let Service Pack 5 finish installing.

Install Processor Pack normally.

转载于:https://www.cnblogs.com/crunchyou/archive/2012/08/17/2629806.html

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值