Navigation:  Click-Script Guide > Actions Libraries >

Creating Actions Libraries

Previous pageReturn to chapter overviewNext page

You can create and distribute your own Actions' Libraries.

 

First you must to create the set of actions you want to include in your Actions Library, that can be Custom Actions and DLL Actions.
Open the Actions' Libraries dialog, select Actions > Actions' Libraries.
Select Create button to start the Actions' Library Wizard.

 

 

Actions' Library Wizard

 

Action's Library Wizard will guide you to generate your actions' library.

Step 1: type all fields of wizard, using your own information.
Step 2: select the actions you want to include in the actions' library, if you select a DLL action that calls a function in a DLL located in the temporary directory (%TempSetupDir%), the DLL file will be embedded in the Actions' Library. Read Embedded DLL Actions for more information about it.
Step 3: select the actions you want to be hidden. There are some actions that are just used internally in the custom actions that you want to publish. For example, the example of the Get Environment Variable DLL Action does not work without using additional click-script actions for allocating and releasing the string buffer. So, it is not interesting for you to do all this process every time you want to read an environment variable. The solution is to create a custom action, that allocates, reads and release the string, include both the DLL Action and the Custom Action in an Actions' Library and select the DLL Action as an hidden action, so you will allow the user to include only the useful actions in the events.