[wix-users] Identify Silent Install Completion

Edwin Castro egcastr at gmail.com
Wed Apr 25 09:25:57 PDT 2018


In PowerShell, "start" is an alias for Start-Process. The "start"
referenced by Mark is a built-in for cmd.exe. If you need to use it from
PowerShell, then you need to do something like:

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

--
Edwin G. Castro


On Wed, Apr 25, 2018 at 4:41 AM, Ven H via wix-users <
wix-users at lists.wixtoolset.org> wrote:

> 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>
> 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> 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>
> > Cc: Ven H <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/
> >
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>


More information about the wix-users mailing list