#7333

MariaK
Participant

Use a Batch-Script for installing EmEditor automatically. Example:

@echo off
cls

:: Path to MSI-File
set msidir=C:Downloads

:: Path to EmEditor
set appdir=C:EmEditor

for /f "tokens=4" \%\%i in ('"dir \%msidir\%emed*.msi | findstr /i "msi""') do set msifile=\%\%i

msiexec /a \%msidir\%\%msifile\% /qn targetdir=\%appdir\%

set msidir=
set msifile=
set appdir=