How to add new script to be included in main?

Got a problem you cannot solve? Try here.
Post Reply
digibum
Posts: 4
Joined: Fri Feb 10, 2017 3:29 am

How to add new script to be included in main?

Post by digibum »

How would I add a new script that would be included from main script?
I would like to break my large main script to more smaller ones for easy management.

Thank you.
Using IA X11 Developer
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: How to add new script to be included in main?

Post by FrancescoT »

Sure you can.

From IA IDE, switch to MSICode view, right click the "Include Scripts" node in the left tree pane, and then "Create New script". This will add a new Blank Script File to your Project.
Create_new_script.png
Create_new_script.png (97.07 KiB) Viewed 3453 times
Finally, use the "Include Script" command to invoke your new script from your main setup script.
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
digibum
Posts: 4
Joined: Fri Feb 10, 2017 3:29 am

Re: How to add new script to be included in main?

Post by digibum »

Awesome, thank you!
Post Reply