3.9.

It uses the atom feed with the existing extensions defined by WiX (but the spec 
hasn't been released) to locate the updates, and the Update element of the 
bundle to identify the feed.  If Update/@Location is specified, the engine will 
now try to parse it if OnDetectUpdateBegin returns IDOK. It will then call 
OnDetectUpdate for each update enclosure found in the feed, to allow the BA to 
decide if the item is an update or not.

You can see my slightly out of date changes to WixStdBA on 
https://github.com/jchoover/wix3/tree/WIXFEAT4190-WixStdBAChanges.

As for the application invoking the update check, I created a light weight 
WixUtil DLL that simply calls the butil  methods

extern "C" HRESULT DAPI BundleGetBundleInfo(
  __in LPCWSTR wzBundleId,
  __in LPCWSTR wzAttribute,
  __out_ecount_opt(*pcchValueBuf) LPWSTR lpValueBuf,
  __inout_opt LPDWORD pcchValueBuf
  )

And

HRESULT DAPI BundleEnumRelatedBundle(
  __in LPCWSTR wzUpgradeCode,
  __in BUNDLE_INSTALL_CONTEXT context,
  __inout PDWORD pdwStartIndex,
  __out_ecount(MAX_GUID_CHARS+1) LPWSTR lpBundleIdBuf
    )

To find the bundle by bundle upgrade code and then invokes the bundle with a BA 
defined checkupdate parameter.

-----Original Message-----
From: Sean Farrow [mailto:sean.far...@seanfarrow.co.uk] 
Sent: Thursday, June 26, 2014 6:12 AM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] Quick WiX/Dutil query

Hi Jacob,

What branch is this in, 3.90 or 4?
Kind regards
Sean.

-----Original Message-----
From: Hoover, Jacob [mailto:jacob.hoo...@greenheck.com]
Sent: 25 June 2014 20:14
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] Quick WiX/Dutil query

Another option would be to utilize the new functionality of self-updating 
bundles (If you only use a MSI and no bundle, this won't be of use).  The core 
pull request has been accepted, but WixSDTBA change won't happen in the 3.9 
release. If you have a managed BA, it should be relatively trivial to implement 
the update checks. I provided a butil API for finding your installed bundle, 
which allows you to then easily invoke a bundle update check from within your 
installed application (async / out of process).


-----Original Message-----
From: Sean Farrow [mailto:sean.far...@seanfarrow.co.uk]
Sent: Wednesday, June 25, 2014 12:29 PM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] Quick WiX/Dutil query

Hi,

Are there any classes around this? P/Invoke is fine if I need to use that.
Cheers
Sean.


-----Original Message-----
From: Phil Wilson [mailto:phildgwil...@gmail.com]
Sent: 25 June 2014 18:21
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] Quick WiX/Dutil query

There's a perfectly good Win32 API you can P/Invoke, MsiInstallProduct(), it's 
cleaner than firing off a process, waiting, checking exit codes and other 
associated process management tasks.
---------------
Phil Wilson


On Wed, Jun 25, 2014 at 1:56 AM, Sean Farrow <sean.far...@seanfarrow.co.uk> 
wrote:
> Hi All,
>
> I'm currently writing an extension to an application in c# that allows a user 
> to automatically update the application concerned.
>
> Before I call msiexec using the .net Process class, I'm wondering whether 
> Dutil or WiX have any classes for doing this?
> Help appreciated as always.
> Kind regards
> Sean.
> ----------------------------------------------------------------------
> -------- Open source business process management suite built on Java 
> and Eclipse Turn processes into business applications with Bonita BPM 
> Community Edition Quickly connect people, data, and systems into 
> organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards 
> http://p.sf.net/sfu/Bonitasoft 
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse Turn 
processes into business applications with Bonita BPM Community Edition Quickly 
connect people, data, and systems into organized workflows Winner of BOSSIE, 
CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft 
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse Turn 
processes into business applications with Bonita BPM Community Edition Quickly 
connect people, data, and systems into organized workflows Winner of BOSSIE, 
CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft 
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse Turn 
processes into business applications with Bonita BPM Community Edition Quickly 
connect people, data, and systems into organized workflows Winner of BOSSIE, 
CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft 
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse Turn 
processes into business applications with Bonita BPM Community Edition Quickly 
connect people, data, and systems into organized workflows Winner of BOSSIE, 
CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft 
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to