Click here to Skip to main content
15,893,722 members
Please Sign up or sign in to vote.
2.50/5 (2 votes)
See more:
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?
Posted
Updated 7-May-11 1:40am
v2
Comments
Sandeep Mewara 7-May-11 7:51am    
It's your exe. You know what it does. What kind of template now you are looking for?

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.
 
Share this answer
 
v2
Comments
Ed Nutting 7-May-11 10:29am    
Very thin on information and help, my 2 :/
Kim Togo 7-May-11 10:50am    
Yes I know.

But it is wrong to say "I what to test that EXE file".
An application consists of many more things then an EXE file. External components that may or may not be installed/upgraded on the target PC.
Missing Windows updates, lack of memory, free hard disk space, graphics card driver, running on a Terminal Service / Citrix, total lockdown system etc..
Are there are other programs which, along with my program could create problems or instability.

Really world application use, is not the same as running in the lab.
Ed Nutting 7-May-11 11:33am    
Your attitude is wrong for answering questions. Many of the people asking questions don't know what it is they really need to ask, hence why they need to ask a question at all. Furthermore, many members first language is not English so incorrect English cannot be blamed on them, at least they tried. If you can't answer the question decently, don't answer at all.
Kim Togo 7-May-11 13:13pm    
What attitude? I am not trying to blamed or accuse anyone of anything her. My first language is not English.
I simply try to answer a question. I have provided with at link to MSDN where there is a great article about "Application compatibility testing".
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 :)
 
Share this answer
 
v2
Comments
NuttingCDEF 7-May-11 10:49am    
If you are looking for Virtual PC software there is Microsoft Virtual PC - though the last time I tried it it had problems loading 64-bit client OSs (though that might just have been a problem because the host OS was Win XP 32-bit) . . . so I resorted to Oracle VM VirtualBox which was fine with 64-bit.

Just one warning about the Oracle VM though - IIRC by default it stored all its files (including virtual hard discs - which can be huge) in my Windows profile - which made a mockery of trying to use a roaming profile (hours to log on or off) - you might want to change where it stores things!

Whichever you go for you still need source discs for your target (client) OS to install onto the virtual PC. And don't try to do a virtual PC on a machine that doesn't have a fair bit of headroom in all areas to cope with the extra virtualisation load.

Once you've set up your virtual PC, you might want to take a copy of the relevant files while they are clean (OS / patches only - none of your apps that you are trying to test) - then you have a quick and easy way to start again on a clean VM when everything goes pear shaped!
NuttingCDEF 7-May-11 10:51am    
P.S. AFAIK there's nothing to stop you installing VS on a VM and using that to test / debug your app on the VM - never tried it but if there are any problems or specific issues you want to test it might help. But it's definitely NOT a requirement for your EXE to run on a VM.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900