Include Scripts folders
Include Scripts folders
Is there any option to organize scripts in project in folders? Currently I have more than 20 scripts and grouping some of them into folders could help a lot.
Re: Include Scripts folders
The way I do it works for me but I don't know if it's the ideal approach. For example:
I created a new project and saved it. Inside the project's disk folder I created a new sub-folder with the Windows Explorer called, for example, MyScripts.
Select the Project tab in the IDE and select the Include Scripts node. Right-click and select the Create New Script. Select the folder name you just created (MyScripts) and enter a name for the new script file, for example Test123 and click the Save button. That will create a blank script file called MyScripts\Test123.mia.
Repeat for as many script files as you want to create and create new folders if you want to. After you've done that, exit from the IDE. Copy over the actual scripts files containing your code overwriting the mia files of the same name.
Open the project in the IDE. Select the Include Scripts node again. You should see all your script files that you've created. If you double-click on them you'll see your code. Select a line in any script file and include a script using the Include Script MSIcode statement and select the script file from the dropdown.
That's how I do things. A little long-winded perhaps but it's how I've done it in the past. I hope this helps you.
I created a new project and saved it. Inside the project's disk folder I created a new sub-folder with the Windows Explorer called, for example, MyScripts.
Select the Project tab in the IDE and select the Include Scripts node. Right-click and select the Create New Script. Select the folder name you just created (MyScripts) and enter a name for the new script file, for example Test123 and click the Save button. That will create a blank script file called MyScripts\Test123.mia.
Repeat for as many script files as you want to create and create new folders if you want to. After you've done that, exit from the IDE. Copy over the actual scripts files containing your code overwriting the mia files of the same name.
Open the project in the IDE. Select the Include Scripts node again. You should see all your script files that you've created. If you double-click on them you'll see your code. Select a line in any script file and include a script using the Include Script MSIcode statement and select the script file from the dropdown.
That's how I do things. A little long-winded perhaps but it's how I've done it in the past. I hope this helps you.
Peter. Smartly dressed, he still resembles an unmade bed.
InstallAware MVP
InstallAware MVP
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Include Scripts folders
Instead I always use a separate folder to store all my custom scripts and when I need to use one of them, I just "Add the Existing Script" into the project.
Of course, this works for me and may not work for others.
Of course, this works for me and may not work for others.
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
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
Who is online
Users browsing this forum: No registered users and 151 guests