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


Groups > comp.programming.threads > #1986

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

From Lucas Levrel <lucas.levrel@u-pec.fr>
Newsgroups comp.programming.threads
Subject Re: How to view what commands are run by an exe file as they are running
Date 2013-11-15 21:03 +0100
Organization Service de news de lacave.net
Message-ID <alpine.LNX.2.10.1311152053210.1607@localhost> (permalink)
References <d0a1ddca-0189-4d68-a6d8-c13439485cbb@googlegroups.com>

Show all headers | View raw


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

Back to comp.programming.threads | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

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

csiph-web