Using WiX Burn v3.7.1224, I failed acquiring a remote payload through ExePackage. I usually succeed with similar ExePackage elements so I suppose the problem may be related to the specific URL I'm trying to download.
This specific "exe URL" is http://tesseract-ocr.googlecode.com/files/tesseract-ocr-setup-3.02.02.exe
To be precise: the interactive page is at http://code.google.com/p/tesseract-ocr/downloads/detail?name=tesseract-ocr-setup-3.02.02.exe and clicking there on the download anchor "seems" to result in the direct "exe URL" listed above. I say "seems" because I had to dive into the page source code to find out the final "exe URL", and this may be a problem.
Here is the WiX fragment of interest:
<Fragment>
<util:RegistrySearch Id="TesseractLookup"
Variable="TESSERACT_REGVALUE"
Root="HKLM"
Key="SOFTWARE\Tesseract-OCR"
Value="CurrentVersion" />
<PackageGroup Id="Tesseract">
<ExePackage Compressed="no"
PerMachine="yes"
Permanent="yes"
Vital="yes"
Name="redist\tesseract-ocr-setup-3.02.02.exe"
InstallCondition="NOT TESSERACT_REGVALUE"
DetectCondition="TESSERACT_REGVALUE"
DownloadUrl="http://tesseract-ocr.googlecode.com/files/tesseract-ocr-setup-3.02.02.exe">
<RemotePayload Description="Tesseract-OCR - open source OCR engine"
Hash="35C61604AAAC961C24CD28F959566B2E39244541"
ProductName="Tesseract-OCR"
Size="13525781"
Version="3.02.02.0" />
</ExePackage>
</PackageGroup>
</Fragment>
I succeeded with the browsers I tried (Firefox and Internet Explorer) and with a basic "wget" command as well, in a matter of seconds. But failed with Burn. All were provided with the same "exe URL". I even tried with disabled firewall and anti-virus softwares just in case, but to no avail.
Do you have any hint about what might be happening?
Here are the relevant lines from the install log:
[27F8:1FE8][2013-03-07T08:36:46]w343: Prompt for source of package: tesseract_ocr_setup_3.02.02.exe, payload: tesseract_ocr_setup_3.02.02.exe, path: D:\soft\audiveris\dist\redist\tesseract-ocr-setup-3.02.02.exe
[27F8:1FE8][2013-03-07T08:36:46]i338: Acquiring package: tesseract_ocr_setup_3.02.02.exe, payload: tesseract_ocr_setup_3.02.02.exe, download from: http://tesseract-ocr.googlecode.com/files/tesseract-ocr-setup-3.02.02.exe
[27F8:1FE8][2013-03-07T08:36:47]e000: Error 0x80070002: Failed to send request to URL: http://tesseract-ocr.googlecode.com/files/tesseract-ocr-setup-3.02.02.exe
[27F8:1FE8][2013-03-07T08:36:47]e000: Error 0x80070002: Failed to connect to URL: http://tesseract-ocr.googlecode.com/files/tesseract-ocr-setup-3.02.02.exe
[27F8:1FE8][2013-03-07T08:36:47]e000: Error 0x80070002: Failed to get size and time for URL: http://tesseract-ocr.googlecode.com/files/tesseract-ocr-setup-3.02.02.exe
[27F8:1FE8][2013-03-07T08:36:47]e000: Error 0x80070002: Failed attempt to download URL: 'http://tesseract-ocr.googlecode.com/files/tesseract-ocr-setup-3.02.02.exe' to: 'C:\Users\herve\AppData\Local\Temp\{7715fbb6-5bc5-442f-86a0-655fa082bd7d}\tesseract_ocr_setup_3.02.02.exe'
[27F8:1FE8][2013-03-07T08:36:47]e000: Error 0x80070002: Failed to acquire payload from: 'http://tesseract-ocr.googlecode.com/files/tesseract-ocr-setup-3.02.02.exe' to working path: 'C:\Users\herve\AppData\Local\Temp\{7715fbb6-5bc5-442f-86a0-655fa082bd7d}\tesseract_ocr_setup_3.02.02.exe'