A simple Go utility to standardize silent installations for .msi
and .exe
installers. Automatically adds appropriate silent and logging parameters and prints the install log to the console.
If you do not want to build from source, download the latest release from GitHub:
Place unify.exe
in the same folder as your installer or add it to your system PATH.
-
Install Go.
-
Clone this repository.
-
Build the executable:
go build -o unify.exe
unify.exe "<installer-path>" [params...]
- Do not quote multiple parameters together.
- For
.msi
files,/qn /l*v install.log
are added by default unless overridden. - For
.exe
files,/S
is added by default unless overridden.
Install an MSI silently with no restart and custom directory:
unify.exe "C:\path\to\installer.msi" /norestart INSTALLDIR="C:\custom\dir"
Install an EXE silently with no restart and custom directory:
unify.exe "C:\path\to\installer.exe" /norestart /D=C:\custom\dir
You can call unify.exe
from a PowerShell script in your Intune Win32 package:
Start-Process -FilePath ".\unify.exe" -ArgumentList "C:\Path\To\Installer.msi", '/norestart', 'INSTALLDIR="C:\Program Files\MyApp"' -Wait -NoNewWindow
Or for an EXE installer:
Start-Process -FilePath ".\unify.exe" -ArgumentList "C:\Path\To\Installer.exe", '/norestart', '/D=C:\Program Files\MyApp' -Wait -NoNewWindow
Tip: Place unify.exe
and your installer in the same folder, or provide the full path to each.