Welcome to Symantec Connect.  Log in or register to participate.
Login to participate
Endpoint Management & Virtualization ArticlesRSS

Adding Custom Action VBScript to MSI in WPS 7.x

CaseyE's picture

The following is a step-by-step demonstration how to add a Custom Action VBScript to an MSI in Wise Package Studio.

Step 1:

In Wise Package Studio, go to the MSI Script tab.

Step 2:

Choose either Execute Immediate or Execute Deferred depending on where you want to put your custom action.

Step 3:

Click on "Call VBScript From Embedded Code" from the left Actions Menu. Then copy your VBScript code into the box and give your Custom Action a name such as "MyVBS" Click on "OK"

Step 4:

Put an End Statement underneath your Custom Action line. Compile MSI and test your new Custom Action.

MaggieH's picture

Also keep in mind that

Also keep in mind that there is a limit of 255 characters for Embedded VBscripts.

In WPS select the Tables tab in Setup Editor.
In the right pane, right click anywhere and select"
- Column Info.

A extra row is added with the String information.

~Maggie