What is the RUL file format?
A .rul file is an InstallScript source file used by InstallShield, the Windows installer authoring tool published by Flexera Software. The default filename for an InstallShield project's script is Setup.rul.
InstallScript is a C-like scripting language purpose-built for software deployment. A .rul file contains preprocessor directives (#include, #define), event-handler functions (OnBegin, OnMoveData, OnEnd), string constants, and calls to InstallShield's built-in function library for tasks such as copying files, modifying registry entries, and rendering setup UI dialogs. The syntax closely resembles C but targets the InstallShield runtime.
During the build process, the InstallShield IDE compiles Setup.rul into a binary .inx file (compiled InstallScript) that is packaged into the final setup executable. End users never encounter .rul directly; it is strictly a developer artifact maintained alongside the InstallShield project file (.ism).
InstallShield debuted in 1993; Flexera Software acquired the product in 2004. InstallShield 2023 continues to support InstallScript projects, though MSI-only and WiX-based projects skip .rul entirely. Because .rul files are plain text, any editor can open them for inspection; Notepad++ and Visual Studio Code offer useful syntax highlighting with community extensions.
Security & safety
RISK: LOWPlain text script file; cannot execute on its own. Only becomes active when compiled by InstallShield and packaged into an installer. Inspect with any text editor to audit installer behavior during security reviews.
Format details
in a nutshell- Design Rule File (PCB / EDA) - Used by various PCB and EDA tools (e.g., Cadence) to store design constraint rules; binary or proprietary text format, unrelated to InstallShield.
- MySQL Rule File - MySQL Workbench uses .rul for validation rules; plain text, unrelated to InstallShield.
- Oracle Essbase Rule File - Essbase data load rules stored as .rul; binary proprietary format used by Oracle Essbase OLAP server.
Programs that open RUL files
Technical details
deep spec| Format type | Plain text C-like script (InstallScript source) |
| Encoding | Windows-1252 / ASCII (UTF-8 in newer InstallShield versions) |
| Default filename | Setup.rul |
| Compiled output | Binary .inx file (compiled InstallScript), produced by InstallShield IDE |
| Project pairing | Accompanies InstallShield .ism project file |
| Key language constructs | #include, #define preprocessor directives; OnBegin, OnMoveData, OnEnd event handlers |
| Typical size | 1 KB - 500 KB (most installers: 10-100 KB) |
| Developer | Flexera Software (formerly InstallShield Software Corporation) |
| Associated OS | Windows |
| Script runtime | InstallShield engine (not a general-purpose compiler runtime) |
| MIME type | text/plain |
| End-user visibility | Never exposed to end users; .rul is compiled before distribution |
| Released | 1993 (InstallShield 1.x) |
| Latest version | InstallShield 2023 / InstallScript 2023 |
| Specification | docs.revenera.com |
Community Q&A
asked by usersNo questions yet - be the first to ask about RUL files.