cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
DataAnalyzer
Level 8

How do I use the same script for multiple installations

Is there a way to have multiple projects refer to the same script file?

We have different versions of the same file being installed in different folders, registry, etc., and it seems to be easier to create separate ISM files for each of them. However, they use the same Setup.RUL file. Right now, I have a copy of the same SETUP.RUL in each ISM file, but would like to have it point to a shared file. How?
Labels (1)
0 Kudos
(4) Replies
Anonymous
Not applicable

Just right-click on 'Files' in the InstallScript tree and select 'Insert Script Files'. You can then choose any .rul file from your computer to insert.
0 Kudos
DataAnalyzer
Level 8

If I do that, does it make a copy of that script file or just point to it? That is, if I change the RUL file, will both instances of the ISM file use it?
0 Kudos
simongeering
Level 3

We share scripts between projects by adding them to VSS and then charing common scripts between the various source safe projects where they contain common functionality.

Don't forget you can also Include scripts using

#include "ScriptFile.rul"
0 Kudos
Anonymous
Not applicable

Yes both will point to the same RUL file.


DataAnalyzer wrote:
If I do that, does it make a copy of that script file or just point to it? That is, if I change the RUL file, will both instances of the ISM file use it?
0 Kudos