View Single Post
Old 18th April 2018, 11:04   #1
Junior Member
Join Date: Apr 2018
Posts: 2
Enable MSI logging when executing an MSI file.

I am launching an MSI installer from NSIS with the following command:

ExecWait 'msiexec /i "$INSTDIR\MSI_Installer.msi" '

This works fine but I would like to turn on MSI logging when executing the installer. I have tried to put the /l option in various places in the command line with and without quotes and can't seem to get it to work. The installer fails to launch and either displays a dialog showing MSI parameters or it says that the installation package cannot be opened.

Is it possible to enable logging via NSIS when executing the ExecWait command? If so, what is the correct syntax?
spcmicro is offline   Reply With Quote