This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- How do I use the same script for multiple installations
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 25, 2010
04:50 PM
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?
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?
(4) Replies
![](/skins/images/C4A29A98453672A2922990F5A8DFC22D/responsive_peak/images/icon_anonymous_message.png)
Anonymous
Not applicable
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 26, 2010
08:41 AM
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.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 27, 2010
10:37 AM
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?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 27, 2010
10:52 AM
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"
Don't forget you can also Include scripts using
#include "ScriptFile.rul"
![](/skins/images/C4A29A98453672A2922990F5A8DFC22D/responsive_peak/images/icon_anonymous_message.png)
Anonymous
Not applicable
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 27, 2010
03:18 PM
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?
![](/skins/images/C4A29A98453672A2922990F5A8DFC22D/responsive_peak/images/icon_anonymous_message.png)