.RUL

RUL File

InstallShield Rule / InstallScript File
Ask a question
QUICK ANSWER

A .rul file is an InstallScript source file created by InstallShield (Flexera Software). It contains C-like code that controls installer behavior - file copying, registry edits, and wizard UI. Open it with any text editor to read it, or with the InstallShield IDE to compile and run it. End users do not normally encounter .rul files; they appear only in software development projects.

Developer: Flexera Software (formerly InstallShield Software Corporation) Category: Developer Files MIME: text/plain
OPENS ON Windows
Related: .DO · .MD · .HEX · .XSD

On this page

19k+ extensions indexed
Last reviewed Jun 17, 2026

Not sure what your file is?

Drop any file into our identifier - we read just the first bytes to name the format.

Identify a file

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: LOW

Plain 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
FULL NAMEInstallShield Rule / InstallScript Fileaka InstallScript file, Setup.rul
DEVELOPERFlexera Software (formerly InstallShield Software Corporation)since 1993 (InstallShield 1.x)
MIME TYPEtext/plain
TYPEplain text script (C-like language)
This extension is also used by…
  • 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

Windows3 apps
NotePad++ text editor Open-source Open directly; use C syntax highlighting for readability.
InstallShield (Flexera) Paid Open the .ism project in InstallShield IDE; the Script Editor shows Setup.rul automatically.
Visual Studio Code Open-source Open directly as plain text; C-family syntax highlighting applies.

Technical details

deep spec
Format typePlain text C-like script (InstallScript source)
EncodingWindows-1252 / ASCII (UTF-8 in newer InstallShield versions)
Default filenameSetup.rul
Compiled outputBinary .inx file (compiled InstallScript), produced by InstallShield IDE
Project pairingAccompanies InstallShield .ism project file
Key language constructs#include, #define preprocessor directives; OnBegin, OnMoveData, OnEnd event handlers
Typical size1 KB - 500 KB (most installers: 10-100 KB)
DeveloperFlexera Software (formerly InstallShield Software Corporation)
Associated OSWindows
Script runtimeInstallShield engine (not a general-purpose compiler runtime)
MIME typetext/plain
End-user visibilityNever exposed to end users; .rul is compiled before distribution
Released1993 (InstallShield 1.x)
Latest versionInstallShield 2023 / InstallScript 2023
Specificationdocs.revenera.com

Community Q&A

asked by users
Ask a quick question
Get help from people who work with RUL files. Be specific - include your system and software version.
No account needed · answers usually within a day

No questions yet - be the first to ask about RUL files.

Frequently asked questions

What program opens a .rul file?
Any text editor (Notepad++, VS Code) can read it. To compile and run it, you need InstallShield by Flexera Software.
What is Setup.rul?
The default name for the main InstallScript file in an InstallShield project. It controls the installer's behavior - UI flow, file copying, registry edits, etc.
Can I convert a .rul file to something else?
No meaningful conversion exists. The .rul source compiles to a binary .inx within InstallShield; outside that tool it is just a text file.
Is a .rul file dangerous?
Not by itself - it is plain text. Only the compiled installer produced from it could be harmful.
Why does TurboTax appear associated with .rul files?
Intuit used InstallShield to build TurboTax installers, which included Setup.rul scripts. TurboTax itself has no ability to open .rul files.

References

1Revenera - InstallShield InstallScript documentationdocs.revenera.com
2GitHub - Sample InstallShield Setup.rulgithub.com

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.CRDOWNLOADChrome Partial Download File
3.DATProgram Data File (generic)
4.JPGJPEG Image
5.EXEWindows Executable (Portable Executable)
6.RPMSGRestricted Permission Message
7.PARTPartial Download File
8.JSONJavaScript Object Notation file
9.BINCD/DVD Disc Image (BIN/CUE)
10.ICSiCalendar data file

Related extensions

.DOStata Do-File
.MDMarkdown Document
.HEXIntel HEX File
.XSDXML Schema Definition
.MAPSource Map (JavaScript / CSS)
.CONFIGConfiguration File

Free file tools

An in-browser file identifier and image converter - everything runs on your device.

Open the toolbox

Browse file extensions A-Z