Hello,
In this case, you can add the script file as a
Temporary Files. Please note that the temporary files are copied during the
CostFinalize standard action, at the beginning of the setup and removed during the
InstallFinalize standard action.
The standard actions used by Advanced Installer can be revealed using the
Show Standard Action button on the toolbar of the
Custom Actions page.
By the way, you can use the predefined
Execute inline script code custom action. In the
Script Text section you can edit this field with the body of the script. You can also take a look on the
How do I set an installer property using custom actions? article which may be useful to you.
Should there be any difficulty you encounter implementing something, please do not hesitate to contact me and I will gladly assist.
Best regards,
Dan