MIAInclude is a preprocessor for InstallAware script files. It adds the ability to include other script files into your script.
Example:
- You have a block of code that checks for your prerequisites (it's the same across all your projects). When you discover an error or need to make a change you would have to change all your setup projetcs. With include scripts you make your change only in the include script and it is then changed in all your projects by MIAInclude.
- - First create a "Blank Script" project. Enter the commands you wish to include in other projects in this script.
- Open your setup project.
- Add a "Code Folding Region" to your script.
- Name it "include c:\\includes\\script.mia" (replace c:\\includes\\script.mia with the actual path to your include script).
- Add another "Code Folding Region" to close the region.
- Run MIAInclude c:\\your\\setup.mia (make sure that InstallAware is closed).
http://www.camelot.co.at/files/dist/MIAInclude.zip
(requires .NET 1.1)
Let me know if you like it.
Sinan: is it possible to extend the InstallAware tools menu (registry key, etc.)?
DISCLAIMER: PLEASE MAKE BACKUPS! USE AT YOUR OWN RISK.