Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.programming.threads > #1985 > unrolled thread

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

Started bychiz <bryan.chisenhall@gmail.com>
First post2013-11-15 08:28 -0800
Last post2013-11-26 05:29 -0800
Articles 3 — 3 participants

Back to article view | Back to comp.programming.threads


Contents

  How to view what commands are run by an exe file as they are running chiz <bryan.chisenhall@gmail.com> - 2013-11-15 08:28 -0800
    Re: How to view what commands are run by an exe file as they are running Lucas Levrel <lucas.levrel@u-pec.fr> - 2013-11-15 21:03 +0100
      Re: How to view what commands are run by an exe file as they are running bryan.chisenhall@gmail.com - 2013-11-26 05:29 -0800

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

Fromchiz <bryan.chisenhall@gmail.com>
Date2013-11-15 08:28 -0800
SubjectHow to view what commands are run by an exe file as they are running
Message-ID<d0a1ddca-0189-4d68-a6d8-c13439485cbb@googlegroups.com>
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!

[toc] | [next] | [standalone]


#1986

FromLucas Levrel <lucas.levrel@u-pec.fr>
Date2013-11-15 21:03 +0100
Message-ID<alpine.LNX.2.10.1311152053210.1607@localhost>
In reply to#1985
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

[toc] | [prev] | [next] | [standalone]


#2019

Frombryan.chisenhall@gmail.com
Date2013-11-26 05:29 -0800
Message-ID<9db3ed72-fcad-44f0-865a-622a19bd92cb@googlegroups.com>
In reply to#1986
On Friday, November 15, 2013 2:03:32 PM UTC-6, Lucas Levrel wrote:
> 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

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!

[toc] | [prev] | [standalone]


Back to top | Article view | comp.programming.threads


csiph-web