Skip to content

Commit

Permalink
create windows msi
Browse files Browse the repository at this point in the history
  • Loading branch information
dphulkar-msft committed Nov 4, 2024
1 parent d57b439 commit 49ed85a
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions setup/create_windows_msi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ steps:
# Step 1: Set Variables
$msiDir = "${{ parameters.msi_dir }}"
$workDir = "${{ parameters.working_dir }}"
$wixToolsPath = (where.exe candle.exe) # Path to WiX toolset binaries
$wixToolsPath = (where.exe candle.exe) -replace '\\candle.exe$', '' # Remove candle.exe from path
$wxsFilePath = "$workDir\azcopy.wxs"
$wixObjPath = "$msiDir\azcopy.wixobj"
$outputMsi = "${{ parameters.build_dir }}\azcopy.msi"
Write-Host "Work dir: $workDir $wixToolsPath"
Write-Host "Work dir: $workDir WiX Toolset Path: $wixToolsPath"
cd $msiDir
# Step 2: Update the fields in the .wxs file
Expand Down Expand Up @@ -87,6 +87,3 @@ steps:
& "$wixToolsPath\light.exe" -out $outputMsi $wixObjPath
Write-Host "MSI creation process completed!"

0 comments on commit 49ed85a

Please sign in to comment.