Include Script Preprocessor

Interested in developing new plug-ins? Got one to share? Post here!
zchris
Posts: 92
Joined: Wed Feb 23, 2005 3:16 am
Location: Austria

Include Script Preprocessor

Postby zchris » Thu Sep 15, 2005 7:40 am

Instead of editing 10 of my setups by hand I've decided to write an include script preprocessor.

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.
How to use:

    - 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).
You can download the beta with a short sample project and two includes from
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.

sinan
Site Admin
Posts: 1020
Joined: Sat Nov 13, 2004 8:12 am
Contact:

Postby sinan » Thu Sep 15, 2005 8:38 am

This is a great plug-in! Thanks a lot!
The IDE is not currently extensible, added to the suggestions list :)

sinan
Site Admin
Posts: 1020
Joined: Sat Nov 13, 2004 8:12 am
Contact:

Postby sinan » Mon Sep 19, 2005 4:02 pm

File has been mirrored at http://www.installaware.com/MIAInclude.zip .


Return to “Plug-In Development”

Who is online

Users browsing this forum: No registered users and 31 guests