在不同的操作系统中测试exe文件 [英] test the exe file in different OS

查看:137
本文介绍了在不同的操作系统中测试exe文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经为我的Visual Studio 2008项目生成了一个EXE文件.现在我要测试是否在不同的Windows操作系统中安装EXE文件?

有用于测试该EXE文件的模板吗?

是否有任何程序可以测试该EXE文件?

有关测试的任何信息.请告诉我.

I have generated a EXE file for my project of Visual studio 2008 . now i want to test EXE file installing or not in different windows operating system ?

Is there any template for to test that EXE file ?

Is there any process for to test that EXE file?

if any information regarding test. please tell to me.

is it required to install visual studio2008 to run the my EXE file?

推荐答案

为您的程序制作检查清单.
然后尝试在另一种Window Vista/7/XP上运行它.
浏览检查清单,看看是否有任何问题.

查看 Windows 7和Windows Server 2008 R2应用程序质量手册 [ ^ ]和工具,最佳做法和指导 [ ^ ]. Microsoft提供了一些很棒的工具,可以为您提供帮助.
Make check list for your program.
Then try run it on another type of Window Vista / 7 / XP.
Walk through your check list and see if there are any problems.

Check out Windows 7 and Windows Server 2008 R2 Application Quality Cookbook[^] and Tools, Best Practices, and Guidance[^]. There exists some great tool from Microsoft that can help.


最后一个问题的快速答案:不,它是一个exe文件,您无需安装VS2008即可运行您的浏览器的exe文件对吗? Exe文件是一个程序,您不需要开发环境即可运行它; P

考虑到您剩下的问题,我想您是在问如何最好地测试您的应用程序是否将安装在其他版本的Windows上?有两种方法可以做到这一点.两者都需要两个阶段,首先,如Kim Togo所说,做一个清单,检查程序在不同阶段的行为,但是,第二阶段实际上是在进行测试,您可以通过两种方式进行测试: br/>
1)您可以让其他几台运行不同版本Windows的物理机尝试安装在每台Windows上,但是这很昂贵,因为您实际上必须拥有其他几台物理机.到处都有这么多PC也很麻烦,而且安装和测试很慢.

2)更好的方法是在计算机上安装VirtualPC程序,并运行运行不同版本Windows的不同虚拟机.这意味着您无需购买其他物理计算机即可测试程序是否正确安装.

我想指出的是,尽管许多程序可以正确安装,但它们不一定在所有版本的Windows上都能正常运行/运行相同(例如,众所周知,Vista会引起许多不兼容问题).因此,我建议您不仅要测试程序的安装,还要建议程序是否按预期运行,直到最后一次单击按钮.

希望这会有所帮助,

埃德:)
Quick answer to your last question: no, it''s an exe file, you didn''t have to install VS2008 to run your browser''s exe file did you? Exe file is a program, you don''t need the development environment to run it ;P

With reagrds to the rest of your question, I think you are asking how best to test whether your application will install on other versions of Windows? There are two ways of doing this. Both will require two stages, first, doing as Kim Togo says, making a check list of how your program is supposed to behave at different stages, however, the second stage is actually doing the test, which you can do in two ways:

1) You can get several other physical machines running different versions of Windows and try installing it on each but, this is expensive as you actually have to have several other physical machines. It''s also cumbersome to have that many PC''s around the place and slow to set up and test.

2) The better way is to install a VirtualPC program on your computer and run different virtual machines running different versions of Windows. This mean you can then test whether your program installs correctly without even buying a another physical computer.

I would like to point out that, while many programs will install properly, they won''t necessarily run properly/the same on all versions of Windows (e.g. Vista is known for causing lots of incompatibility problems). Therefore, I would suggest not just testing the installation of your program but also whether your program runs as you intended it to, right down to the last button click.

Hope this helps,

Ed :)


这篇关于在不同的操作系统中测试exe文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆