[wix-users] Identify Silent Install Completion

Colin Dawson (Astronutter) c.j.dawson76 at gmail.com
Wed Apr 25 03:21:45 PDT 2018


My first thought would be to check if msiexec sets an error code when the process exits.   That’s the most obvious starting point.

Convention is 0 is success, anything else is something went wrong - but check documentation for exact meaning

Colin

Sent from my iPhone

> On 25 Apr 2018, at 08:29, Ven H via wix-users <wix-users at lists.wixtoolset.org> wrote:
> 
> If I execute silent installation of MSI using the command *msiexec /qn /i
> <MSI> /l*vs MSILog.log* from the command line or powershell, I am not sure
> how to understand it is completed or not. Currently, I keep refreshing to
> check if the log file size has changed from 0 to a considerable size. Is
> there a better way to identify if silent installation completed or not
> (both manually & programmatically)? Please help.
> 
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/


More information about the wix-users mailing list