I need to edit an exe file with a switch at the end to call an ini file. I cannot find how this exe calls the ini or where it should be by default, but I know the command line to make it look at an ini file.
My only problem is, with Windows 7 I cannot change the target line of the exe file itself. I cannot create a shortcut (where I can edit the target line) as another application calls this exe during install. Is there a way to force or hack the exe file to call the ini file ?

This is related to my sequencing issue for a virtual application !

0 Comments   [ + ] Show Comments


Please log in to comment

Community Chosen Answer


this really depends on the specific package and the type of installer. The one that is calling your exe, what type is it?

Answered 04/24/2012 by: pjgeutjens
Red Belt

Please log in to comment



Sometimes exe files will use ini files if they reside in the same directory. More details on what you are actually using would be very helpful.

Answered 04/24/2012 by: mpace
Red Belt

Please log in to comment

Another Exe calls another exe. This happens during the appv install , but because I can't edit the 2nd exes target to look at files located on sequence drive , it looks for them on the C: drive of the physical drive the app runs from.

Answered 04/25/2012 by: FergieMan
Third Degree Green Belt

  • if your main goal is to get a working App-V sequence, you could try to do a VFS sequence, so basically capture the install to the C:-drive instead of the Q:-drive..
    That would allow the 2nd exe to find its files I think
Please log in to comment
Answer this question or Comment on this question for clarity