Skip to main content

VBS / JScript Editor

The VBS / JScript Editor lets you write and test scripts inside an MSI without leaving Master Packager. Use it when you need scripted custom actions or embedded script resources.

Where to access it

  • Binary table ? Store and edit embedded script files.
  • CustomAction table ? Create and maintain scripted custom actions.

When to use it

Use this editor when you need to:

  • Write custom logic for installation, configuration, or cleanup.
  • Test scripts without switching to another tool.
  • Embed scripts in MSI tables for custom actions.
  • Avoid maintaining separate script files.

How to use it

  1. Open your MSI or MST file in Master Packager.
  2. Go to the Binary table or CustomAction table, depending on where you want to store the script.
  3. Create a new script or edit an existing one.
  4. Choose a scripting language:
    • VBScript (VBS)
    • JScript
  5. Write the script in the editor.
  6. Use the built-in test feature to run the script and verify its behavior before saving.
  7. Save the script to embed it in the package.

Master Packager - VBS / JScript Editor

tip

Test scripts carefully. Errors in custom scripts can cause MSI installations to fail.