关于创建一个包罗万象的Windows安装程序的问题
我在VS2008和windows 7 32位中创建了一个程序。为了使程序正常工作,当前需要在计算机上安装 SDK。我正在尝试为我的程序创建一个安装程序,以便该程序无需 sdk 即可运行。在 VS2008 中,我创建了一个包含合并模块和依赖项等的安装程序。如果这个程序在 Windows 7 32 位上运行,它就会像我期望的那样工作。但是,它现在无法在 Windows XP 32 位或 Windows Vista 32 位上运行。
现在 VS2008 安装程序会自动检测依赖项,但我相信这仅适用于 Windows 7,因为 XP 和 Vista 无法正常工作。
我有 dependency walker,并发现程序对大约 32000 个不同文件的依赖关系......
我无法将它们全部包含在内。
有没有一种方法可以让 Windows 7 32 位上的 VS2008 找到该程序在其他 Windows 版本上运行的依赖项,然后将它们全部放在一起?
抱歉,它有点长,但它让我发疯。
I created a program in VS2008 and windows 7 32bit. To get the program to work currently a SDK needs to be installed on the machine. I am trying to create an installer for my program so that the program will run without needing the sdk. In VS2008 I created an installer with merge modules and dependencies and all. If this program runs on Windows 7 32bit, it works like I expect it to. However it will not run on say windows xp 32bit or windows vista 32bit right now.
Right now the VS2008 installer auto detects the dependencies but i believe thats just for windows 7 as XP and Vista don't work right.
I have dependency walker and have found the dependency of the programs to about 32000 different files...
I can't include them all.
Is there a way that I can make VS2008 on windows 7 32bit find the dependencies for this program to run on other windows versions as well and just put them all in together?
Sorry its a bit long but its driving me crazy.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
它使用的低级文件之一依赖于 VS2005 并且未被拾取。因此它需要 Microsoft_VS80_CRT、ATL、MFC 合并模块,这些模块仅随 VS2005 提供,但它们不允许您在 Microsoft 上访问。向使用 VS2005 的人询问合并模块,他们给了我,现在它可以在我测试过的所有平台上运行。
one of the low level files it was using depended on VS2005 and was not picked up. so it needed the Microsoft_VS80_CRT, ATL, MFC merge modules that only come with VS2005 which they don't give you access to on microsoft. Asked somebody with VS2005 for the merge modules, they gave them to me and now it works across all platforms ive tested.