diff --git a/tools/msvs/msi/nodemsi/product.wxs b/tools/msvs/msi/nodemsi/product.wxs
index 991b8176554f0a..ff66ade6816aaa 100644
--- a/tools/msvs/msi/nodemsi/product.wxs
+++ b/tools/msvs/msi/nodemsi/product.wxs
@@ -88,8 +88,10 @@
Description="!(loc.npm_Description)">
+
+
@@ -224,6 +226,10 @@
+
+
+
+
@@ -232,6 +238,10 @@
+
+
+
+
diff --git a/vcbuild.bat b/vcbuild.bat
index e1607504dcb7ee..122e6b86ecc74f 100644
--- a/vcbuild.bat
+++ b/vcbuild.bat
@@ -406,6 +406,10 @@ if not defined nonpm (
if errorlevel 1 echo Cannot copy npx && goto package_error
copy /Y ..\deps\npm\bin\npx.cmd %TARGET_NAME%\ > nul
if errorlevel 1 echo Cannot copy npx.cmd && goto package_error
+ copy /Y ..\deps\npm\bin\npm.ps1 %TARGET_NAME%\ > nul
+ if errorlevel 1 echo Cannot copy npm.ps1 && goto package_error
+ copy /Y ..\deps\npm\bin\npx.ps1 %TARGET_NAME%\ > nul
+ if errorlevel 1 echo Cannot copy npx.ps1 && goto package_error
)
if not defined nocorepack (