Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: WPF
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 17-Feb-13 0:49am
Edited 17-Feb-13 1:03am
v3
Comments
Shahare at 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 at 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 at 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 at 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

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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
  Permalink  

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

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 808
1 OriginalGriff 493
2 sanket saxena 329
3 Tadit Dash 315
4 Peter Leow 228
0 Sergey Alexandrovich Kryukov 11,990
1 OriginalGriff 7,349
2 Peter Leow 5,003
3 Abhinav S 4,003
4 Maciej Los 3,575


Advertise | Privacy | Mobile
Web04 | 2.8.140421.2 | Last Updated 17 Feb 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Use
Layout: fixed | fluid