Introduction
Packages in CapaInstaller have always been built on VBScript, but since the PowerShell scripting language is taking over the way most IT professionals manage task automation, it is now possible to build packages in CapaInstaller, using PowerShell.
Editing scripts
When editing installation scripts for VBScript based packages, the default editor is launched with the full path of the script, which is located inside the Package in the Scripts folder., like this;
For PowerPacks, however, the installation scripts are located in the SQL database (in the JOB table), and when you Right click on a PowerPack and then select ‘Edit installation script’, the script is saved in a temporary folder, and the PowerPack Editor is then launched with the temporary script.
The Ci Console will monitor the file, at track any changes when you save them. To make sure that the changes made were deliberate, the Change log dialog is shown to let you add a reason for the edit.
When you click Ok, the script is saved to the database.
Having the installation scrips in the database offers the ability to edit the scripts and install the package without starting an ‘Update Now’ synchronization action to other containers.