PDA

View Full Version : How to use common files



plipli
11-30-2004, 11:08 AM
Hi,

I have to create several installers. As they are all similar, I created some common files with common functions and common constants. These common files are in a common folder so that every installer can use. Then what I only need to worry about is to change in one place and fix them all.

Now, I import these common files into my projects, but these files are copied to the Script folder under the IS project folders If I modified a common script file in one IDE, the copied file under the Script folder is modified. To update this change in other IS projects, I have to delete all imported copies and re-import again. I think it is not right. Could someone point me a right way? I'm really appreciated!

Thank you in advance,
Ping

plipli
12-14-2004, 04:26 PM
Use Insert script file instead of Import
Change include file path. Right now I use absolute path and don't know how to use a relative path.