Click here to Skip to main content
15,885,366 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
i want to install my wpf application on target clients.
my project created on .netframework4 platform.
i build an .exe file with installshield .
when i installed the .exe file on the client,when i try to run it(by doubleclicking on it's icon on the desktop) , some of them work properly and some of them can run my program ( No nothing will happen ).
i think : it need some prerequirements ( for example : .netframework and ... ) to work.
note: i installed .netframework4
what are them ????!!!!
Posted
Updated 17-Feb-13 1:03am
v3
Comments
Shahare 17-Feb-13 7:45am    
Check if the installation process went all good:
1. Is the .netframework4 indeed on the target machine?
2. Are all the files in position?
3. Any registry required done?
4. Any configuration needs to be done? XML/DB/ etc.
5. Check your .dlls of the project - c++ runtimes maybe?

To me it sounds that the installation was not successful - try debug it
HOSSEIN.AB 17-Feb-13 9:19am    
thanks for your rep my dear teacher; i installed vs 2012 on the client machin and my problem is solved,
now ,i want to install on another client(that has this problem) all of the programs that installed with vs on this client one by one and try to run program when one of them is installed to understand what is the prerequirement.
Shahare 17-Feb-13 9:32am    
If you installed the VS and all works good then I`m pretty sure it relates to c++ runtimes - does your project requires some of them?
Sergey Alexandrovich Kryukov 17-Feb-13 12:44pm    
This is called "prerequisites". Basically, you should require compatible version of .NET Framework. Optionally, you can deploy the framework with your application.
If your software does work on one machine but not others when prerequisites are met, it is called a "bug" and not related to prerequisites. Fix it. :-)
—SA

1 solution

Please see all the comments to the question. In addition, consider this:
http://msdn.microsoft.com/en-us/library/6hbb4k3e.aspx[^].

As I say, if the prerequisites are met but your application runs on some systems and fails to run on others, this is just a bug. Of course, you should test your product on different systems, at least from time to time. Debugging is a broad topic, you just need enough debugging skills. Of course, you can ask your questions in case of specific problems, we will gladly try to help you provided enough information.

—SA
 
Share this answer
 

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