[wix-users] FTP from burn.

Steve De George stevedegeorge at pivotalz.com
Tue Mar 14 08:25:55 PDT 2017


HI all.


Still looking into this and yes, the docs say that FTP is supported.This code was modified from a sample to download the .NET run times. It is being detected as not installed and starts the download but fails with the burn log saying:


[3634:0380][2017-03-14T08:15:05]i338: Acquiring package: Qb12SdkRedist, payload: Qb12SdkRedist, download from: ftp://username:password@ftp.nextgensoftware.com/QBFC12_0Installer.exe

[3634:0380][2017-03-14T08:15:05]e000: Error 0x80072ef2: Failed attempt to download URL: 'ftp://username:password<ftp://username:password@ftp.nextgensoftware.com/QBFC12_0Installer.exe>


Notice the last entry above:  Failed attempt to download URL: 'ftp://username:password<ftp://username:password@ftp.nextgensoftware.com/QBFC12_0Installer.exe>


Sooooo. I am thinking Maybe Burn the FTP does not support passwords?


Code below for reference.


<PackageGroup Id="Qb12SdkRedist">
         <ExePackage
             InstallCommand="/q /norestart /ChainingPackage "[WixBundleName]" /log "[QbSdkFullLog].html""
            RepairCommand="/q /norestart /repair /ChainingPackage "[WixBundleName]" /log "[QbSdkFullLog].html""
            UninstallCommand="/uninstall /q /norestart /ChainingPackage "[WixBundleName]" /log "[QbSdkFullLog].html""
             PerMachine="yes"
             DetectCondition="!(wix.QB_SdkDetectionCondition)"
             InstallCondition="!(wix.QB_SdkInstallCondition)"
             Id="Qb12SdkRedist"
             Vital="yes"
             Permanent="yes"
             Protocol="netfx4"
             DownloadUrl="ftp://username:password@ftp.nextgensoftware.com/QBFC12_0Installer.exe"
             LogPathVariable="QB_SDKFullLog"
             Compressed="no"
             Name="!(wix.QB_SdkRedistPackageDirectory)QBFC12_0Installer.exe">
            <RemotePayload
              Description="Quickbooks SDK V12 Setup"
              Hash="195012d74e5fb17dd01f5d3c00b83899cee9deb6"
              ProductName="Quickbooks SDK"
              Size="92017000"
              Version="12.0.0.29" />
         </ExePackage>
      </PackageGroup>




Steve De George - Pivotal Z / NextGen Software, Inc.
253-656-4061
www.pivotalz.com<http://www.pivotalz.com/>
www.nextgensoftware.com<http://www.nextgensoftware.com/>
________________________________
From: wix-users <wix-users-bounces at lists.wixtoolset.org> on behalf of Steve De George <stevedegeorge at pivotalz.com>
Sent: Monday, March 13, 2017 2:09:18 AM
To: WiX Toolset Users Mailing List
Subject: Re: [wix-users] FTP from burn.

[This sender failed our fraud detection checks and may not be who they appear to be. Learn about spoofing at http://aka.ms/LearnAboutSpoofing]

Thanks all. That got me pointed in the right direction.


Steve De George - Pivotal Z / NextGen Software, Inc.
253-656-4061
www.pivotalz.com<http://www.pivotalz.com/>
www.nextgensoftware.com<http://www.nextgensoftware.com/<http://www.nextgensoftware.com<http://www.nextgensoftware.com/>>
________________________________
From: wix-users <wix-users-bounces at lists.wixtoolset.org> on behalf of Hoover, Jacob <Jacob.Hoover at greenheck.com>
Sent: Thursday, March 09, 2017 8:53:39 AM
To: WiX Toolset Users Mailing List
Subject: Re: [wix-users] FTP from burn.

Fairly certain that ExePackage would support a FTP DownloadUrl, so no custom code should be required as long as the exe is truly an installer.

You'll either need locally available versions of the exe (and specify via SourceFile), or you need to add RemotePayload element(s) to describe the ftp downloaded content.

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Phill Hogland
Sent: Thursday, March 09, 2017 9:55 AM
To: wix-users at lists.wixtoolset.org
Subject: Re: [wix-users] FTP from burn.

A comment to the following link from Bob indicates that FTP is supported in Burn by default:

http://stackoverflow.com/questions/17785382/wix-bootstrapper-downloadurl-can-it-be-a-local-network-path


I vaguely recall discussing this issue several years ago when I first implemented CDN staged packages.  I FTP the packages up to the CDN server, and then Burn handles the download automatically, although I think it is using http, based on the ExePackage/@DownloadUrl, or MsiPackage authoring.


Custom Actions only exist in the context of a MSI which is probably not related to your question.  If you need some other format than what is currently supported by Burn, then I think you are looking at working with the wix-devs to add the functionality to the WixToolset.org source.  But I suspect that Burn already has sufficient support for your needs.




________________________________
From: wix-users <wix-users-bounces at lists.wixtoolset.org> on behalf of Steve De George <stevedegeorge at pivotalz.com>
Sent: Thursday, March 9, 2017 8:26:19 AM
To: wix-users at lists.wixtoolset.org
Subject: [wix-users] FTP from burn.


Hi all.


What is the best way to FTP a file and run it from Burn.

I have some code i found that grabs the .NET framework and downloads it (using ExePackage) and runs. It does not seem to support the FTP protocol.


Is this where you write a helper DLL and use a custom action?

Or? Thoughts.


Thanks!

Steve De George - Pivotal Z / NextGen Software, Inc.
253-656-4061
www.pivotalz.com<http://www.pivotalz.com/>
www.nextgensoftware.com<http://www.nextgensoftware.com/<http://www.nextgensoftware.com<http://www.nextgensoftware.com/<http://www.nextgensoftware.com<http://www.nextgensoftware.com/<http://www.nextgensoftware.com<http://www.nextgensoftware.com/<http://www.nextgensoftware.com<http://www.nextgensoftware.com/<http://www.nextgensoftware.com<http://www.nextgensoftware.com/<http://www.nextgensoftware.com<http://www.nextgensoftware.com/<http://www.nextgensoftware.com<http://www.nextgensoftware.com/>>>>

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/

____________________________________________________________________
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