[wix-users] Installing SQL from a url

Nicolas Clement nicolas.clement at bbconsult.co.uk
Thu Dec 8 03:51:05 PST 2016


Never mind.

I'm using a custom bootstrapper and wasn't handling the ResolveSource event to use the download url if available.

I found my answer here:
http://stackoverflow.com/questions/27419798/custom-ui-wix-bootstrapper-download-and-install-net 

Regards,

Nicolas Clement

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Nicolas Clement
Sent: 08 December 2016 11:22
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: [wix-users] Installing SQL from a url

Hi,
Using wix 3.10.
I'm having problem getting my bundle to install SQL by downloading it. It looks like it's trying to get it from either the Desktop or the temp folder...

Code and log below:
<ExePackage Id="SQLServerExpressInstall"
                  Cache="no"
                  Compressed="no"
                  Permanent="yes"
                  PerMachine="yes"
                  Vital="yes"
                  DetectCondition="SqlInstanceFound"
                  DisplayName="Installing SQL Server Express 2014"
                  InstallCommand='[SqlInstallCommand]'
                  Name="SQLEXPR_x86_ENU.exe"
                  DownloadUrl="https://download.microsoft.com/download/2/A/5/2A5260C3-4143-47D8-9823-E91BB0121F94/SQLEXPR_x86_ENU.exe"
                  SourceFile="Installation\Prerequisites\SQLEXPR_x86_ENU.exe">
</ExePackage>


[0758:0C50][2016-12-08T11:03:38]w343: Prompt for source of package: SQLServerExpressInstall, payload: SQLServerExpressInstall, path: C:\Users\Admin\Desktop\SQLEXPR_x86_ENU.exe
[0758:0C50][2016-12-08T11:03:38]e054: Failed to resolve source for file: C:\Users\Admin\Desktop\SQLEXPR_x86_ENU.exe, error: 0x80070002.
[0758:0C50][2016-12-08T11:03:38]e000: Error 0x80070002: Failed while prompting for source (original path 'C:\Users\Admin\Desktop\SQLEXPR_x86_ENU.exe').
[0758:0C50][2016-12-08T11:03:38]e313: Failed to acquire payload: SQLServerExpressInstall to working path: C:\Users\Admin\AppData\Local\Temp\{AC54CA45-77E5-4141-8697-DCB8E6462E7A}\SQLServerExpressInstall, error: 0x80070002.
[0758:0A74][2016-12-08T11:03:38]e000: Error 0x80070002: Failed while caching, aborting execution.


Regards,

Nicolas Clement


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



More information about the wix-users mailing list