Script Reuse

Got a problem you cannot solve? Try here.
Post Reply
wfox
Posts: 8
Joined: Tue May 29, 2007 1:42 am

Script Reuse

Post by wfox »

Is there an easy way to extract a section of an installaware script for reuse in another install script? I have a certain things I do in each of my installs that I end up copying / pasting into each of the installs. If I need to make changes to the sections, I need to go back and edit multiple times. It would be great to be able to set these common sections of scripts aside and reuse them in multiple installations.
Thanks.
Alex_Ronquillo
Site Admin
Posts: 364
Joined: Mon Jul 30, 2007 11:51 am
Location: USA
Contact:

Post by Alex_Ronquillo »

This is easy to do. Create an empty script in any project, copy and paste the code you want to reuse in your projects. Once you have this script, copy the .mia and .mia.fld files to a place where you will remember. Now, all you need to do, is include this script to your projects, and once you modify it in one project, it will be modified for all.
Alejandro Ronquillo
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
Post Reply