[wix-users] Windows Update

Phil Wilson phil.wilson at mvps.org
Mon May 23 10:43:06 PDT 2016


There is a Windows Update API - this shows an example of searching for a
specific update and downloading/installing it: 

https://msdn.microsoft.com/en-us/library/windows/desktop/aa387101(v=vs.85).a
spx


Phil W  

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of
Phill Hogland
Sent: Monday, May 23, 2016 8:01 AM
To: 'wix-users at lists.wixtoolset.org'
Subject: Re: [wix-users] Windows Update

I think that you need to determine if the update is available as a
redistributable, the type of redistributable (exe, msu, etc.), and how the
vendor advises you to detect if the update is already installed.  From there
you would typically use ExePackage or MsuPackage and configure the
DetectCondition and/or the InstallCondition as documented in the chm (or you
could implement custom detect logic/plan logic in the mba, but often the
standard approach is sufficient).
________________________________________
From: wix-users <wix-users-bounces at lists.wixtoolset.org> on behalf of
Parkes, Kevin <Kevin.Parkes at wacom.eu>
Sent: Monday, May 23, 2016 9:49:06 AM
To: 'wix-users at lists.wixtoolset.org'
Subject: [wix-users] Windows Update

We have determined that an application we are installing requires a certain
Windows security update. Clearly you would hope users regularly run Windows
Update and keep their systems up-to-date but, just in case, is it possible
for an installer (MBA) to:

a)       determine if the update has been installed

b)      if not, download and install it?
(and, obviously, how do I do that?:-))

Thanks

____________________________________________________________________
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