Hi,
Unfortunately we don't have tutorials for creating VBScript files. However, the basic principles are:
1) It is recommended to place the code in functions. For example:
Code: Select all
Function MyFunc()
'code
End Function
2) The VBS file can be added as a New Attached Custom Action. If it needs access to installer properties, the custom action should be
Immediate.
3) If the code uses a function, you can set it the "Function Name" field from the "Custom Action Properties" page (without the parentheses). For example:
4) If the code doesn't use a function, the "Function Name" field should be empty.
If you followed these guidelines and the problem persists, please send us the AIP and VBS files to
support at advancedinstaller dot com so we can investigate them.
Regards,
Cosmin