diff --git a/.vsts-ci/windows/windows-packaging.yml b/.vsts-ci/windows/windows-packaging.yml
index d0e3c101081..05f69400719 100644
--- a/.vsts-ci/windows/windows-packaging.yml
+++ b/.vsts-ci/windows/windows-packaging.yml
@@ -38,6 +38,7 @@ pr:
- test/packaging/windows/*
- tools/ci.psm1
- tools/packaging/*
+ - tools/wix/*
variables:
- name: GIT_CONFIG_PARAMETERS
diff --git a/tools/wix/Microsoft.PowerShell.Packaging.csproj b/tools/wix/Microsoft.PowerShell.Packaging.csproj
index bddbe6474de..3f59a225100 100644
--- a/tools/wix/Microsoft.PowerShell.Packaging.csproj
+++ b/tools/wix/Microsoft.PowerShell.Packaging.csproj
@@ -3,7 +3,7 @@
-
+
diff --git a/tools/wix/nuget.config b/tools/wix/nuget.config
new file mode 100644
index 00000000000..ce91b13c60b
--- /dev/null
+++ b/tools/wix/nuget.config
@@ -0,0 +1,10 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/tools/wix/wix.psm1 b/tools/wix/wix.psm1
index a6fcf922d3c..abc944aac99 100644
--- a/tools/wix/wix.psm1
+++ b/tools/wix/wix.psm1
@@ -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 'dotnet-eng' -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'