I have a problem with favor source :
say I have a file a.exe which reads b.txt from same folder.
Now if I make two components
a : a.exe : favor source
b : b.txt : favor local
a.exe is installed at source and is able to read b.txt .
Now if I do like:-
a : a.exe : favor source
b : b.txt : favor source
then a.exe is unable to read b.txt , though both are installed at source.
any clarification???
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.
problem with run from source.
Started by
saeed_a
, Jun 17 2004 23:57
2 replies to this topic
Posted 18 June 2004 - 09:15
I guess that a.exe is not actually written to load b.txt from the same directory as a.exe but from the curent working directory.
Stefan Krüger
InstallSite.org twitter facebook
Posted 23 June 2004 - 12:12
Maybe a.exe reads from the registry where to find b.txt? If there is a registry-entry pointing to [INSTALLDIR]b.txt then it will allways point to the local folder. In order to point to the place where b.txt actually is, it should point to [#b.txt] (where b.txt is the file id).
Dick Nagtegaal