mirror of
https://github.com/prometheus-community/windows_exporter
synced 2025-01-14 02:52:36 +00:00
Fix WiX download url
This commit is contained in:
parent
745f0a6f61
commit
a41b9de37c
@ -45,7 +45,7 @@ mkdir -Force Work,Output | Out-Null
|
|||||||
Write-Verbose "Downloading files"
|
Write-Verbose "Downloading files"
|
||||||
# Somewhat obscure url, points to WiX 3.10 binary release
|
# Somewhat obscure url, points to WiX 3.10 binary release
|
||||||
Write-Verbose "Downloading WiX..."
|
Write-Verbose "Downloading WiX..."
|
||||||
Get-FileIfNotExists "http://download-codeplex.sec.s-msft.com/Download/Release?ProjectName=wix&DownloadId=1504735&FileTime=130906491728530000&Build=21040" "$sourceDir\wix-binaries.zip"
|
Get-FileIfNotExists "http://download-codeplex.sec.s-msft.com/Download/Release?ProjectName=wix&DownloadId=1587180&FileTime=131118854877130000&Build=21046" "$sourceDir\wix-binaries.zip"
|
||||||
mkdir -Force WiX | Out-Null
|
mkdir -Force WiX | Out-Null
|
||||||
Expand-Archive -Path "${sourceDir}\wix-binaries.zip" -DestinationPath WiX -Force
|
Expand-Archive -Path "${sourceDir}\wix-binaries.zip" -DestinationPath WiX -Force
|
||||||
|
|
||||||
@ -58,4 +58,4 @@ Invoke-Expression "WiX\candle.exe -nologo -arch $wixArch $wixOpts -out Work\wmi_
|
|||||||
Invoke-Expression "WiX\light.exe -nologo -spdb $wixOpts -out `"Output\wmi_exporter-${Version}-${Arch}.msi`" Work\wmi_exporter.wixobj"
|
Invoke-Expression "WiX\light.exe -nologo -spdb $wixOpts -out `"Output\wmi_exporter-${Version}-${Arch}.msi`" Work\wmi_exporter.wixobj"
|
||||||
|
|
||||||
Write-Verbose "Done!"
|
Write-Verbose "Done!"
|
||||||
Pop-Location
|
Pop-Location
|
||||||
|
Loading…
Reference in New Issue
Block a user