Skip to content

Installer events

Nine event names, feature: obs_core_plugin_installer, Windows only. All nine go through SendTrackingEvent (CI/obs-streamelements-installer/main.nsi:1299), so each carries the whole envelope plus the installer's own fields below.

Eight of the nine form an ordered funnel. The ninth, ..._abort, can replace any of them.

The installer funnel, and the abort that can replace any stage se_live_installer_start se_live_installer_show_user_agreement se_live_installer_show_select_target_folder se_live_installer_show_choose_components se_live_installer_show_install_progress se_live_installer_download_obs_studio conditional se_live_installer_show_install_finished se_live_installer_completed se_live_installer_abort source: user | network | local_machine
The dashed stage is conditional: the OBS download only runs when the component is selected. Closing the window at any point is an abort, not a silent exit — .onGUIEnd reports one unless the install already completed. The /AUTOSTART switch skips the three screens between start and show_install_progress, so their events never fire on that path.

The stages

event step curr_step_name fired from
se_live_installer_start 10 Welcome onShowWelcome, :1510 / :1519
se_live_installer_show_user_agreement 20 User Agreement onShowLicense, :1533
se_live_installer_show_select_target_folder 30 Select Target Folder onShowFolder, :1545
se_live_installer_show_choose_components 40 Choose Components onShowComponents, :1557
se_live_installer_show_install_progress 50 Install Progress onShowInstall, :1569
se_live_installer_download_obs_studio 50 Install Progress onBeginDownloadOBS, :1589
se_live_installer_show_install_finished 60 Install Finished onShowFinish, :1581
se_live_installer_completed 60 Install Finished FinishInstallation from .onInstSuccess, :1484

se_live_installer_download_obs_studio is the only one with no screen of its own: it fires from inside the OBS Studio section, which runs during step 50, and only when that component is selected.

Each stage fires at most once, and only going forward

Every screen handler is guarded by IntCmp $g_instCurrentScreenIndex <n> skip proceed skip — fire only when the stored index is less than this screen's. So navigating back and forward again does not re-fire anything, and the funnel counts distinct runs that reached a stage rather than screen impressions.

The same guard has a consequence for the other two fields: the stored index is the furthest screen reached, not the screen currently shown. After a Back, an abort reports curr_step_index 40 while the user is looking at screen 30.

/AUTOSTART skips three of them

With /AUTOSTART on the command line, onShowWelcome sends se_live_installer_start, sets auto_start to true, and jumps four pages forward. The user agreement, target folder and components events never fire, so an autostart run's funnel is start → show_install_progress → show_install_finished → completed. Filter on the auto_start field before reading a drop-off between steps 10 and 50.

Fields

On top of the four every producer sends:

field value
setup_version SETUP_VERSION at build time, beside plugin_version from PRODUCT_VERSION
prev_event_name the previous event this run sent — empty on the first
curr_step_index 10…60, or empty before any screen
curr_step_name the screen name from the table above
auto_start true with /AUTOSTART, otherwise empty, not false
installation_started true once step 50 has been reached, else false
obs_download_requested true / false, or empty before step 50
obs_download_requested_by forced_by_setup / user, or empty

prev_event_name is what makes the funnel readable without joining: each event names its predecessor within the same sessionId, so a drop-off is visible from a single row.

installation_started and the two obs_download_* fields are computed from the section flags at send time, and all three are empty before step 50 because the components screen is where the answer exists.

obs_download_requested_by says whether the machine already had OBS

The distinction is the section's read-only flag:

value means
forced_by_setup the component was selected and read-only, i.e. VerifyObsStudioInstalled found no OBS or one older than OBS_REQUIRE_VERSION
user the component was selectable and the user chose it anyway
false in obs_download_requested an acceptable OBS was already installed

So this pair, and not any plug-in event, is the only signal in the data for "how many SE.Live installs also had to install OBS".

On completion, two more

se_live_installer_completed appends:

field value
desktop_shortcut_requested true / false
start_obs_requested true / false

se_live_installer_abort

One name, three call sites, told apart by the source prop — and carrying the reason text in message:

source function message
user AbortByUserRequest, :1403 User cancelled installation
user User cancelled downloading <what> from <url>
network AbortByNetworkError, :1419 Failed downloading <what> from <url>
local_machine AbortByLocalError, :1435 User refused to close running OBS components
local_machine Failed installing OBS Studio
local_machine Another running instance of the installer was detected

Three things about this event are easy to get wrong:

Closing the window is an abort. .onGUIEnd calls onInstallationEnd, which aborts with User cancelled installation unless the run already completed. So abandonment is instrumented, and the abort count is not a count of errors.

source is not a reliable "was it our fault" split. User refused to close running OBS components is classified local_machine, although it is a user decision — the classification is the abort function that was called, not the agency behind it. Use message.

One abort fires before any screen exists. The second-instance guard runs in .onInit, after scienceInit but before the first page, so its abort has empty curr_step_index and curr_step_name, and an empty prev_event_name. It is the only event a run can send without having sent se_live_installer_start first.