visual-studio 如何在 Windows 7 上安装 VS6、SP5 和 Proc Pack?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/3991043/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How to install VS6, SP5, and Proc Pack on Windows 7?
提问by b w
Need to get Visual Studio 6 Processor Pack installed on Windows 7 (32 bit).
需要在 Windows 7(32 位)上安装 Visual Studio 6 Processor Pack。
First i installed VS6 + SP6, which prevents the PP from installing. I uninstalled VS6 and re-installed VS6 and am trying to install SP5.
首先我安装了 VS6 + SP6,这会阻止 PP 安装。我卸载了 VS6 并重新安装了 VS6 并尝试安装 SP5。
It is now complaining that MDAC 2.5 or 2.6 needs to be installed first. I've tried 2.5, 2.6, and 2.8. All run through the little extract progress dialog and appear to finish. But SP5 still fails with this:
现在抱怨需要先安装 MDAC 2.5 或 2.6。我试过 2.5、2.6 和 2.8。全部通过小提取进度对话框运行并似乎完成。但是 SP5 仍然失败了:


Any ideas on getting VS6 + SP5 + PP installed correctly?
关于正确安装 VS6 + SP5 + PP 的任何想法?
EDIT: Alternatively, any way to get VS6 (or just VC6) + SP6 + PP installed correctly? Processor Pack refuses to install on SP6, insisting on SP5.
编辑:或者,有什么方法可以正确安装 VS6(或仅 VC6)+ SP6 + PP?Processor Pack 拒绝安装在 SP6 上,坚持安装在 SP5 上。
EDIT: I found a KB article suggesting a registry change, and that got SP6 + PP installed, but i'm getting this error, which is apparently indicates that PP isn't installed:
编辑:我发现一篇KB 文章建议更改注册表,并且安装了 SP6 + PP,但我收到此错误,这显然表明未安装 PP:
--------------------Configuration: test - Win32 Debug--------------------
Compiling...
test.cpp
c:\svn\test\test.cpp(127) : error C2520: conversion from unsigned __int64
to double not implemented, use signed __int64
Error executing cl.exe.
test.dll - 1 error(s), 0 warning(s)
EDIT: Fixed title.
编辑:固定标题。
回答by b w
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.
尽管这不受支持,并且您会收到有关可能无法在 Windows 7 上运行的正常警告,但我现在已经安装并编译了它。
Found a solutionto this that actually works well. Essentially you have to hand edit the STF file for VS6 Service Pack 5 to skip the MDAC check.
找到了一个实际运行良好的解决方案。本质上,您必须手动编辑 VS6 Service Pack 5 的 STF 文件以跳过 MDAC 检查。
Install VS6. Do a custom install and deselect Visual Studio Analyzer, along with anything else you don't need. I ended up installing InterDev and VC++ with some misc. tools. (OLE Viewer caused problems.)
Extract (or copy from CD) 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
3638 29 30 32 26 27 14 25 16 17 20 18 19 15 39 21 22 24 23 43and save the file. For completeness, you can possibly remove step 36 (and 37) entirely, but this has worked for me once but not the second time i tried this. Those lines are as follows:
36 Depend "27 ? : 37" 37 IsWin95 CustomAction "sp598ent.dll,CheckForMDAC"
Run SETUPSP5.EXE and let Service Pack 5 finish installing.
- Install Processor Pack normally.
安装 VS6。进行自定义安装并取消选择 Visual Studio Analyzer,以及您不需要的任何其他内容。我最终安装了 InterDev 和 VC++ 以及一些杂项。工具。(OLE 查看器导致问题。)
将 Service Pack 5 文件提取(或从 CD 复制)到一个文件夹。
修改 SP598ENT.STF 以从步骤 13 中的列表中删除 36(MDAC 检查)
13 Group 28
3638 29 30 32 26 27 14 25 16 17 20 18 19 15 39 21 22 24 23 43并保存文件。为了完整起见,您可以完全删除第 36 步(和第 37 步),但这对我有用过一次,但不是我第二次尝试过。这些行如下:
36 Depend "27 ? : 37" 37 IsWin95 CustomAction "sp598ent.dll,CheckForMDAC"
运行 SETUPSP5.EXE 并让 Service Pack 5 完成安装。
- 正常安装处理器包。
回答by Steve Townsend
MDAC is supposedly part of the OS in Windows 7 - see input from Microsoft moderator here. You may be out of luck, since Visual Studio v6 is no longer a supported product - it expired before Win7 shipped iirc.
MDAC 据说是 Windows 7 操作系统的一部分 - 请参阅此处来自 Microsoft 版主的输入。您可能不走运,因为 Visual Studio v6 不再受支持 - 它在 Win7 发布 iirc 之前就已过期。
You cannot install MDAC 2.8 on Windows 7. It is an operating system component and is shipped with Windows 7. Because it is already installed as part of the core OS, it is not "downgradable".
您不能在 Windows 7 上安装 MDAC 2.8。它是一个操作系统组件,随 Windows 7 一起提供。因为它已经作为核心操作系统的一部分安装,所以它不能“降级”。
回答by user6207297
On the some old XP machine you may make DLL wrapper about MDACxxx (or any dll, tlb) who you want. Make installation on the XP (make sure that path of orginal DLL to be in AppPath not WinSysPath) and install on your Win7 and at the end include your DLL in your install procedure.
在一些旧的 XP 机器上,你可以制作你想要的 MDACxxx(或任何 dll,tlb)的 DLL 包装器。在 XP 上进行安装(确保原始 DLL 的路径在 AppPath 中而不是 WinSysPath 中)并安装在您的 Win7 上,最后将您的 DLL 包含在您的安装过程中。

