I web installer file has created with 2 files. One is .msi and another one is
.cab file. While installing the web installer i get the download failed. 

Here the log file.

Apply begin
[0D44:05C8][2013-07-17T00:43:54]i000: Caching bundle from:
'C:\Users\Kannan\AppData\Local\Temp\{c8c34ab9-aa08-48b8-bdbb-475d906be093}\.be\sample_11.1.0.1.exe'
to: 'C:\Users\Kannan\AppData\Local\Package
Cache\{c8c34ab9-aa08-48b8-bdbb-475d906be093}\sample_11.1.0.1.exe'
[0D44:05C8][2013-07-17T00:43:54]i320: Registering bundle dependency
provider: {c8c34ab9-aa08-48b8-bdbb-475d906be093}, version: 1.0.0.0
[0D44:13C0][2013-07-17T00:43:54]w343: Prompt for source of package: Common,
payload: Common, path: C:\Users\Kannan\Desktop\Common.cab
[0D44:13C0][2013-07-17T00:43:54]i338: Acquiring package: Common, payload:
Common, download from: http://server.com/Installs/downloads/Common.cab
[0D44:13C0][2013-07-17T00:43:54]e000: Error 0x80070002: Failed to send
request to URL: http://server.com/Installs/downloads/Common.cab, trying to
process HTTP status code anyway.
[0D44:13C0][2013-07-17T00:43:54]e000: Error 0x80070002: Unknown HTTP status
code 0, returned from URL: http://server.com/Installs/downloads/Common.cab
[0D44:13C0][2013-07-17T00:43:54]e000: Error 0x80070002: Failed to send
request to URL: http://server.com/Installs/downloads/Common.cab
[0D44:13C0][2013-07-17T00:43:54]e000: Error 0x80070002: Failed to connect to
URL: http://server.com/Installs/downloads/Common.cab
[0D44:13C0][2013-07-17T00:43:54]e000: Error 0x80070002: Failed to get size
and time for URL: http://server.com/Installs/downloads/Common.cab
[0D44:13C0][2013-07-17T00:43:54]e000: Error 0x80070002: Failed attempt to
download URL: 'http://server.com/Installs/downloads/Common.cab' to:
'C:\Users\Kannan\AppData\Local\Temp\{c8c34ab9-aa08-48b8-bdbb-475d906be093}\Common'
[0D44:13C0][2013-07-17T00:43:54]e000: Error 0x80070002: Failed to acquire
payload from: 'http://server.com/Installs/downloads/Common.cab' to working
path:
'C:\Users\Kannan\AppData\Local\Temp\{c8c34ab9-aa08-48b8-bdbb-475d906be093}\Common'
[0D44:13C0][2013-07-17T00:43:54]e313: Failed to acquire payload: Common1 to
working path:
C:\Users\Kannan\AppData\Local\Temp\{c8c34ab9-aa08-48b8-bdbb-475d906be093}\Common,
error: 0x80070002.
[0D44:05C8][2013-07-17T00:43:54]e000: Error 0x80070002: Failed while
caching, aborting execution.
[0D44:05C8][2013-07-17T00:43:54]i330: Removed bundle dependency provider:
{c8c34ab9-aa08-48b8-bdbb-475d906be093}
[0D44:05C8][2013-07-17T00:43:54]i352: Removing cached bundle:
{c8c34ab9-aa08-48b8-bdbb-475d906be093}, from path:
C:\Users\Kannan\AppData\Local\Package
Cache\{c8c34ab9-aa08-48b8-bdbb-475d906be093}\
[0D44:05C8][2013-07-17T00:43:54]i399: Apply complete, result: 0x80070002,
restart: None, ba requested restart:  No

*Note:* I modified the download link because of confidential details, but I
tried to download the file in  IE, Chrome and Firebox. The Common.Cab file
download in all the browser.

I used the below code for the installer.

<Chain>                 
      <PackageGroupRef Id="Common"/>
      <PackageGroupRef Id="SampleMsi"/>
    </Chain>
        </Bundle>
  <Fragment>
    <PackageGroup Id="SampleMsi">
      <MsiPackage Id="SampleMsi" Cache="no" Compressed="no" Permanent="yes"
Vital="yes" SourceFile="Filesr\Sample.msi"
DownloadUrl="http://Server.com/Installs/downloads/Sample.msi"; >
        <MsiProperty Name="PIDKEY" Value="[PIDKEY]"/>
        <MsiProperty Name="APPDIR" Value="[APPDIR]"/>
      </MsiPackage>
    </PackageGroup>
    <PackageGroup Id="Common">
      <ExePackage Id="Common" Cache="no" Compressed="no" Permanent="yes"
Vital="yes" SourceFile="Files\Common.cab"
DownloadUrl="http://Server.com/Installs/downloads/Common.cab"/>
    </PackageGroup> 

BA code:

private void ResolveSource(object sender, ResolveSourceEventArgs e)
        {
            lock (this)
            {
                if (!File.Exists(e.LocalSource) &&
!string.IsNullOrEmpty(e.DownloadSource))
                    e.Result = Result.Download;
            }
        }

Could you please help to resolve the download failure issue?

Thanks,
Kannan



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Web-installer-Bootstrapper-tp7585186p7587375.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to