I would appreciate any advice on how to understand or resolve the following
problem.

I implemented a mba, and using the Wix (3.8) source (src\Setup) as a guide
to use the Update functionality.  This functionality has been working in
several bundles (projects) which I have developed over the last several
months, both in regard to 'updating' to a newer bundle, and in regard to
downloading the Exe/Msi packages, if they are not local.  Last week I moved
the projects from the web server I was using to develop the projects to a
new hosting service which is running Apache.  I no longer have direct access
to web server configuration.

When I run an 'up to date' bundle (without any local packages) the bundle
successfully downloads the atom feed, determines that the bundle is 'up to
date', and after prompting, proceeds to download the packages, completing a
successful installation.  The problem is observed when I stage a newer
bundle to the web server.  On a clean system, with only the 'out of date'
bundle, the fact that an update is available is detected.  However the
bundle update fails with following errors.  (I added log messages to the
ResolveSource event handler to try and get more information.)

[0394:0920][2014-07-04T16:42:38]i000: ResolveSource started
[0394:0920][2014-07-04T16:42:38]i000: ResolveSource LocalSource:
D:\project\update\project.exe
[0394:0920][2014-07-04T16:42:38]i000: ResolveSource DownloadSource:
http://www.company.com/someFolder/project/v9.0/release/project.exe
[0394:0920][2014-07-04T16:42:38]i000: ResolveSource PackageOrContainerId:
{1fdb259f-restOfGuid}
[0394:0920][2014-07-04T16:42:38]i000: ResolveSource PayloadId:
{1fdb259f-restOfGuid}
[0394:0920][2014-07-04T16:42:38]e000: Error 0x80070490: UX requested unknown
payload with id: {1fdb259f-restOfGuid}
[0394:0920][2014-07-04T16:42:38]e054: Failed to resolve source for file:
D:\project\update\project.exe, error: 0x80070002.
[0394:0920][2014-07-04T16:42:38]e000: Error 0x80070002: Failed while
prompting for source (original path 'D:\project\update\project.exe').
[0394:0920][2014-07-04T16:42:38]e313: Failed to acquire payload:
{1fdb259f-restOfGuid} to working path:
C:\Users\somebody\AppData\Local\Temp\{1fdb259f-restOfGuid}\{1fdb259f-restOfGuid},
error: 0x80070002.
[0394:0B18][2014-07-04T16:42:38]e000: Error 0x80070002: Cache thread exited
unexpectedly.

The above log was collected on a Win 8 x64 target.  The Wix Tools are
3.8.1128.

In Chrome, when I put the URI to the atom feed into the
validator.w3.org/feed site, it reports:
"It looks like this is a web page, not a feed. I looked for a feed
associated with this page, but couldn't find one. Please enter the address
of your feed to validate."

So the first burn error indicates that the package Id was missing and the
w3.org error indicates that the atom is not being served as a feed.

Here is my atom.

<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom";
xmlns:as="http://appsyndication.org/2006/appsyn";>
  <title type="text">Project Suite v9.0</title>
  <as:application
type="application/vnd.ms-msi">BABA82C4-aGUID</as:application>
  <updated>2014-07-05T13:36:27Z</updated>
  <id>http://www.comapny.com/someFolder/project/v9.0/feed/index.html</id>
  <link rel="self" type="application/atom+xml"
href="http://www.company.com/someFolder/project/v9.0/feed/index.html"/>
  <entry>
    <title>Project Suite v9.0.21.0</title>
    <author>
      <name>Mr Support</name>
      supportem...@comapny.com
    </author>
    <link rel="alternate"
href="http://www.company.com/someFolder/project/v9.0/release"/>
    <link rel="enclosure"
href="http://www.comapny.com/someFolder/project/v9.0/release/bundle.exe";
length="1527016" type="application/exe"/>
    <content type="html">stuff that was changed:</content>
    <application xmlns="http://appsyndication.org/2006/appsyn";
type="application/exe">975AEB44-aGuid</application>
    <version
xmlns="http://appsyndication.org/2006/appsyn";>9.0.21.0</version>
  <updated>2014-07-05T13:36:27Z</updated>
  </entry>
</feed>

I have done a lot of experiments and tried to debug the code but I am not
sure if this is an Apache server configuration issue or if the problem is in
my code some where.  I have always been a little confused as to the purpose
of the two GUIDs in the atom.  I have also been using Fiddler but did not
find the issue yet.  I did learn that the Apache server would not serve the
feed unless I provided the file name of the feed, and then it serves it very
fast (which is nice).

Also if I change the extension on the atom file to .atom, then the server
returns 404 even when the URI has the name of the atom file.

Any assistance in understanding this issue (or how to collect better
information) would be appreciated. 
Thanks, Phill



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/appsyndication-feed-served-as-html-not-a-feed-tp7595661.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
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