[wix-users] Identify Silent Install Completion

Mark Itzcovitz Mark.Itzcovitz at ingenta.com
Wed Apr 25 04:48:23 PDT 2018


“start” is a command line thing, not a PowerShell thing. I’m sure there must be a (more complicated) way of doing it in PowerShell, but I can’t help you with that.

From: Ven H <venh.123 at gmail.com>
Sent: 25 April 2018 12:42
To: Mark Itzcovitz <Mark.Itzcovitz at ingenta.com>
Cc: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] Identify Silent Install Completion

Thank you Mark. But when I execute the above command from PowerShell, I get an error that "A positional parameter cannot be found that accepts an argument '/qn'". Not sure what I am doing wrong.

Regards,
Venkatesh

On Wed, Apr 25, 2018 at 4:39 PM, Mark Itzcovitz <Mark.Itzcovitz at ingenta.com<mailto:Mark.Itzcovitz at ingenta.com>> wrote:
https://blogs.msdn.microsoft.com/heaths/2005/11/15/waiting-for-msiexec-exe-to-finish/

start /wait msiexec.exe /qn /i <MSI> /l*vs MSILog.log

-----Original Message-----
From: wix-users <wix-users-bounces at lists.wixtoolset.org<mailto:wix-users-bounces at lists.wixtoolset.org>> On Behalf Of Ven H via wix-users
Sent: 25 April 2018 08:30
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org<mailto:wix-users at lists.wixtoolset.org>>
Cc: Ven H <venh.123 at gmail.com<mailto:venh.123 at gmail.com>>
Subject: [wix-users] Identify Silent Install Completion

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