Jump to content

This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.

working directory and finding files

1 reply to this topic

Veit Zimmermann

Veit Zimmermann
  • Members
  • 1 posts

Posted 02 February 2004 - 21:02

I'm quite sure this problem is quite trivial, but...

I'm using Installshield Express 5.
In my Installation a driver has to be installed by an executable custom action.
The Source location is "Installed with the product" meaning the file is in the
installation directory (and it really is!).
This Executable is properly called but it won't find any files it needs (two *.inf
files etc.) although they are present at the moment of the execution.

At the moment quite frustrated. Could anybody please help a beginner?



  • Full Members
  • 532 posts

Posted 05 February 2004 - 07:17

Even if your executable is exected correctly, it is quite possible that it is being kicked of from a full path - i.e. - c:\myfiles\run.exe

The installer still would have a working directory of c:\, but the exe would still be run.

Are you allowed to modify the executable?

You might need to change its working directory, or add some debug to see where it is being executed from.

Also, try running the install with log mode, this might tell you where the exe is being run from.