Skip to content

Commit

Permalink
use feed with signed wix package
Browse files Browse the repository at this point in the history
  • Loading branch information
tgauth committed May 8, 2024
1 parent 11a7448 commit 0bb6d7b
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tools/wix/Microsoft.PowerShell.Packaging.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<ItemGroup>
<!-- Keep version in sync with wix.psm1 line 18 -->
<PackageReference Include="WiX" Version="3.14.1" />
<PackageReference Include="Microsoft.Signed.Wix" Version="3.14.1-8722.20240403.1" />
</ItemGroup>

</Project>
10 changes: 10 additions & 0 deletions tools/wix/nuget.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<clear />
<add key="dotnet-eng" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-eng/nuget/v3/index.json" />
</packageSources>
<disabledPackageSources>
<clear />
</disabledPackageSources>
</configuration>
4 changes: 2 additions & 2 deletions tools/wix/wix.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ function Install-Wix
Remove-Item $targetRoot -Recurse -Force
}
$binPath = Join-Path -Path $targetRoot -ChildPath 'bin'
Register-PSRepository -Name NuGetGallery -SourceLocation https://api.nuget.org/v3/index.json
Register-PSRepository -Name NuGetGallery -SourceLocation "https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-eng/nuget/v3/index.json"
# keep version in sync with Microsoft.PowerShell.Packaging.csproj
Save-Module -name wix -RequiredVersion 3.14.1 -path "$binPath/"
Save-Module -name Microsoft.Signed.Wix -RequiredVersion 3.14.1-8722.20240403.1 -path "$binPath/"
$docExpandPath = Join-Path -Path $binPath -ChildPath 'doc'
$sdkExpandPath = Join-Path -Path $binPath -ChildPath 'sdk'
$docTargetPath = Join-Path -Path $targetRoot -ChildPath 'doc'
Expand Down

0 comments on commit 0bb6d7b

Please sign in to comment.