Include Script w/path

Got a problem you cannot solve? Try here.
dgiles123
Posts: 1
Joined: Wed Jan 13, 2016 4:53 pm

Include Script w/path

Postby dgiles123 » Wed Jan 13, 2016 4:58 pm

Is there anyway to dynamically include a script at compile time.

We have multiple scripts for different install kits that need to be included

ie. Include Script "c://script//#company#//#project#//appsettings.mia"

something like that.

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Include Script w/path

Postby FrancescoT » Thu Jan 14, 2016 11:49 am

Dear dgiles123,

you may use the following approach;

Code: Select all

[compiler if Variable MYCOMPILER_VAR Equals SOMETHING]
Include Script: myscript.mia
[compiler end]

Anyway, with the "Include Script" statement you can only select a script which has been previously added to your project ("Include Script" node within the left tree pane of the MSICode view). Due of this, you cannot enter any path in the Include Script command.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 149 guests