How can I add a file to an InstallShield component specifying a relative path to the InstallShield project in order to make it easy compiling the project on different machines?
You can use <path variables>
(see documentation - resurrected from Wayback, Aug 2018) to point all your files relatively to them.
Also see this blog post.