Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to view what commands are run by an exe file as they are running

21 views
Skip to first unread message

chiz

unread,
Nov 15, 2013, 11:28:44 AM11/15/13
to
This may be a simple Google search job... but either I'm not sure what I'm looking for or wording my search incorrectly. I am not a programmer. I am simply trying to install a program... and thought that a programming community would be a good place to come for help.

My problem is this:
I am trying to install a program that requires me to have a specific version of another program installed before completing the install. When I run the .exe file, it goes through the normal steps until it checks to see if I have a specific version of another program installed. I have this program installed but, for whatever reason, it does not recognize that I have it installed.

So, I want to see where it is looking for that file. I don't want to edit the .exe file. I just want to know what commands the .exe is trying to run so I can see where it is looking. Maybe a "command" is a bad way to describe what I'm looking for... not sure. If I can see where it is looking, I can install the program into that directory. I'm hoping that would solve the problem.

I've read a few questions on here similar to this that were hammered by people criticizing the question and the person asking it... Please save the effort. If my question is worded poorly, say that. If my question would take to long to answer and/or would require a much higher level of skill than you believe I can achieve... say that.

Thanks in advance!

Lucas Levrel

unread,
Nov 15, 2013, 3:03:32 PM11/15/13
to
Le 15 novembre 2013, chiz a ᅵcrit :

> My problem is this: I am trying to install a program that requires me to
> have a specific version of another program installed before completing
> the install. When I run the .exe file, it goes through the normal steps
> until it checks to see if I have a specific version of another program
> installed. I have this program installed but, for whatever reason, it
> does not recognize that I have it installed.

The "whatever" here is a big problem I think.

> So, I want to see where it is looking for that file. I don't want to
> edit the .exe file. I just want to know what commands the .exe is trying
> to run so I can see where it is looking. Maybe a "command" is a bad way
> to describe what I'm looking for... not sure. If I can see where it is
> looking, I can install the program into that directory. I'm hoping that
> would solve the problem.

Normally one should not make assumptions on where a program resides, so
your calling program should not have the path to the called program
hardcoded. Is the called program in your %path%? Run a command window
(Win+R, type "cmd", Enter), type there "the_called_program_name.exe". Is
it found by Windows?

But are you sure this is a path issue? The calling program could be
running a command like "the_called_program /version" and parsing the
output to know which version is installed.

--
LL

bryan.ch...@gmail.com

unread,
Nov 26, 2013, 8:29:54 AM11/26/13
to
Thank you for the reply.

I checked the command prompt and it was not found by Windows. Thanks for mentioning that; I'll try to figure out how to get that to work.

The calling program does require a specific version but I tripled checked that thinking it must be the issue. I do have the correct version installed though.

Thanks again!
0 new messages