Skip to content
GSplit

Installer exit codes

For system administrators and package managers.

This page applies to the GSplit 4 installer gsplits.exe and to the self-extracting portable package gsppsfx.exe. When either program ends, it returns an exit code to the program that started it: a script, a deployment tool such as Intune or SCCM, winget, Chocolatey or the Microsoft Store.

ValueMeaning
0Success: GSplit was installed (or extracted).
1Error while decompressing the files.
2Cancelled by the user.
3Unexpected error: fatal Windows error (rare).
-1The temporary folder could not be created (initialization error).
-2The runtime DLL could not be created (initialization error).
-3Corrupted data detected: the downloaded file is damaged or incomplete. Download it again.

Any value other than 0 means GSplit was not installed. The installer never asks for a restart.

SwitchEffect
/sSilent installation: no window, no question.
/PBSCOPE=0Installs for the current user only. No administrator rights needed.
/PBSCOPE=1Installs for all users of the computer. Requires administrator rights.
Terminal window
gsplits.exe /s /PBSCOPE=0

In PowerShell, read the exit code like this:

Terminal window
$setup = Start-Process -FilePath '.\gsplits.exe' -ArgumentList '/s', '/PBSCOPE=0' -Wait -PassThru
if ($setup.ExitCode -ne 0) { Write-Error "GSplit setup failed with exit code $($setup.ExitCode)" }

GSplit 4 appears as GSplit 4 in the installed apps list of Windows. To remove it silently, run Uninst.exe /s from the GSplit installation folder. The uninstaller starts a copy of itself and returns at once; the files and registry entries are removed a few seconds later.

Back to top

Screenshot