[wix-users] Installing SQL from a url

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


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



More information about the wix-users mailing list