Deployment In C++
-
Hai, I am having a VC++ exe. i wat to create a setup file, I tried creating a setupfile by reading the msdn site.when i am running it, it is working in some machines, but not in other machines. will you please help me
-
Hai, I am having a VC++ exe. i wat to create a setup file, I tried creating a setupfile by reading the msdn site.when i am running it, it is working in some machines, but not in other machines. will you please help me
Are you making the setup from your debug or your release version? If you are making it from debug, it probably is the reason why in some machines does not work. They probably are machines where visual studio is not installed, and so your program is missing the needed libraries and dlls to be able to run the application. What error do it appears in the machines where it is not working?
Regards. -------- M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpfull answers is nice, but saying thanks can be even nicer.
-
Are you making the setup from your debug or your release version? If you are making it from debug, it probably is the reason why in some machines does not work. They probably are machines where visual studio is not installed, and so your program is missing the needed libraries and dlls to be able to run the application. What error do it appears in the machines where it is not working?
Regards. -------- M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpfull answers is nice, but saying thanks can be even nicer.
i Am making it from the debug version.It is showing the error Application Not configuredf properly.Try reinstalling it.
-
i Am making it from the debug version.It is showing the error Application Not configuredf properly.Try reinstalling it.
As I said, if you do the setup from the debug version and you try to run the application in a machine where no visual studio is installed... you may have problems. The debug versions sometimes need to have some DLLs and other files in the target computer to run correctly. Take a look with the dependancy-walker about what your programm needs when it is running and add it to the setup packet. Or do the setup with released version. If you do this, I strongly recommend to take a look into: Surviving the Release Version[^] Debugging Release Mode Problems[^]
Regards. -------- M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpfull answers is nice, but saying thanks can be even nicer.
-
i Am making it from the debug version.It is showing the error Application Not configuredf properly.Try reinstalling it.
Are you including visual studio runtime library in your setup? The Target machine may not have these files